Calling a alertController popup before runtime permissions

Hey guys,

I’m trying to call a popup alert for people to confirm Okay/Cancel before the app calls runtime permissions for location etc.

My app currently has a geolocation request in app.components.ts and I’m wondering if that’s the cause for the permissions showing over my popup alert. I’m trying to understand when app.components.ts gets called?

Many thanks
Barry

I think the browser popup cannot be altered. What you can do is ask the user if he/she wants to provide geo access. And if so, then trigger the browser alert, by request geo location etc.

I’m popping up the alert the first thing when the app loads as part of the play store “Prominent disclosure”, essentially I need to tell the user why we are calling location; but the app is calling for location before the user gets to read the reason we post.