capacitor-community / background-geolocation

A Capacitor plugin that sends you geolocation updates, even while the app is in the background.
MIT License
188 stars 57 forks source link

iOS app not showing up in Settings #66

Closed jeandemoroque closed 2 years ago

jeandemoroque commented 2 years ago

Describe the bug I installed the plugin in my Ionic app (Vue3). I have a button that allows me to launch this plugin. When I click on it, I have the popup that appears asking me for permission to access the GPS coordinates. 1) If I accept the authorization, I receive the coordinates. But if I go to phone settings, I don't see my app. It is therefore impossible for the user to deactivate the authorization. 2) If I deny permission and click the button again, I call the "openSettings" function. I have the settings page that opens, but the application is not found. It is therefore impossible for the user to authorize access after having denied it.

To Reproduce Steps to reproduce the behavior:

  1. Install plugin in Ionic project (Vue3)
  2. Compile iOS project
  3. Open app and run plugin to display permissions alert
  4. Deny the permissions
  5. Run openSettings plugin function
  6. Settings page is opening but the App is not found

Smartphone:

diachedelic commented 2 years ago

Could you please try running it on a real device? The simulator is not always faithful to the real thing.