How to integrate the Infobip Mobile Messaging SDK with another push notifications provider - infobip/mobile-messaging-react-native-plugin GitHub Wiki

If you plan to integrate your mobile application with multiple push notification providers, or maybe you use FCM/APNS to process push from a native backend and don't want to migrate the entire codebase to use with Infobip (for example there's still some use cases where you want to send notifications directly to Firebase/APNS), then you will need to follow this guide.

Android

For Android, you will need to implement a custom FirebaseMessagingService on the native side of your application. For detailed guidance, please refer to the Infobip Android SDK documentation.

To be able to reference Infobip Mobile Messaging SDK and FCM methods in your service, in your Android project's app/build.gradle, add the following to the dependencies section:

dependencies {
...
    implementation ('com.infobip:infobip-mobile-messaging-android-sdk:sdkVersion@aar') {
        transitive = true
    }
...
}

Push Notification Permission Handling

Infobip Mobile Messaging SDK won't automatically ask for push notification permission on Android 13 and above. If you want to use Infobip Mobile Messaging SDK to ask for push notification permission, you can check this guide.