larryaasen / upgrader

A Flutter package for prompting users to upgrade when there is a newer version of the app in the store.
MIT License
531 stars 262 forks source link

flutter: upgrader.ITunesResults.version: RangeError (index): Invalid value: Valid value range is empty: 0 #316

Open GautamSharma05 opened 12 months ago

GautamSharma05 commented 12 months ago

flutter: upgrader.ITunesResults.version: RangeError (index): Invalid value: Valid value range is empty: 0 flutter: upgrader.ITunesResults.trackViewUrl: RangeError (index): Invalid value: Valid value range is empty: 0 flutter: upgrader.ITunesResults.releaseNotes: RangeError (index): Invalid value: Valid value range is empty: 0 flutter: upgrader.ITunesResults.description: RangeError (index): Invalid value: Valid value range is empty: 0

upgrader: dependency: "direct main" url: "https://pub.dev" source: hosted version: "8.0.0"

dawid-niedzwiecki commented 8 months ago

Please fix, it's very annoying :(

larryaasen commented 8 months ago

@GautamSharma05 To better assist in analyzing issues, please include all of the upgrader log, which can be enabled by setting debugLogging to true.

mulvad commented 7 months ago

This happens if your app isn't listed in the App Store. There is a simple fix for it, that I can provide in a PR if needed?

larryaasen commented 7 months ago

@mulvad What kind of fix are you thinking about?

mulvad commented 7 months ago

I made a proposal here: https://github.com/larryaasen/upgrader/pull/360

atsokha commented 5 months ago

@larryaasen Today, we have disabled access to the app for all countries except the USA, Canada, and Mexico. As a result, we are encountering the following error: flutter: upgrader.ITunesResults.version: RangeError (index): Invalid value: Valid value range is empty: 0 flutter: upgrader.ITunesResults.trackViewUrl: RangeError (index): Invalid value: Valid value range is empty: 0 flutter: upgrader.ITunesResults.releaseNotes: RangeError (index): Invalid value: Valid value range is empty: 0 flutter: upgrader.ITunesResults.description: RangeError (index): Invalid value: Valid value range is empty: 0