I would like to check if an App is installed on a user's device. I believe there is an extension for that. Could someone point me in the right direction. I cannot fine one anywhere.
TIA
I would like to check if an App is installed on a user's device. I believe there is an extension for that. Could someone point me in the right direction. I cannot fine one anywhere.
TIA
I might like to extend what I have said previously. In my app, I reached a point where Ai2 could not do what I wanted, so to complete my app i want to find out whether the user has a complimentary app installed. To accomplish this I believe there is an extension which offers the 'IsAppInstalled' function to do this. This is what I want to find.
Probably this:
Once you get the list you can query it for your "complementary" app.
Yes Tim, I found that one. Remember that it is not me wanting that list but the user. I wanted to do it programatically. If installed I can carry on with my app. If not I can offer the user a link to install it if they want to. That's why I want the 'IsAppInstalled' function.
I found another solution that works better than an extension.
Maybe share so others can learn.
Checking a package installed on user device needs QUERY ALL PACKAGES permission. If your app uses it then Google Play might reject your app unless there is a core functionality of the app requires it.
Ok this is the solution I found to work best for me.
I was making a navigation app using OSM and OSR. I kept coming up with the 4003 and 400 error. So I thought thought I'd give Waze a try. Using the following blocks I was able to check whether Waze was installed in their device and if not give them the option to install it direct from the Play Store.
If it was installed on their device, it takes them straight to Waze's brilliant navigation system inc. turn by turn voice.
I might add, that if OSM works properly the they don't HAVE to install Waze, and I would prefer if it did. Having said that, and even though I have no affiliation with Waze whatsoever, their navigation is far superior to OSM's. AND the usage fits perfectly with Waze's terms of service and business plan, and it's all free with no restriction.
waze's
(added to FAQ)