kimxogus / react-native-version-check

A version checker for react-native applications
MIT License
715 stars 172 forks source link

TypeError: Network request failed #148

Open hardiksonagrav opened 2 years ago

hardiksonagrav commented 2 years ago

I am getting network errors in VersionCheck.getLatestVersion().

aigen-admin commented 2 years ago

this issue is very crucial. sometimes latestVersion returns undefined and seems to get crawling data from the playsotre web page.

JaapWeijland commented 2 years ago

I'm getting this with needUpdate

JaapWeijland commented 2 years ago

It wasnt working for me because the time + date of my physical android phone wasn't synced. After setting it to sync automatically, everything worked.

YumTheDeathGod commented 2 years ago

@hardiksonagrav @JaapWeijland have you guys found any solution to this issue. I am still struggling with this issue. My app gets closed after running getLatestVersion OR needUpdate function. Any help is appreciated !

saadnaveed94 commented 2 years ago

Getting the same issue. app crashes on launch and needUpdate returns undefined. any update?

Mezatsong commented 2 years ago

I am getting network errors in VersionCheck.getLatestVersion().

Please provide your environment because it is working fine for me