Select to view content in your preferred language

Ask user to activate gps on app launching

469
1
Jump to solution
08-28-2020 05:26 AM
rsharma
Frequent Contributor

I get the popup,"this application wants to access your device location". but after that how to check if gps is active on mobile for position source. and redirect to gps property of mobile before launching application

0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor
0 Kudos
1 Reply
LucasDanzinger
Esri Frequent Contributor

Have you tried using the PositionSource::active property? https://doc.qt.io/qt-5/qml-qtpositioning-positionsource.html#active-prop

0 Kudos