@react-native-firebase/messaging
Version:
React Native Firebase - React Native Firebase provides native integration of Firebase Cloud Messaging (FCM) for both Android & iOS. FCM is a cost free service, allowing for server-device and device-device communication. The React Native Firebase Messaging
44 lines (40 loc) • 1.82 kB
text/xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.invertase.firebase.messaging">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application>
<service android:name=".ReactNativeFirebaseMessagingHeadlessService"
android:exported="false" />
<service android:name=".ReactNativeFirebaseMessagingService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
</service>
<receiver
android:name=".ReactNativeFirebaseMessagingReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</receiver>
<meta-data
android:name= "delivery_metrics_exported_to_big_query_enabled"
android:value="${firebaseJsonDeliveryMetricsExportEnabled}"/>
<meta-data
android:name="firebase_messaging_auto_init_enabled"
android:value="${firebaseJsonAutoInitEnabled}"/>
<meta-data
android:name="firebase_messaging_notification_delegation_enabled"
android:value="${firebaseJsonNotificationDelegationEnabled}"/>
<meta-data
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="${firebaseJsonNotificationChannelId}" />
<meta-data
android:name="com.google.firebase.messaging.default_notification_color"
android:resource="${firebaseJsonNotificationColor}" />
</application>
</manifest>