NativeScript / NativeScript/firebase
Request permission Android doesn't resolve promise
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 62
- Forks
- 53
- Avg merge
- 8d 4h
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Reproduce the permission denial on Android SDK 35 with @nativescript/firebase-core and @nativescript/firebase-messaging 3.3.2, then trace the permission request entry point and remote-message registration state. Done means denial resolves with an auth status and the documented registration variable reports the expected state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, firebase, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100