react-native-app-info icon indicating copy to clipboard operation
react-native-app-info copied to clipboard

Does not link and run with Android ?

Open esutton opened this issue 8 years ago • 0 comments

How do you get this to link and run with Android?

I get a red box error:

TypeError: undefined is not an object (evaluating 'RNAppInfo.version')

I can only get this to link with iOS? Does anyone have a newer fork?

react-native init AndroidAppInfo
cd AndroidAppInfo
yarn add react-native-app-info

react-native link react-native-app-info
rnpm-install info Linking react-native-app-info ios dependency 
rnpm-install info iOS module react-native-app-info has been successfully linked 

react-native run-android
```

Works great on iOS.  Thank you for sharing.

![screen shot 2017-12-06 at 12 36 22 pm](https://user-images.githubusercontent.com/6115047/33678751-51fa983e-da82-11e7-9fb9-128285194f91.png)

esutton avatar Dec 06 '17 18:12 esutton