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
isSupported returns false positive #8129
Comments
Hi @ptahchiev, thanks for bringing this to our attention. I tried replicating, but I wasn't able to reproduce the error. If I can replicate the issue, I can have a better look into it. Please share a minimal, but complete sample of a project that I can run locally. |
Just checking to ensure that your code is correct. Are you invoking Thanks! |
Here's a reproducible site: |
Thanks for the minimal repro, @ptahchiev. I was able to replicate the behavior. Let me check what we can do for this issue or bring someone here that can provide more context about it. I’ll update this thread if I have any information to share. |
I'm not able to get an iOS emulator running at the moment to repro this, but I think the problem is that Can I ask what documentation guide or tutorial you used for adding |
Just dropping in to say I have same issue. I am using await isSupported(). And get same exact experience as OP. My only difference is I am using 10.11.0. |
Can you provide a repro like the original poster did? |
Hey @ptahchiev. 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! |
Is your manifest configured correctly with |
Hey @ptahchiev. 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 v 17.3
Browser Version
Safari
Firebase SDK Version
10.10.0
Firebase SDK Product:
Messaging
Describe your project's tooling
React app with webpack
Describe the problem
I'm trying to develop push notifications with FCM. Here's part of the code:
As you can see I'm using
isSupported
. However in the log I can see thatis supported
is printed and then an error is thrown:This browser does not support the APIs required to use the Firebase SDK
.If I comment the snippet then no error is thrown and nothing is logged in the console.
Steps and code to reproduce issue
Just call
isSupported
on iOS and you will see it returnstrue
The text was updated successfully, but these errors were encountered: