You will compile your app in release mode and upload it to the Google Play Store in beta. To do so, follow these steps:
- Open the fastfile file into your project's android/fastlane directory.
- If in the file there is already a beta lane, comment it out.
- At the bottom of the platform: android lane, add the following instructions:
lane :beta do
gradle( task: 'assemble', build_type: 'Release' )
end
- In a terminal window, from the android folder of your project, run the following command:
fastlane beta
If you are using Windows, you might need to change the character table for the terminal. One way to do this is by typing the command: chcp 1252 before running fastlane beta.
-
Make sure you find the release version of your app file in the build\app\outputs\apk\release directory of your project.
-
Go to the Google Play Console at https://play.google.com/console.
-
Click on the Open Testing link in the Release | Testing section.
-
Click on the Create...