@pvtallulah, thank bro… I tried that first but it definitely will fire straight after the event is fired. I sort of want to make sure the permission is given and location enabled before showing anything in the app.
In core, i would use app.init() later after doing my stuff.
I have an external variable that I import and give the app instance… I am supposed to give it the Vue instance, save it to some local variable, do stuff, and when I am done with everything, I call that local variable (it now has the instance), and it kickstarts the app.
@nolimits4web, I am trying to enforce users to allow us to use the highest accuracy location using this plugin, as the app needs to access device location to actually go about its core business.
If users deny this, then the app won’t really have a meaning, because we can’t really help them. we need to watch their location whenever they are using the app so we help them based on their location.
Then you init the app still. If no location permission granted you show some default page saying location need to be enabled and show permission request dialog. Then, if permission granted, you page/view to what you need