Skip to content

Commit

Permalink
fixed config in androidManifest for PN (#5218)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bannon Tanner authored Mar 15, 2023
1 parent 5fefabf commit f201d09
Showing 1 changed file with 7 additions and 24 deletions.
31 changes: 7 additions & 24 deletions src/fragments/lib/push-notifications/js/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,30 +97,13 @@ Setup instructions are provided for Android and iOS, and configuration for both
<application ... >

<!--[START Push notification config -->
<!-- [START firebase_service] -->
<service
android:name="com.amazonaws.amplify.pushnotification.RNPushNotificationMessagingService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
</service>
<!-- [END firebase_service] -->
<!-- [START firebase_iid_service] -->
<service
android:name="com.amazonaws.amplify.pushnotification.RNPushNotificationDeviceIDService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
</intent-filter>
</service>
<receiver
android:name="com.amazonaws.amplify.pushnotification.modules.RNPushNotificationBroadcastReceiver"
android:exported="false" >
<intent-filter>
<action android:name="com.amazonaws.amplify.pushnotification.NOTIFICATION_OPENED"/>
</intent-filter>
</receiver>
<service
android:name="com.amazonaws.amplify.pushnotification.RNPushNotificationMessagingService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
</service>
<!-- [END Push notification config -->

</application>
Expand Down

0 comments on commit f201d09

Please sign in to comment.