Looking to the migration guide for the amplift v5 (React Native), it's possible to see a suggestion to remove the following code block from the AndroidManifest.xml file:
- <service
- android:name="com.amazonaws.amplify.pushnotification.RNPushNotificationMessagingService"
- android:exported="false">
- <intent-filter>
- <action android:name="com.google.firebase.MESSAGING_EVENT"/>
- </intent-filter>
- </service>
Although, I have more code in this same file that is related to the com.amazonaws.amplify.pushnotification package, which are:
- 1 <service> tag containing the
android-nameequal tocom.amazonaws.amplify.pushnotification.RNPushNotificationDeviceIDService; - 1 <receiver> tag containing the
android-nameequal tocom.amazonaws.amplify.pushnotification.modules.RNPushNotificationBroadcastReceiver.
Should I remove all these mentioned tags related to the com.amazonaws.amplify.pushnotification or only the specific tag mentioned on the docs?