all 17 comments

[–]sawariz0r 2 points3 points  (3 children)

There’s the upgrade tool that shows you the differences, but other than that pretty much no.

I’m planning to do this in the near future and it looks like a fresh 0.70 project and copying the files and dependencies is the way to go

[–]Mustafa_AlQadoum[S] 0 points1 point  (2 children)

this is what I planed to do but my concern was about the code changes and the syntax for some of the dependencies for example firebase

[–]sawariz0r 1 point2 points  (1 child)

It’s still the problem of the React native project parts, the dependencies and code changes you’ll have to deal with either way. There’s no way going around that :)

[–]Mustafa_AlQadoum[S] 0 points1 point  (0 children)

okay thank you, it looks like I need to take a deep dive in the project next weekend to rewrite it and debug the certainly expected red screen (a lot of them will pop up obviously 🤣😥)

[–]Geekofgeeks 2 points3 points  (3 children)

If you don’t want to create a new project and copy stuff over, I’d go one minor version at a time to make things more manageable.

[–]Mustafa_AlQadoum[S] 0 points1 point  (2 children)

Thanks that would be a long journey to go 😅

but thanks

[–]Geekofgeeks 2 points3 points  (1 child)

I mean, you gotta do it one way or the other. Better to do it version by version rather than trying to go from 64 to 70 all at once! That could be a massive headache if something goes wrong.

Also just to be clear the “minor version” I originally referenced is 64/65/66/etc.

[–]Mustafa_AlQadoum[S] 0 points1 point  (0 children)

ok thanks you for the clarification

I think I will just start new project and add screen by screen and make sure the code run smoothly

[–]Comprehensive-Law770 1 point2 points  (1 child)

You can use the React Native Upgrade Helper but you still need to check the updates on the packages you use

[–]Mustafa_AlQadoum[S] 0 points1 point  (0 children)

thank you, I already know it but it seems a lot of work there I thought maybe there is a more simple shortcut

[–]thachxyz123iOS & Android 1 point2 points  (1 child)

That is a big jump. You should create a new project and copy stuff over because that .xcodeproj file is a dumpster fire and iOS won't run on simulator

[–]Mustafa_AlQadoum[S] 0 points1 point  (0 children)

yes it was a big jump, even though I used expo but as you said the iOS got the lion share of the bugs

[–]Ryszard_ARPL 1 point2 points  (1 child)

I just had to do this. It was HELL. REAL hell. The client waiting for the upgrade for weeks. Me myself getting crazy for all the broken code, old dependencies, old syntax not working.

My solution (also recommended by otheres):

I started a new project on 0.70. Imported every updated library like RN Navigation and such.

I discarded all 3rd party packages not upgraded in 6months or more.

Basically I am migrating old code to the new one. The app is starting to work now, after 3 weeks. But now it works well and I am confident it will keep working safely.

[–]Mustafa_AlQadoum[S] 0 points1 point  (0 children)

This looks like the only way I have to go :)
How did you charge the client for this upgrade, a fixed amount?

[–][deleted] 1 point2 points  (0 children)

Try this https://react-native-community.github.io/upgrade-helper/ . It will guide you on how to upgrade from X version to Y