launch_review icon indicating copy to clipboard operation
launch_review copied to clipboard

AppStore won't open if no App Id is provided

Open Abdelalim-dev opened this issue 4 years ago • 9 comments

If no arguments are provided, it will consider the current package.

This part didn't work on iOS. I had to set the App Id of my application for it to open the AppStore page. My test was made on an iPhone 6 with iOS 12

Abdelalim-dev avatar May 22 '20 02:05 Abdelalim-dev

I can confirm this. Looks like the code that is trying to get the appStoreId by itself is failing and does not expect the way it fails, thus not returning any error to the user (programmer).

this code passage is trying to fetch values by requesting this endpoint http://itunes.apple.com/lookup?bundleId=<bundle identifier>. I have tested it myself manually and it looks like this endpoint is not returning the correct or needed information anymore. This is what i am getting back for my specific bundle indentifier




{
 "resultCount":0,
 "results": []
}

This is maybe related to the fact that apple is shutting down itunes (or already has)? https://support.apple.com/en-qa/HT210200

Manually providing the id is working though.

pythoneer avatar May 25 '20 05:05 pythoneer

Please let me know if someone can help with a PR. I can neither update nor test as I don't have any apple device.

On Mon, 25 May, 2020, 11:00 AM Dustin Bensing, [email protected] wrote:

I can confirm this. Looks like the code that is trying to get the appStoreId by itself is failing and does not expect the way it fails, thus not returning any error to the user (programmer).

this code passage https://github.com/Purus/launch_review/blob/master/ios/Classes/LaunchReviewPlugin.m#L64 is trying to fetch values by requesting this endpoint http://itunes.apple.com/lookup?bundleId=. I have tested it myself manually and it looks like this endpoint is not returning the correct or needed information anymore. This is what i am getting back for my specific bundle indentifier

{ "resultCount":0, "results": [] }

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Purus/launch_review/issues/22#issuecomment-633384029, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIHDZ4IE5E4JTKJHQIERV3RTH7BDANCNFSM4NHNEUMA .

Purus avatar May 25 '20 12:05 Purus

I can help with a PR and Testing on actual devices. I have no clue how to regain the functionality, because the original (itunes) service is seemingly dead. Idk if there is any other way to get the information from.

pythoneer avatar May 27 '20 14:05 pythoneer

Unfortunately, I can't test or fix this as I don't Mac machine.

Purus avatar Mar 07 '21 16:03 Purus

It's April 2021. Any solution for this. I am facing this issue.

SachinTanpure avatar Apr 07 '21 15:04 SachinTanpure

Please feel free to open a PR with the required changes. I can't do as I don't have a Mac.

On Wed, 7 Apr, 2021, 8:32 pm SachinTanpure, @.***> wrote:

It's April 2021. Any solution for this. I am facing this issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Purus/launch_review/issues/22#issuecomment-814987568, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIHDZ4B2XE6I43TX64HP6DTHRXXJANCNFSM4NHNEUMA .

Purus avatar Apr 08 '21 02:04 Purus

The primary Problem is not "having a Macintosh PC or not". The primary Problem is gathering the needed information that is equivalent to the information that was previously provided by the itunes service that was shut down by apple.

pythoneer avatar Apr 08 '21 08:04 pythoneer

any updates?

vytautas-pranskunas- avatar Aug 08 '21 09:08 vytautas-pranskunas-

How can I help, i have a mac and iphones?

nicolasvahidzein avatar Jul 06 '22 01:07 nicolasvahidzein