Skip to content

Instantly share code, notes, and snippets.

View monotv's full-sized avatar
⚛️
React Native & React developer

Florian monotv

⚛️
React Native & React developer
View GitHub Profile
@monotv
monotv / react-native-notifications+3.1.2.patch
Created March 24, 2020 22:39
Patch to get foreground notifications on Android working
diff --git a/node_modules/react-native-notifications/lib/android/app/src/main/AndroidManifest.xml b/node_modules/react-native-notifications/lib/android/app/src/main/AndroidManifest.xml
index 7053040..a8bc654 100644
--- a/node_modules/react-native-notifications/lib/android/app/src/main/AndroidManifest.xml
+++ b/node_modules/react-native-notifications/lib/android/app/src/main/AndroidManifest.xml
@@ -11,25 +11,11 @@
android:protectionLevel="signature" />
<uses-permission android:name="${applicationId}.permission.C2D_MESSAGE" />
<uses-permission android:name="android.permission.VIBRATE" />
-
- <application>