-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
I am stuck how to use this for iOS? #20
Comments
I follow your ITunesSearchAPI Example instruction and I got no result. UpgardeAlert code and error:
ITunesSearchAPI Example and error
flutter: results: {resultCount: 0, results: []} |
@NTMS2017 When you use the command line app, it will tell you the details of your bundle on the App Store. Can you run it and provide your results here? Here is an example: |
@larryaasen I got zsh: command not found: dart after running a command that you posted. My .zshrc has only this 3 line as shown below. I didn't install dart, it came with flutter. And yes my App is In App Store but not sure if is the US App Store. When I publish my app in app store I configure only Turkey and Cyprus.
|
@NTMS2017 Try: |
Thanks, but I got error as shown below. My app is not inn US App Store. When I login to AppStoreConnect the link show as https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/app/14******20 How can I use package for my country App Store?
|
Using Terminal or another command line app, change directory to upgrader and run this: |
ok when I use this link https://itunes.apple.com**/tr/**lookup?bundleId=myappbundle it works and I get some json file but couldn't see the version. Any idea? |
Can you provide the results here? |
This /Users/myusername/flutter/bin/cache/dart-sdk/bin/dart bin/itunes_lookup.dart bundleid=<your_bundle_id> also gave me an error:
|
Here is the json file: After format the json online I cann see down the json as: "version":"2.3.4+34",
|
Any news? Also is upgrader force my app to update from App Store? |
I figured out the problem. This package does not support countries outside of the US very well. Since your app is in the TR country App Store, the response returned empty, so a new version was not found. I was able to get the included example app to work with these few changes that you can make to get this package to work for you.
|
@larryaasen thank you very much, I will try today and post the result here. It will be nice to add country parameters to upgrader/lib/src/upgrader.dart so all Flutter developer can use this plugin.
|
💯 🥇 👍 It couldn't better than this one. Kind Thanks. It didn't print as a json format. And because of my country code TR I have few more questions?
Here is the result:
|
Ok, I hack (because no documentation about it :) ) Upgrader and check if update is available. In initState I call _checkForIOSUpdate() and and if update is available in build widget body I show the AlertDialog. If not not I let user to use current app. I thank you for this great packages. Kind Thanks
|
I am sorry this package has not met all of your needs, but I will continue to improve it in the future. Thanks for your feedback. |
Hi,
I am trying to use this package for my iOS app which is in App Store. But I am not sure where to start. Is the example file is enough? Or can you post more deatils now not use for iOS. Also I want to force user to update always. how to disable other 2 buttons? Thanks
The text was updated successfully, but these errors were encountered: