Error checking version on iOS
See original GitHub issueBug
Plugin Version: 1.1.2 and 2.0.0-beta.76 Platform: iOS Device/Hardware: iPhone 6
Expected behavior
Getting the latest version should return a boolean
Actual behavior
Exception is thrown.
Error looking up app details in App Store. BundleIdentifier=<Removed for security reasons, but matches what is in appstoreconnect>
at Plugin.LatestVersion.LatestVersionImplementation.LookupApp () [0x0017f] in <b9443c4023a448e79dd79a7c32c8f968>:0
at Plugin.LatestVersion.LatestVersionImplementation.GetLatestVersionNumber () [0x00065] in <b9443c4023a448e79dd79a7c32c8f968>:0
at Plugin.LatestVersion.LatestVersionImplementation.IsUsingLatestVersion () [0x00077] in <b9443c4023a448e79dd79a7c32c8f968>:0
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <624bcc4ce53347508a7b8fa821d78da4>:0
at System.Json.JsonArray.get_Item (System.Int32 index) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/external/corefx/src/System.Json/src/System/Json/JsonArray.cs:36
at Plugin.LatestVersion.LatestVersionImplementation.LookupApp () [0x0011d] in <b9443c4023a448e79dd79a7c32c8f968>:0
Steps to reproduce the issue
try
{
var latest = await CrossLatestVersion.Current.IsUsingLatestVersion();
}
catch (Exception x)
{
return;
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
If your iPhone or iPad won't update
An error occurred while checking for a software update. ... If you still can't install the latest version of iOS or iPadOS, try...
Read more >[9 Solutions] Fix an Error Occurred While Checking for A ...
9 solutions to "an error occurred while checking for a software update" problem · Solution 1. Restart your device · Solution 2. Force...
Read more >How To Fix “An Error Occurred While Checking For A Software ...
The error message generally occurs while updating the iOS with a poor network connection. However, the error can arise due to various other ......
Read more >Software Update Problem: Unable to check for ...
Go to Settings > General > Profiles and tap the iOS Beta Software Profile > Remove Profile · Restart and try updating again....
Read more >How to Fix “Unable to Check for Update” Error on iPhone/iPad
Select your iPhone or iPad on the iTunes or Finder window. Select Check for Updates to scan for the latest iOS version. If...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The same issue here, the reason is your app available only in limited region (in my case is Russian Federation), so there must be included country identifier beetwen “http://itunes.apple.com/” and “/lookup?bundleId={bundle identifier}”, ill try make pull request, to solve issue.
I got it ready yesterday but dealing with a failure in the CI pipeline. Once that is fixed it will roll out to Nuget.