Skip to content
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

fireMessaging.tokenChanges emit wrong(not equeal) fcm token after fireMessaging.requestToken #3531

Open
Okz1 opened this issue May 16, 2024 · 1 comment

Comments

@Okz1
Copy link

Okz1 commented May 16, 2024

Version info

**Angular:17.3.3

**Firebase:-

**AngularFire:17.1.0

**Other (e.g. Ionic/Cordova, Node, browser, operating system):browser

How to reproduce these conditions

  1. Create subscription on fireMessaging.tokenChanges, can be several
  2. Run fireMessaging.requestToken
  3. Compare fcm token from tokenChanges & requestToken

Currently, we have different results, also each new subscription generates a new fcm token + additional HTTP requests

Expected behavior

Same fcm tokens + only required numbers of HTTP requests

Actual behavior

Different fcm tokens

@google-oss-bot
Copy link

This issue does not seem to follow the issue template. Make sure you provide all the required information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants