Hello,
I did this for a different technology (not Mendix) using a Cordova Plugin.
I believe you can do a similar approach in Mendix as it also uses Cordova plugins.
See this documentation/code: https://github.com/darryncampbell/DataWedgeCordova.
You have to incorporate this code in Mendix. He has demos, which you can see and use.
Hi all, We have built a standard component to solve this topic for our customers with Mendix Native Mobile! Are you interested to set-up a call about this?