NativeScript / firebase

Modular Firebase 🔥 implementation for NativeScript. Supports both iOS & Android platforms for all Firebase services.
https://docs.nativescript.org/plugins/firebase-core.html
Apache License 2.0
56 stars 50 forks source link

Request permission Android doesn't resolve promise #272

Open sivo1981 opened 2 weeks ago

sivo1981 commented 2 weeks ago

When requesting for permission on Adnroid SDK 35 and i choose Don't allow, the function doesn't resolve function with auth status, it just prints 1 to console. This works fine if i sellect Allow from popup.

"@nativescript/firebase-core": "^3.3.2",
"@nativescript/firebase-messaging": "^3.3.2"

Aditionally if i'dont request permission for Android as per docs the variable isDeviceRegisteredForRemoteMessages is always false.