Skip to content

Commit

Permalink
Add pendingImplementation to app/build.gradle
Browse files Browse the repository at this point in the history
- set android:exported false for intent-filter notification
  • Loading branch information
rottabonus committed Sep 7, 2023
1 parent b56d91f commit 7a304ed
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,11 @@ dependencies {
// The version of react-native is set by the React Native Gradle Plugin
implementation("com.facebook.react:react-android")

// For push notifications for Android 12 >
implementation 'androidx.work:work-runtime:2.7.0'
implementation 'androidx.work:work-runtime-ktx:2.7.1'


implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0")

debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}")
Expand Down
15 changes: 15 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,21 @@
android:theme="@style/AppTheme"
android:networkSecurityConfig="@xml/network_security_config">

<service android:name="io.invertase.firebase.messaging.RNFirebaseMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>

<service android:name="io.invertase.firebase.messaging.RNFirebaseMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>

<service android:name="io.invertase.firebase.messaging.RNFirebaseBackgroundMessagingService" />
<service android:name="io.invertase.firebase.messaging.RNFirebaseBackgroundMessagingService" />


<activity
android:name=".MainActivity"
Expand Down

0 comments on commit 7a304ed

Please sign in to comment.