Good thing 3: CodePush This is a bit off topic from CI/CD, but App Center offers a platform called "CodePush" that allows you to download and replace just the JS bundle without changing the binaries for ReactNative. By using CodePush, you can change the JS code without waiting for Apple's review. the need to wait a day or two for a review to make minor design changes, such as increasing the size of an icon or adjusting the font size . Thanks to CodePush, we were able to significantly improve our release speed and test app modification speed. However, CodePush has the disadvantage that the release flow becomes complicated because the JS code and binary code are deployed to App Center and each store independently.
Be careful! Things to keep in mind when using App Center Things you should be careful about ①: Be careful of restrictions on the free tier (actually paid) App Center is basically free to use, but it has limited functionality, so you can actually call it a paid service . The Phone Number List free tier has the following limitations: 240 build time (minutes)/month Up to 30 minutes per build In my case, I had a lot of trouble with the 30 minute build time limit. An Android build can be completed in 20 minutes, but an iOS build can easily take over 30 minutes. If it exceeds 30 minutes, an error will occur and the build will be cancelled. Therefore, if you want to build iOS apps, you will almost certainly need to pay for the unlimited build plan.
This is a trap...! By the way, if you change to the ¥4,480/month plan, 240 build time (min)/month → unlimited Up to 30 minutes → up to 60 minutes per build You can change it to However, there are basically no services that provide an iOS build environment on the cloud for free (I couldn't find one), so this may be a necessary expense. Things to be careful about ②: Does not support tagged push App Center builds are configured on a branch-by-branch basis and do not support tagged pushes. for example Distribute test app once pushed to master Add a release tag on master and push it to make it live Such a release flow cannot be reproduced in App Center. You need to separate the branch where you will distribute the test app and the branch where you will upload the ipa and apk files to the production store.
|