Hi,
I’m using the plugin AppAvailability to check if an app is installed on a device.
I’m using it in this way:
this.appAvailability.check(appUrl).then(flag => {
console.log('--->appAvailability-flag:', flag);
this.isAppAvailable = flag;
});
Where appUrl is “newapp://” for Android and “com.newapp.stag” for iOS.
On Android it works, on iOS I have the error:
-canOpenURL: failed for URL: "newapp://" - error The operation could not be completed (OSStatus error -10814)
THREAD WARNING: ['AppAvailability'] took '14.01' ms. Plugin should use a background thread.
I’ve added to Info.plist (as described in https://github.com/ohh2ahh/AppAvailability and in https://medium.com/@guanshanliu/lsapplicationqueriesschemes-4f5fa9c7d240) the string “newapp” to the array LSApplicationQueriesSchemes, but I still get the same error.
Which could be the problem according to you?
Is still possible on iOS to check is an App is available?
Thank you
cld