Automate React Native Releases With Fastlane - Android Beta - Part 2
Вставка
- Опубліковано 22 сер 2024
- #reactnative #react #programming
Check out reactnativejob... if you are looking for a React Native job or looking to hire React Native developers.
I'll show you how to use Fastlane to automate building and releasing your Android beta app. Post any questions you have in the comments!
All Videos in this series
Part 1 - • Automate React Native ...
Part 2 - • Automate React Native ...
Part 3 - • Capture React Native S...
Part 4 - • React Native Fastlane ...
Part 5 - • React Native Releases ...
code here: github.com/WJi...
Subscribe for React Native Videos: / @yim
Follow me on Twitter:
/ wjimmycook - Наука та технологія
thanks for the entire series dude! super clear/concise and great editing, exactly what I needed help with
Glad it helped!
Great series on fl. More please
Thank you Jimmy.
My pleasure!
Need to install plugin, in terminal: fastlane add_plugin increment_version_code
Then use in fastfile: increment_version_code(gradle_file_path: "PATH_TO/app/build.gradle")
Im getting this error :Task 'assembleRelease' not found in root project 'android'.
Thanks alot
👍
Google Api Error: Invalid request - The caller does not have permission
Hi Jimmy do you know of any easy way to give a beta version of an app to testers on iOS and android without going through the stores?
I haven't tried this myself, but you can do it on android pretty easily developer.android.com/distribute/marketing-tools/alternative-distribution.html. On iOS, it seems a bit harder but look into ad-hoc distribution.
@@yim Thank you very much I will look into it.
great!. Thanks. Can you release the github link for the project?
Here you go: github.com/WJimmyCook/react-native-fastlane
I'm receiving the following message:
Could not find option 'app_project_dir' in the list of available options: app_folder_name, gradle_file_path, version_code, ext_constant_name
I'm running on windows.
Could you help me?
Something might have changed since this video came out or it could be a windows vs mac thing. I would try using app_folder_name instead and see if that works.
This is what worked for me recently
increment_version_code(
gradle_file_path: "app/build.gradle",
)
@@yim Im getting this error :Task 'assembleRelease' not found in root project 'android'.
@@jqnvlog Im getting this error :Task 'assembleRelease' not found in root project 'android'.
Getting this error "Could not find action, lane or variable 'increment_version_code'. Check out the documentation for more details: docs.fastlane.tools/actions"
I got it fixed after installing the plugin, thanks for the video, Can you help me how to increment the version versionName
@@amaljose8742 Do something like this increment_version_name(app_project_dir: './android/app', bump_type: 'patch')
@@amaljose8742 please which plugin did you install
@@abdullateefadeniran-yusuf2214 It's a `increment_version_code`. To add the plugin run `fastlane add_plugin increment_version_code` . Hope that helps