Here's the following code that should be added in Android 14 in order to make the library comply with the required permissions.
Inside the AndroidManifest.xml file add the following:
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_REMOTE_MESSAGING" />
as well as the following:
<service android:name="com.salesforce.android.chat.core.internal.service.ChatService" android:foregroundServiceType="remoteMessaging"> </service>
Here's the following code that should be added in Android 14 in order to make the library comply with the required permissions.
Inside the
AndroidManifest.xml
file add the following:<uses-permission android:name="android.permission.FOREGROUND_SERVICE_REMOTE_MESSAGING" />
as well as the following:<service android:name="com.salesforce.android.chat.core.internal.service.ChatService" android:foregroundServiceType="remoteMessaging"> </service>