I have developed an application that utilizes the App Availability Plugin. One of my requirements is to launch specific applications from within my app. If the second app, let's call it APP B, is not installed on the device, it should redirect to either the Play Store or the App Store based on the device's operating system. To achieve this, I'm using the scheme check action from the App Availability Plugin. It works as expected on Android devices; however, when testing on iOS devices, I encounter an error indicating that the App Availability Plugin is not available. Just for your information, I've also employed the Edit Plist Plugin and integrated it into my app.
Hi Karthik,
A new version (1.0.3) is now available, making it easier to specify Android Package Queries and iOS URL Schemes.
Now you don't need the Edit Plist Plugin, as the -Info.plist file with get changed with the information passed to the plugin via variables.
You can achieve this using the variables option:
Please make sure when referencing a new plugin, or a new version of a plugin, you rebuild the app and make sure to uninstall and installed it again (don't reinstall on top of an installed version).
Hi Miguel,I have checked with the new version of the plugin. Now its not working for Android also, its the same as before. Also the scheme check is not working for android also now. It was working fine on Android before the update. While debugging on android device it stops at the RunCheck javascript, it dosen't proceed further. When debugging on IOS even if the app is not installed the Runcheck javascript returns true for the isAvailable parameter. Also the App availability plugin is unavailable error is also showing sometimes on both IOS and Android devices . Please find the snaps for your reference.
FYI: I have rebuild the app and made sure to uninstall and installed it again.
Is there a solution?
Hi,
I have a similar issue. In my case, I installed the demo and it stops working on the "RunCheck" javascript. The CheckAppAvailabilityPlugin works fine.
Could you solve your issue @Karthik LS ?
Hello,No i haven't yet solved my issue.
Hi there, there was indeed a problem with the latest version that would hang the app in the RunCheck node.
Version 1.0.4 solves this issue, and hopefully solves also the other issues as well. Can you both please test this new version and report back?
Sorry for taking time to fix this, but time’s been tight.