Comments (7)
Some notes about upgrading react-native
. The process is widely regarded as the worst part of the framework. There are a few tools to help upgrade automatically, but it seems that manual upgrades are still the most reliable path.
Based on this blog post and a few other bits, plus my own attempts, it seems that the easiest path is:
- git checkout -b rn-upgrade-branch
- run tests and checks to ensure they all pass before breaking stuff
- get the diff to apply from https://pvinis.github.io/purge-web/ for instance: https://github.com/react-native-community/rn-diff-purge/compare/release/0.57.8..release/0.58.0
- apply the diff by hand, for javascript, android and iOS
- this will include a change of dependency versions in
package.json
. Make sure you runyarn install
after this, or the following steps won't work - iOS specific stuff
cd ios
rm Podfile.lock
bundle exec pod install
// this probably needs to happen on a mac, as cocoapods will sometimes fail on other OSes :(
- test the app again
- if it works, you're done 🎉
cd ..
git add .
git commit -m "Upgrade react-native to XXX"
from mapswipe.
Current RN version is 0.58.0
. Looking at changelogs, upgrade up to 0.58.6
should be painless, the next step (to 0.59.0+
) may require changes to the rnfirebase library
from mapswipe.
Upgrade to RN 0.59
is required before august 1, 2019 to support android 64 bits (see http://facebook.github.io/react-native/blog/2019/03/12/releasing-react-native-059)
It is unclear what will happen in august if the app is not compatible though...
from mapswipe.
From react-native
version 0.59.x
onwards, the upgrade should be done using react-native upgrade
instead of the above process... To be tested!
from mapswipe.
Upgrading to 0.60 would probably required looking into #86
from mapswipe.
Upgrade to react-native 0.60 requires moving to androidX
infrastructure for android, which looks like a potential big job, with breaking changes.
from mapswipe.
Released in 2.0.3 🎉
from mapswipe.
Related Issues (20)
- Research on how to force update Mapswipe App HOT 3
- Create a list of all the icons in the MapSwipe mobile app HOT 2
- Send app version number in results
- Mapping Page: The sub-options in the Footprint project type is not working (High Priority) HOT 4
- Comparison between the old and new app
- Projects with geometry vs. centroid HOT 1
- Show mobile outline in preview
- Upgrade react native from 0.71.3 to latest 0.72.5 HOT 1
- "mission" to "project" HOT 3
- repeated plural - minor text edit
- missing preposition - minor text edit
- tutorial should only advance on correct answer HOT 1
- text cut off in validate mission second row options HOT 2
- feature collection input to Validate, not just AOI and query filter HOT 2
- TM Statistics problems HOT 1
- investigate/ adjust sentry logging
- Add option to tap to go to next page
- Explore the possibility of adding a banner in the app HOT 1
- RTL languages break app
- duplication of usernames
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapswipe.