-
Notifications
You must be signed in to change notification settings - Fork 17
Why cannot I receive push messages 5.x?
For 6.x
version - Why cannot I receive push messages?
Firebase sender id is a string identifier which is used by the SDK in order to obtain token information from the cloud. It should be from the same Firebase project as the server key configured at Infobip Portal. Usually you will specify sender id in string.xml
file of your application together with application code:
<resources>
<string name="google_app_id">YOUR FIREBASE SENDER ID</string>
<string name="infobip_application_code">YOUR APPLICATION CODE</string>
...
</resources>
Sometimes you might already have Firebase configured for your project. Usually SDK manages such configurations automatically. If your device does not register on the platform, you cannot receive messages or you have conflicts in resources while building your application due to google_app_id
identifier, then you can try to specify sender id via the builder of MobileMessaging
API when initializing the library:
MobileMessaging.Builder()
.withSenderId("YOUR FIREBASE SENDER ID")
.build()
expand to see Java code
new MobileMessaging.Builder()
.withSenderId("YOUR FIREBASE SENDER ID")
.build()
If you have any questions or suggestions, feel free to send an email to [email protected] or create an issue.
- Library events
- Server errors
- Users and installations
- Messages and notifications management
- Inbox
Geofencing API- DEPRECATED- Android Manifest components
- Privacy settings
- In-app chat
- Infobip RTC calls and UI
- Backup rules