![]() then a new public link will be generated to add more testers Go to Invite links, click New link, select the tester group, and then create link.Go to Testers & Groups and add a new group called testers.Go to Release & Monitor > App Distribution > Accept Terms of services and click Get Started.Go to project setting ⚙️ (In the top of the side menu, near to Project overview □), scroll to your Apps section you will find your app ID(x:xxxxx).Add your android package name and App nickname, click register app > next > next> register app.On your app home page, click the android icon to add a new android app.When your project is ready, click continue.Disable google analytics for this project and continue.Go to, press + button to create a new firebase app.To distribute the app to our internal team and testers, we will use Firebase App distribution, A free-to-use tool backed by Google that helps you distribute your apps to testers. You can prepare your key by running this command on *nix systems.ġ openssl base64 Project Setting > Secrets > Actions > new repository secret ANDROID_SIGNING_KEY: The base64 encoded signing key used to sign your app.Here are the environment variables we need to provide as Github secrets: We will use r0adkll/ this action will help us sign the android APK using our private signing keys as we already generated in the first step. Next, we run the build script to generate unsigned APK using the gradlew command already tested locally. In the first six steps, we mainly set up dependencies and requirements for our build, such as installing JDK, configuring cache for yarn and Gradle build system, and making the gradlew executable. jobs: we describe the workflow requirements such as the name and machine used to run the build.Įvery job has multiple steps when we can use a Github action from the marketplace or simply run a command.on: when we can run the workflow, in our case, whenever a new release has been published to Github,Īdding workflow_dispatch allows the user to trigger the workflow manually from Github UI.To create a new app release, we will benefit from the javascript ecosystem and use the same tools used by libraries authors to automate creating npm and GitHub releases with changelog.įirst, install np and react-native-versionħ6 file : $ Īs you can see, the workflow contains three main attributes. Also as the setup is not that complicated and worth the time. I would recommend using tags, and GitHub releases to make your work easier and to have more visibility on project progress. Create a releasing process:Įven if you are working alone on a new project or think your project is simple, you don’t want to complicate the process. Github action provides 2000 free minutes for private repositories in your organization which seem enough for most case if you are going to release a new app every week.īefore starting the build process, i would highly recommend using a releasing process to create a new GitHub release as we will use it to trigger our workflows.We love the community behind Github actions as you can find actions for almost every task you need, and mainly we just need to collect the right ones to create more complex workflows.So having the build in the same place makes the work easy as we don’t have to configure any integrations. Most of our project’s code is hosted on Github.Here are some reasons why we are using Github action to build React Native apps: We will try to make the workflow as easy as possible to make it easy for everyone coming from a web background to work with( no Fastlane □ or at least no need to deal with it directly) Why Github action? In this article, i will share our approach to configuring react native apps with GitHub action to build and distribute new versions. Having a good automatic process to build and distribute new versions will help you release the app more frequently, make the feedback workflow much easier with your tester, and save you a ton of time to enjoy. As I have been building react native apps for a few years now, releasing a new app version to our tester is one of the most recurring tasks and time-consuming when it’s done manually.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |