From 7a304edccfe7fe50ca7be2ffc3a41c74c972d8b5 Mon Sep 17 00:00:00 2001 From: Felix Hallenberg Date: Thu, 7 Sep 2023 13:55:09 +0300 Subject: [PATCH] Add pendingImplementation to app/build.gradle - set android:exported false for intent-filter notification --- android/app/build.gradle | 5 +++++ android/app/src/main/AndroidManifest.xml | 15 +++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/android/app/build.gradle b/android/app/build.gradle index 495a9503..151d2ce3 100755 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -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}") diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 29177e2a..f4b38db7 100755 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -15,6 +15,21 @@ android:theme="@style/AppTheme" android:networkSecurityConfig="@xml/network_security_config"> + + + + + + + + + + + + + + +