What happened?
Setup:
Flutter app with Firebase configured (FCM works)
OneSignal Flutter SDK added
Using FCM HTTP v1 (Service Account JSON)
Android 13 (real device)
What I did:
Initialized OneSignal:
OneSignal.initialize("APP_ID");
OneSignal.Notifications.requestPermission(true);
Added google-services.json
Configured Gradle + permissions
Expected:
Device should appear in OneSignal Audience and receive notifications
Actual:
Device not appearing
No notifications received
Logs:
status":"FIREBASE_FCM_INIT_ERROR"
Notes:
Notifications permission is enabled
Firebase works independently
Tried clean build and reinstall
Any help would be appreciated 🙏
Steps to reproduce?
Create a new Flutter project
Configure Firebase using flutterfire configure
Ensure FCM works (token is generated)
Create a OneSignal app
Connect Firebase (FCM HTTP v1 with Service Account JSON)
Add onesignal_flutter package
Initialize OneSignal in main.dart
Run the app on an Android device and allow notification permission
Result:
OneSignal fails with FIREBASE_FCM_INIT_ERROR, device is not registered, and does not appear in Audience
What did you expect to happen?
OneSignal should successfully initialize Firebase Cloud Messaging (FCM), register the device, and the device should appear in the OneSignal Audience as Subscribed, allowing push notifications to be received.
OneSignal Flutter SDK version
onesignal_flutter: ^5.5.1
Which platform(s) are affected?
Relevant log output
Code of Conduct
What happened?
Setup:
Flutter app with Firebase configured (FCM works)
OneSignal Flutter SDK added
Using FCM HTTP v1 (Service Account JSON)
Android 13 (real device)
What I did:
Initialized OneSignal:
OneSignal.initialize("APP_ID");
OneSignal.Notifications.requestPermission(true);
Added google-services.json
Configured Gradle + permissions
Expected:
Device should appear in OneSignal Audience and receive notifications
Actual:
Device not appearing
No notifications received
Logs:
status":"FIREBASE_FCM_INIT_ERROR"
Notes:
Notifications permission is enabled
Firebase works independently
Tried clean build and reinstall
Any help would be appreciated 🙏
Steps to reproduce?
What did you expect to happen?
OneSignal should successfully initialize Firebase Cloud Messaging (FCM), register the device, and the device should appear in the OneSignal Audience as Subscribed, allowing push notifications to be received.
OneSignal Flutter SDK version
onesignal_flutter: ^5.5.1
Which platform(s) are affected?
Relevant log output
Code of Conduct