timtraversy / new_version

Check if your user has the most recent version of your Flutter app.
BSD 3-Clause "New" or "Revised" License
125 stars 152 forks source link

can't find app store id #87

Closed jormae closed 2 years ago

jormae commented 2 years ago

The codes return flutter: Can't find an app in the App Store with the id: com.maheedeen.xxx as well as play store. Any solutions for the problems?

timtraversy commented 2 years ago

Yeah the API is returning an empty array for that bundle ID. Are you sure you've published this app in the app store under that ID?

jormae commented 2 years ago

Yeah the API is returning an empty array for that bundle ID. Are you sure you've published this app in the app store under that ID?

Sure, my app is ready for sale for more than a month. here is the link https://apps.apple.com/us/app/iteach-pro/id1590616126

timtraversy commented 2 years ago

Is it only available outside the US? You may have to set iOSAppStoreCountry

jormae commented 2 years ago

Is it only available outside the US? You may have to set iOSAppStoreCountry

Yeah, I just added iOSAppStoreCountry: 'TH', but it still displays the same error.

timtraversy commented 2 years ago

Hm I'm not sure what else to try. If https://itunes.apple.com/lookup?bundleId=com.maheedeen.xxx&country=TH doesn't return results, the plugin can't do much else. I would just make sure that's the correct ID. It's hard for me to validate because I can't search the Thai app store.

jormae commented 2 years ago

Hm I'm not sure what else to try. If https://itunes.apple.com/lookup?bundleId=com.maheedeen.xxx&country=TH doesn't return results, the plugin can't do much else. I would just make sure that's the correct ID. It's hard for me to validate because I can't search the Thai app store.

Sorry, my app id is com.example.iteach-pro

timtraversy commented 2 years ago

Ok that ID does return the correct result, so it should work.

jormae commented 2 years ago

Ok that ID does return the correct result, so it should work. It works both in iOS and android, thanks

sebastianbuechler commented 2 years ago

@timtraversy We had some confusing about the term iOSId in the docs. Isn't it the bundle id? Maybe add some examples of famous apps in the docs for clarity. We used for the app store app id provided by Apple. For example Revolut has this id for their mobile app id932493382 (https://apps.apple.com/us/app/revolut/id932493382).

timtraversy commented 2 years ago

If you want to discuss a possible change it would be best to open a new ticket. But yes it is the bundle ID.