react-native-version-check icon indicating copy to clipboard operation
react-native-version-check copied to clipboard

Need Update method is not working for ios

Open hardikmehta88999 opened this issue 3 years ago • 5 comments

code snippet:
checkVersion = async () => { try { updateNeeded = await VersionCheck.needUpdate(); if (updateNeeded && updateNeeded.isNeeded) { setting state --------> } } catch (error) { } }

error :[TypeError: undefined is not an object (evaluating '_await$providers$opti.version')]

hardikmehta88999 avatar Nov 25 '21 13:11 hardikmehta88999

same issue on Android

Bhoon-coding avatar Dec 10 '21 01:12 Bhoon-coding

I am also facing the same issue for Android. This issue we are facing with the production version of Apps.

Please fix it as soon as possible. Hope you are not providing any solution, just you will fix on code itself.

sivaramakrishnac avatar Feb 25 '22 06:02 sivaramakrishnac

Did you also installed native packages of the package(cd ios && pod install etc.)? Stupidly, I never thought of installing pod on ios since there was no explanation on documentation.

I think we should have to add cd ios && pod install kinda thing on setup guides 🤣

Hemistone avatar Jul 05 '22 07:07 Hemistone

It works fine on Android but it give warning on ios , i have installed pods

no info about this app

Hasnainahmad04 avatar Jul 12 '23 07:07 Hasnainahmad04

Screenshot 2023-08-11 at 12 05 31 PM This work for me

Mehr-Furqan avatar Aug 11 '23 07:08 Mehr-Furqan