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

[question]: The Google stopped the service of Cloud messaging legacy. because of that I'm not able to send push notification to app #974

Open
1 task done
Rushikesh-Sonake opened this issue Nov 18, 2024 · 1 comment

Comments

@Rushikesh-Sonake
Copy link

Rushikesh-Sonake commented Nov 18, 2024

How can we help?

I used the latest version of onesignal `OneSignal.Debug.setLogLevel(OSLogLevel.verbose);

OneSignal.initialize('');
OneSignal.Notifications.requestPermission(false);

runApp(const MyApp());` this is my code. I send multiple messages from onesignal but I didn't get any notification

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jennantilla
Copy link
Contributor

Hello there,

You need to generate the Service Account JSON file from the same Firebase project as the current Sender ID found in the Cloud Messaging API (Legacy) > Sender ID

Details here as well. https://documentation.onesignal.com/docs/generate-firebase-credentials

Le4t us know if you have any additional questions or concerns!

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