Closed tvhimanshu closed 4 years ago
Sorry for late response. As I don't have a real iOS device, it's hard for me to debug this issue
same issue
same issue :'(
@jojonarte i fixed it by use react-native-appstore-version-checker check latest_version, source code like this
same
Hey guys! If anyone is still struggling with this issue, I found out there is a problem with auto linking. I strongly suggest to try manual linking which solved it for me
In addition while using Cocoa pod for iOS,
I found out my auto linking was adding below line to tvOSTests
target not my main app target..
pod 'react-native-version-check', :path => '../node_modules/react-native-version-check'
When I added that line to my main target and ran pod install
I was able to use it with my iOS device too
In conclusion,
pod install
Happy coding!
Manual or react-native link
has been depreceated, please follow new rules as per official react-native docs
yarn add react-native-version-check
or npm install react-native-version-check
Only for ios: pod install
or pod update
as per requirement
If you have different bundle identifier, also you should check :)
I also had this issue but in my case it was about bundle identifier.
Under build settings > Packaging > Product Bundle Identifier.
i'm using 'react-native-version-check-expo' and this is also not working on ios real device... any workaround?
Manual or
react-native link
has been depreceated, please follow new rules as per official react-native docs
yarn add react-native-version-check
ornpm install react-native-version-check
- Only for ios:
pod install
orpod update
as per requirement
It seems your comment doesn't reference the issue, why is this ticket closed?
on iOs I have run Pod Install and Pod update many times, the react-native-version-check
.getLatestVersion() worked for a few weeks but sometime in the last 2 weeks it just stopped working, with the error in the Ticket Title.
It would be nice to know why or how this error is caused.
No info about this app. @kimxogus I am getting this error in real iOS device. However its working fine in iOS Simulator and Android devices.
Suggestions appreciated. Thanks