i have created an application where i am storing current lat long through position source element, i want to know does this element work and save my coordinate even when the application is closed whole time until some condition meet.
It sounds like you are describing "Background Location" functionality, is it correct? https://doc.arcgis.com/en/appstudio/extend-apps/capabilities.htm (see Background Location section.)
i am trying to get state of application in qml
but how to make gps work on 2 states active and hidden. when it is active it return 4 and when i close the app with middle button. it return 0, and i have to make gps working in both state.
How to do it.
Thanks in advance
i have enabled the location in capabilities in background modes.