Default value given for attributes couldnt be shown in dataview for Native mobile app

I have an attribute 'date’ in my domain model entity and has given default value of that as currentdate. Now, when I call that attribute in dataview and give editability as never, it's not showing the given default value in native mobile app. Same for the case for other attributes as well. The default value given in the entity couldn't be shown in the field. What can be the solution for this?
1 answers

Are you creating the object in your native app? Objects created on a device do not get a default value, only on the server. You will need to specifically set the value when you create the object.