Semen Matusovskiy Well-Known Member Licensed User Aug 23, 2019 #1 Hi, guys -- In Android it's possible to find a program using market://details?id=" & PackageName But what about IOS ? I can find links in format http://itunes.apple.com/[country]/app/[App–Name]/id[App Id or Store Id] But I am afraid that id is not fixed. Theoretically should be simple itms-apps links, but I was not able to find them. Any ideas ? I need links to install / update Whatsapp, Viber, Skype, Messenger, Telegram and my own program. PS. I found a discussion at stackoverflow about https://itunes.apple.com/lookup\? bundleId=\(identifier) Probably works. But hard to believe that there is no similar way like in Android. Last edited: Aug 23, 2019
Hi, guys -- In Android it's possible to find a program using market://details?id=" & PackageName But what about IOS ? I can find links in format http://itunes.apple.com/[country]/app/[App–Name]/id[App Id or Store Id] But I am afraid that id is not fixed. Theoretically should be simple itms-apps links, but I was not able to find them. Any ideas ? I need links to install / update Whatsapp, Viber, Skype, Messenger, Telegram and my own program. PS. I found a discussion at stackoverflow about https://itunes.apple.com/lookup\? bundleId=\(identifier) Probably works. But hard to believe that there is no similar way like in Android.
Semen Matusovskiy Well-Known Member Licensed User Aug 23, 2019 #2 StackOverflow's idea was not bad. I wrote a special subroutine InstallByBundleId. Some comments. 1) When to use Imagine that your program tries to call messenger, for example, App.OpenUrl ("whatsapp://send? ...") If WhatsApp is installed, OpenUrl will open a chat. But if Whatsapp is not installed, you will get an error. In this case there is a reason to initiate a installation. 2) How to find bundleId For example, for WhatsApp. Search by Whatsapp IOS in Google Chrome. The first link will be https://apps.apple.com/app/whatsapp-messenger/id310633997 So, we know id - 310633997. This id is valid today, new release will have another id (like I understand). Type https://itunes.apple.com/lookup?id=310633997 A browser will download a file with name 1.txt. Open it and search by bundleId. You will find a key "bundleId":"net.whatsapp.WhatsApp" Attachments test.zip test.zip 2.9 KB · Views: 426 Upvote 0
StackOverflow's idea was not bad. I wrote a special subroutine InstallByBundleId. Some comments. 1) When to use Imagine that your program tries to call messenger, for example, App.OpenUrl ("whatsapp://send? ...") If WhatsApp is installed, OpenUrl will open a chat. But if Whatsapp is not installed, you will get an error. In this case there is a reason to initiate a installation. 2) How to find bundleId For example, for WhatsApp. Search by Whatsapp IOS in Google Chrome. The first link will be https://apps.apple.com/app/whatsapp-messenger/id310633997 So, we know id - 310633997. This id is valid today, new release will have another id (like I understand). Type https://itunes.apple.com/lookup?id=310633997 A browser will download a file with name 1.txt. Open it and search by bundleId. You will find a key "bundleId":"net.whatsapp.WhatsApp"