Problem
You need to update your app's version to 1.0.0:
1. You open up android/app/build.gradle to update the version and bump the buil...
For further actions, you may consider blocking this person and/or reporting abuse
Thank you: this helped me a lot in a project few months ago!
SOLVED ISSUE
I started a new react-native project with updated versions of softwares, and I faced following issue. When I execute:
I get this error:
Googling a bit I found this: github.com/fastlane/fastlane/issue...
And effectively I have (now, for this project) ruby 3.0, not 2.6.5 anymore (I thinked was something related to upgrated OS from Mojave to Catalina, or to new Node.js...)
So I 'solved' by downgrading ruby to 2.7.2 and now it works like a charm again!
Added too auto-changelog
and add to package.json script
thats will be automate create changelog after automate versioning
Can't you use
package['name']
in Fastline file? What is the reason chosingENV[APP_NAME]
over it?Good point! Thanks. I've updated the post!
The reason being is that I copied most of the fastfile for this post from a project I was working on where
pacakge['name']
was different from the Xcode project name 😂Very good, one issue I noticed as I currently only have Andorid not iOS and because the iOS function runs in Fastlane first it errors and stops the following Android function firing. I've modified it so that both functions run independently so that now if one fails the other still tries. Hope its helpful to anyone else using only one OS.
What a coincidence, that is exactly what I was looking for and you just published it! Thx :)
Happy it helped!
Thank you very much for this wonderful guide.🙏🏾😊
This is great! I was using app.json for that. If I use your solution, do I need to remove the buildnumber and versioncode from app.json? Thanks!
No strict rules here! The solution is customizable! Do what suits your needs and makes more sense to you 👍
Great Work , If possible please do write on fastlane setup for react native.
Thank you:)
I do have another guide. I hope you find it useful:
github.com/osamaq/reactnative-fast...
Really Thank you so much.
This will have issue with xcode 11 as there is new variable need to use github.com/SiarheiFedartsou/fastla...
Hi @osamaq ! I'll try this, it would be very useful. Thanks!
Do you know if it'll work exactly with Xcode 12? Thanks again.
It does. I've used it many times while working with Xcode 12.0.1. have fun 👍
Brother what a great contribution, even I can use the tags as source of truth for versioning system in my react native app and I can ignore versioning when publishing. Great post!