Description
I am using OneSignal for push notifications in my Android application.
I am not calling FirebaseMessaging.getToken() anywhere in my code.
I rely only on OneSignal to fetch and manage the FCM token.
However, I still keep getting this error:
java.io.IOException: TOO_MANY_REGISTRATIONS
This error appears repeatedly in the logs during app startup, even after ensuring:
OneSignal is initialized only in the Application class
I am not initializing OneSignal in any Activity or Fragment
No background service is initializing OneSignal
No multiple processes in AndroidManifest.xml
I am not using FirebaseMessaging.getToken() manually
But the error continues to appear.
Additionally:
I checked the device in the OneSignal User Dashboard — it shows “Status: Never Subscribed”. ✅ This is the major problem.