Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch not working on iOS 11 #6

Closed
Habared opened this issue Sep 13, 2017 · 9 comments
Closed

Launch not working on iOS 11 #6

Habared opened this issue Sep 13, 2017 · 9 comments

Comments

@Habared
Copy link

Habared commented Sep 13, 2017

LaunchReview.launch(storeId) is not working anymore on iOS11.
It launches App Store App but then a message "Cannot Connect to App Store" is displayed.

@Habared Habared changed the title Lauch not working on iOS 11 Launch not working on iOS 11 Sep 13, 2017
@dpa99c
Copy link
Owner

dpa99c commented Sep 18, 2017

It appears that in iOS 11, Apple has disabled the URL format used by this plugin (and may other apps) to open the review section of the App Store page. See nicklockwood/iRate#302

See also https://stackoverflow.com/a/45710637/777265

dpa99c added a commit that referenced this issue Sep 18, 2017
…sible to directly open the review section. See #6.
@dpa99c
Copy link
Owner

dpa99c commented Sep 18, 2017

Just published v2.0.1 which just opens the App Store page for the app on iOS 11, since it's no longer possible to directly open the review section.

f another mechanism can be found to directly open the Review section on iOS 11, I'll re-open this issue and implement it.

@dpa99c dpa99c closed this as completed Sep 18, 2017
@GitRubb
Copy link

GitRubb commented Sep 20, 2017

@dpa99c referring to your latest commit, it actually is possible to directly link to the review page on iOS 11.

just attach &action=write-review to the the end of the url. This may work for the itms url also I haven't tried yet.

https://itunes.apple.com/us/app/_app_name_/id_app_id_?mt=8&action=write-review

@zapjonny
Copy link

That one supposedly breaks as soon as you change app name right?

@dpa99c
Copy link
Owner

dpa99c commented Sep 21, 2017

Just been doing some empirical testing on iOS 11 and it seems the country code and app name are required in the URL, but not actually used so they can be anything - only the ID needs to be correct for the target app. Also mt=8 is no longer required, so I've distilled it down to:

itms-apps://itunes.apple.com/xy/app/foo/id{your_app_id}?action=write-review

where only {your_app_id} needs to change.

This then works as @GitRubb describes, opening the "Write a Review" popup in the App Store page on iOS 11.

I will push out a patch release to use this URL format on iOS 11+

dpa99c added a commit that referenced this issue Sep 21, 2017
@dpa99c
Copy link
Owner

dpa99c commented Sep 21, 2017

Published as [email protected]

@zapjonny
Copy link

zapjonny commented Sep 21, 2017

itms-apps://itunes.apple.com/xy/app/foo/id{your_app_id}?action=write-review

Tried it, didn't work on iOS 11.0. Still roots to app store though, but still gets the Can't connect to App Store:ish message. @dpa99c

@dpa99c
Copy link
Owner

dpa99c commented Sep 21, 2017

@zapjonny It works fine when I test it: see this screencapture

@zapjonny
Copy link

zapjonny commented Sep 21, 2017

@dpa99c Yes sorry I just found out a mistake on my part, I can confirm that the link works. Sorry for the trouble and thanks for this. I guess I will just carry on with this URL for iOS 11.0 for now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants