GPS with Android 12

Added two AskForPermission doesn't work but, the aia code @d_Taraoa posted works. So I attached some steps from this code to mine then GPS went to be as normal.

  1. AskForPermission moved to Clock from Screen1.initialize
  2. Add LocationSensor1.ProviderLocked to true, LocationSensor1.ProviderName to gps in the Screen1.PermissionGranted block.

Thanks for guiding me.

2 Likes