Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not link and run with Android ? #9

Open
esutton opened this issue Dec 6, 2017 · 0 comments
Open

Does not link and run with Android ? #9

esutton opened this issue Dec 6, 2017 · 0 comments

Comments

@esutton
Copy link

esutton commented Dec 6, 2017

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant