Set up Custom a Firebase Cloud Messaging client app on Android

Minimum SDK version to use this feature

  implementation 'com.ikame.android-sdk:ikm-sdk-debug:2.6.401-debug'
  

If you are creating a class that handles notify FCM, then in this new SDK version you need to change the way to handle notify FCM through the SDK system. You need to do the following steps

Create an extend class from the base of the SDK BaseIkFirebaseMessagingService

Setup in AndroidManifest

  <manifest xmlns:android="http://schemas.android.com/apk/res/android">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
    <application>
       ...

        <service
            android:name=".CustomFCMHandler"
            android:exported="false">
            <intent-filter>
                <action android:name="com.google.firebase.MESSAGING_EVENT" />
            </intent-filter>
        </service>

    </application>

</manifest>