react-native-check-app-install
react-native-check-app-install copied to clipboard
Cannot check App installed or not
Hello guys, please help us.
Environtment: "react-native": "0.54.2", "react-native-check-app-install": "^0.0.5",
Return of isAppInstalled always false even the Whatapp app already installed. When we log, we got error :
{ [TypeError: undefined is not an object (evaluating '_android2.default.isPackageInstalled')]
Best regards,
same here I tried with Instagram app also where it gives always false value. let instaURL = 'https://www.instagram.com'; // To check using URL (works on iOS and Android): AppInstalledChecker.checkURLScheme('instagram') // omit the :// suffix .then(isInstalled => { console.log('Installed', isInstalled); // isInstalled is true if the app is installed or false if not if (isInstalled) { openLinkingURL(instaURL); } else { openLinkingURL(instaURL); } }); }
I am facing the same issue here. The com.whatsapp
is not working even though the whatsapp is installed on the device and the isIntalled always remain false
.