I'm making RATE button for iPad Pro. When tapping on Rate Button, the debug area shows...
LaunchServices: ERROR: There is no registered handler for URL scheme itms-apps
-(IBAction)RateButton:(id)sender{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://itunes.apple.com/app/id12345678"]];
}
Why am I getting a "no registered handler for URL scheme" error when I have a URL present in code?
Go to the Play store, find the app and view its page. Copy the URL from the browser address bar. Make a note of this as the "Android Fallback URL." You'll see a parameter called "id" followed by an equal sign (=).
First of all itms and itms-apps are defined Apple URL Schemes and they are only linked immediately to their specific app as you said itms will open iTunes Store and itms-apps will open the App Store.(if they exist)
ios9 - iOS 9 LaunchServices: ERROR: There is no registered handler for URL scheme itms-services - Stack Overflow We have some in-house apps and before iOS 9, the apps will open a link like "itms-services://" after version compare, the new version apps will be downloaded and install.
The URL you're using is correct. BUT if you're trying this on the simulator it won't work and it will show that exact error. The App Store app URL Scheme only works on a device. Show activity on this post.
They confirmed that there is no official documentation regarding the itms-apps URL scheme, and that there is no guarantee about engineering side changes. But they suggested I use the format itms-apps://itunes.apple.com/<store name>/developer/<developer name>/id<id number>.
But on iOS 11, 10, 9 url scheme to app store (itms-apps://) works. The old URL doesn't work in the iOS 12 public release either. But I found that replacing "artist" with "developer" does work on iOS 12: "itms-apps://itunes.apple.com/ developer /id463855590"
The URL you're using is correct. BUT if you're trying this on the simulator it won't work and it will show that exact error. The App Store app URL Scheme only works on a device.
You cannot connect to the ios (iPhone operating software) app store if you are on the simulator. This url wont work because you are not on a ios device. Ios devices only can connect to the ios app store.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With