Skip to content

Commit

Permalink
android: request all permissions for position
Browse files Browse the repository at this point in the history
  • Loading branch information
janbar committed Aug 14, 2024
1 parent 4fc9602 commit b150d23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/osmin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ int startGUI(int argc, char* argv[])
// request permissions for fine location
{
QStringList androidPermissions;
androidPermissions.append("android.permission.ACCESS_COARSE_LOCATION");
androidPermissions.append("android.permission.ACCESS_FINE_LOCATION");
QtAndroid::requestPermissionsSync(androidPermissions);
}
Expand Down

0 comments on commit b150d23

Please sign in to comment.