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

Updating to newer versions #6

Closed
xzilja opened this issue Mar 18, 2017 · 3 comments
Closed

Updating to newer versions #6

xzilja opened this issue Mar 18, 2017 · 3 comments

Comments

@xzilja
Copy link
Contributor

xzilja commented Mar 18, 2017

Whats the correct way to update react-native-firebase ? I usually yarn add react-native-firebase and then react-native link is this correct way to approach this?

@Salakar
Copy link
Member

Salakar commented Mar 18, 2017

Update as in switching versions​, say alpha5 to alpha6? If so, you only need to update the npm module, no need to re link every time.

@Ehesp
Copy link
Member

Ehesp commented Mar 18, 2017

If you've already installed the module, simply follow the following:

  1. Update package.json to new version.
  2. Re-run the start command (node node_modules/react-native/local-cli/cli.js start).
  3. Re-install/run your build for the platform (react-native run-android/run-ios).

@xzilja
Copy link
Contributor Author

xzilja commented Mar 18, 2017

@Ehesp @Salakar thanks guys. So native side of the code isn't updated at all, just curious now, as I saw libraries like https://github.com/yutin1987/react-native-bridge-firebase where it has quiet a lot of native side implementation. In the future if you change something there, will simple re-linking solve the issue?

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

3 participants