I did not try it, but maybe this widget works?
https://marketplace.mendix.com/link/component/107943
I do hope Mendix provides a platform supported solution for this soon!
I’ve been able to use the ‘get the current location’ of the device by using the js action from the nanoflow commons:
I also tested the take a picture functionality from the native mobile resources module but this didn’t work so I’m only able to help your partly ;)
Good luck !
I created an idea for this: https://forum.mendix.com/link/ideas/2362
Upvotes are welcome!