Does the iOS version of Pokemon GO contain a URL Scheme for purposes of launching Pokemon GO from another iOS application?
Asked
Active
Viewed 3,785 times
2
-
4See http://stackoverflow.com/a/24363049/1226963 – rmaddy Jul 19 '16 at 03:34
1 Answers
5
The URL Scheme has changed to com.googleusercontent.apps.848232511240-dmrj3gba506c9svge2p9gq35p1fg654p
in version 1.1.0. Version 1.1.1 uses this URL Scheme also.
Discovered the URL Scheme thanks to @rmaddy's comment. The URL Scheme to open Pokemon GO on an iOS device is, b335b2fc-69dc-472c-9e88-e6c97f84091c-3://
. Seems like they do not intend for other developers to use the URL Scheme considering the way it is formatted. I'd be cautious implementing this in a published application for now.
Swift example:
// Check if Pokemon GO app installed on device
if let url = URL(string: "b335b2fc-69dc-472c-9e88-e6c97f84091c-3://"), UIApplication.shared.canOpenURL(url) {
UIApplication.sharedApplication().openURL(url)
}
else {
// Pokemon GO not installed
// Do something else
}
Also, starting at iOS 9 you must include LSApplicationQueriesSchemes
in your info.plist
.

Daniel Storm
- 18,301
- 9
- 84
- 152
-
-
@Droppy I have only tested on my development device. I'm hesitant to put it in a published application because of the formatting. I'm assuming it will change. – Daniel Storm Jul 19 '16 at 12:36
-
1version 1.3.1 uses: "com.googleusercontent.apps.848232511240-dmrj3gba506c9svge2p9gq35p1fg654p" – carlos16196 Aug 20 '16 at 20:16