Cordova-plugin-firebase: Trigger an ionic alert before this ios permissions

Created on 15 May 2019  路  2Comments  路  Source: arnesson/cordova-plugin-firebase

I would like to inform the users what the notifications are for before the system permission popup, is it possible ?

Right now the system alert is always trigger before my alert. The IOS notification permission is triggered directly when I enter the page and not after my alert.

I tried with and without the hasPermission method but result is the same. any Idea ?

Thanks !
Capture d鈥檈虂cran 2019-05-15 a虁 17 58 11
Capture d鈥檈虂cran 2019-05-15 a虁 18 00 52

Most helpful comment

Hi @camdjn,

I'm having the same issue, the plugin is triggering the permission request event if I don't call the code at all.
Have you find any possible solution?

All 2 comments

Hi @camdjn,

I'm having the same issue, the plugin is triggering the permission request event if I don't call the code at all.
Have you find any possible solution?

I am having the same issue. It triggers the permission dialog automatically after loading the page without calling it. I want to call it on after a certain condition. It was working properly. After IOS 12.2 update it started this behaviour.

Was this page helpful?
0 / 5 - 0 ratings