-
Notifications
You must be signed in to change notification settings - Fork 902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get token on iphone #8689
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @bangluong, Could you clarify if the problem you're encountering is that:
I believe that WebPushTest tests only for a subset of features that Firebase Messaging requires. Beyond push notifications, Firebase Messaging also requires cookie and IndexedDB support. If either of these features are denied by the user, or if they're disabled due to private browsing or executing within Safari iFrames, then the Firebase Messaging client will not be able to run. Messaging also requires the browser window to have a Could you tell us more about your browser and its current privacy configuration? Are you running in an iFrame in Safari? Do any of the linked checks stand out as something that might not be available in your environment? |
@DellaBitta isSupported() return false |
Hi @bangluong,
I suspect that either IndexedDB is disabled, or that cookies are disabled ( |
Hey @bangluong. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Operating System
IOS lastest
Environment (if applicable)
N/A
Firebase SDK Version
10.14
Firebase SDK Product(s)
Messaging
Project Tooling
react app and webpack
Detailed Problem Description
after iphone ask permission to push notification, I got error browser not supported.
but I use https://webpushtest.com/,it displays the message normally
Steps and code to reproduce issue
here is my code:
The text was updated successfully, but these errors were encountered: