Closed
Description
Hi! 👋
Firstly, thanks for your work on this project! 🙂
issue descriptions
since this statement
Line 79 in 904a99f
would cause a crash issue in Android like this: couldn't find DSO to load: libhermes.so
potential solution
would you consider fixing it, as the react-native official recommendation here:
https://github.com/facebook/react-native/blob/7ea7d946c643f076c29bcf11b927f7569e3c516f/react.gradle#L18
my trial solutions(still under testing)
Today I used patch-package to patch @react-native-community/push-notification-ios@1.8.0
for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/@react-native-community/push-notification-ios/android/app/build.gradle b/node_modules/@react-native-community/push-notification-ios/android/app/build.gradle
index b857787..89613b1 100644
--- a/node_modules/@react-native-community/push-notification-ios/android/app/build.gradle
+++ b/node_modules/@react-native-community/push-notification-ios/android/app/build.gradle
@@ -1,4 +1,5 @@
apply plugin: "com.android.application"
+apply plugin: "com.facebook.react"
import com.android.build.OutputFile
@@ -76,7 +77,7 @@ project.ext.react = [
entryFile: "index.js"
]
-apply from: "../../node_modules/react-native/react.gradle"
+// apply from: "../../node_modules/react-native/react.gradle"
/**
* Set this to true to create two separate APKs instead of one:
This issue body was partially generated by patch-package.
if any misunderstanding please let me know, thank you so much.
Metadata
Metadata
Assignees
Labels
No labels