I have recently developed a social media application that utilizes geoLocation services. The app is built with Ionic 4 and has a Firebase backend. While the GeoLocation services are functioning properly on Android devices, users of iOS are not being prompted for geoLocation access.
I have searched extensively but have been unable to find an example of how to prompt users for GeoLocation service permission upon Platform readiness.
If anyone has any examples or guidance on how to check for location services permissions and then prompt users for permission, it would be highly appreciated.
Additionally, I believe this code snippet should be added to the app.component.ts file.