Replies: 1 comment
-
It turns out that the problem was me not using Chrome browser. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So in past I used FCM successfully with flutter (it was 8.10.0)
Recently I tried it again using 9.23 with
*-compat
version and unfortunately I have issues in web.For some reason
getToken
promise never resolves.isSupported
returns true so I'm sure it is not browser issue, but it is not clear what else could be wrong as the only difference I can see is that my past prototype hadmeasurementId
in firebase config, but otherwise it works just fine.So my only conclusion is that there is some requirement I'm missing.
Anyone has any idea what could messaging require aside from special API key for web push notifications?
It seems to hang after attempting to subscribe to pushes
https://github.com/firebase/firebase-js-sdk/blob/114bc6eedc9c28d155660cd6b6ff532ae98e6d9c/packages/messaging/src/internals/token-manager.ts#L164C10-L164C10
Beta Was this translation helpful? Give feedback.
All reactions