You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.
I experienced a crush. I don't have any app on appstore. So, i just put a imaginary value. It crushed. i checked your source code. I saw where it was crushing. I had to wrap it into try...catch.
I have currently tested the lib. but you did not provide exception checker on these two methods :
I would have branched the changes I did on my forked project, but I'm not able !
Just adding try...catch to returned values:
FOR IOS: _getiOSStoreVersion()
try { return VersionStatus._( localVersion: packageInfo.version, storeVersion: jsonObj['results'][0]['version'], appStoreLink: jsonObj['results'][0]['trackViewUrl'], releaseNotes: jsonObj['results'][0]['releaseNotes'], ); } catch (exc) { return null; }
FOR ANDROID: _getAndroidStoreVersion()
try { return VersionStatus._( localVersion: packageInfo.version, storeVersion: storeVersion, appStoreLink: uri.toString(), releaseNotes: releaseNotes, ); } catch (exc) { return null; }
The text was updated successfully, but these errors were encountered: