react-native-check-app-install
react-native-check-app-install copied to clipboard
check app not from list
if i want to check if app installed not from APP_LIST
as said in tutorial not working as it searches them in APP_LIST:
static isAppInstalledAndroid(key) {
return this.checkPackageName(APP_LIST[key].pkgName);
}
static isAppInstalledIOS(key) {
return this.checkURLScheme(APP_LIST[key].urlScheme, APP_LIST[key].urlParams);
}
you need to call directly to:
checkPackageName(packagename)
or
checkURLScheme(urlScheme, urlParams)
or need to fix isAppInstalled(key)
to check apps not from of APP_LIST
It's updated in Github but not npmjs.com. Check my solution here.
changed the package json didn npm install still same issue