Go to https://onesignal.com/arrow-up-right
Click on New App/Website [ IMAGE 1 ]
Enter your App Name and select Google Android (FCM) Platform [ IMAGE 2 ]
Enter your Firebase Server Key and Firebase Sender ID [ IMAGE 3 ] from Firebase Console [ IMAGE 4 ]
At Last add your onesignal key in the app code
Go to->lib -> common -> apipath.dart
// For notifications static const String onSignalAppId = " ENTER YOUR ONESIGNAL ID";
Last updated 3 years ago