firebase / firebase-js-sdk

Firebase Javascript SDK
https://firebase.google.com/docs/web/setup
Other
4.8k stars 884 forks source link

Firebase Server Key discontinuedTitle for the bug #7986

Closed parthsharma132002 closed 6 months ago

parthsharma132002 commented 6 months ago

Operating System

IOS 16.4

Browser Version

chrome

Firebase SDK Version

9.16.0

Firebase SDK Product:

Analytics

Describe your project's tooling

How we can manage without server key while calling firebase apis

Describe the problem

How we can manage without server key while calling firebase apis

Steps and code to reproduce issue

How we can manage without server key while calling firebase apis

google-oss-bot commented 6 months ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

hsubox76 commented 6 months ago

I'm not sure what you mean by "server key", can you specify? It seems like Cloud Messaging has a server key used in a version of Cloud Messaging that is to be deprecated in June, is that what you are talking about? In the console where it says it is to be deprecated, there is a migration guide linked

Screenshot 2024-01-31 at 10 41 23 AM

The Learn More link goes here: https://firebase.google.com/docs/cloud-messaging/migrate-v1?hl=en&authuser=0

I think it only applies if you are calling the FCM service directly to send messages. If you're using the JS SDK I don't think you have to do anything, as I don't think the JS SDK sends messages, it just receives them.

Messages are either sent directly as the page describes, through the Console, or using the Admin SDK, which should already be updating to accommodate these changes. Let me know if I've misunderstood anything.

google-oss-bot commented 6 months ago

Hey @parthsharma132002. 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!

google-oss-bot commented 6 months ago

Since there haven't been any recent updates here, I am going to close this issue.

@parthsharma132002 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.