react-native-check-app-install icon indicating copy to clipboard operation
react-native-check-app-install copied to clipboard

Needed to update build.gradle to work with React Native 0.68

Open jtklein opened this issue 3 years ago • 4 comments

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

In order to keep using this package with React Native >= 0.68.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-check-app-install/android/build.gradle b/node_modules/react-native-check-app-install/android/build.gradle
index d374b27..38d9215 100644
--- a/node_modules/react-native-check-app-install/android/build.gradle
+++ b/node_modules/react-native-check-app-install/android/build.gradle
@@ -43,5 +43,5 @@ repositories {
 }
 
 dependencies {
-    compile 'com.facebook.react:react-native:+'
+    implementation 'com.facebook.react:react-native:+'
 }

This issue body was partially generated by patch-package.

jtklein avatar Oct 14 '22 20:10 jtklein

Would be nice if this patch would find its way into a new release..

c-goettert avatar Dec 29 '22 15:12 c-goettert

I also came across this issue is there a workaround because I have to use this package in my expo app (react-native 0.71) but the build will fail without this fix

shivendra-parmar avatar Jul 14 '23 12:07 shivendra-parmar

I am also facing this issue, hope this will be updated soon.

hfarhanahmed avatar Jul 26 '23 06:07 hfarhanahmed

React Native Launcher Kit I found this project that helps in detecting if an app is installed on a user phone or not but project seems to be working for Android only still looking for IOS Please note that this if you are using expo then you have to use development client to test this In Expo Go App it doesn't work Hope it helps

shivendra-parmar avatar Jul 26 '23 06:07 shivendra-parmar