I have a cordova application which needs permissions for Notifications and Location. When I start the app the first time, it should show the corresponding popups for the user to confirm.
But, these popups do not show up. When I swipe down the notification area, they suddenly pop up. It looks like I have to give the 'focus' back to the OS somehow for them to show.
After that, I can confirm the permissions and everything works as expected.
As this isn't customer friendly, I'd really appreciate any help I can get.
PS: I don't think it matters, but these are the plugins I use:
And I call the permission requests in the 'deviceready' event handler.