kimxogus / react-native-version-check

A version checker for react-native applications
MIT License
722 stars 179 forks source link

No info about this app. | iOS Real Device #92

Closed tvhimanshu closed 4 years ago

tvhimanshu commented 5 years ago

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

kimxogus commented 5 years ago

Sorry for late response. As I don't have a real iOS device, it's hard for me to debug this issue

nguyenvanphuc2203 commented 5 years ago

same issue

jojonarte commented 4 years ago

same issue :'(

nguyenvanphuc2203 commented 4 years ago

@jojonarte i fixed it by use react-native-appstore-version-checker check latest_version, source code like this Screen Shot 2019-11-22 at 4 24 41 PM

Saehanseul commented 4 years ago

same

joony0123 commented 4 years ago

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,

  1. There seems to be an issue with autolinking
  2. Try manual linking (if using Cocoa, add it to the right target and run pod install

Happy coding!

rf1804 commented 4 years ago

Manual or react-native link has been depreceated, please follow new rules as per official react-native docs

Hadajung commented 4 years ago

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.

AnasAlamin commented 3 years ago

i'm using 'react-native-version-check-expo' and this is also not working on ios real device... any workaround?

AlphaJuliettOmega commented 3 years ago

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

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.