Taro-Mortgage-Calculator icon indicating copy to clipboard operation
Taro-Mortgage-Calculator copied to clipboard

How to build or integrate a release react native ios/android APP?

Open Resulte opened this issue 2 years ago • 2 comments

I want to build a release react native ios/android APP, and publish it to App Store. Have any tutorial or docs for this?

Resulte avatar Aug 09 '22 15:08 Resulte

https://docs.taro.zone/docs/react-native

zhiqingchen avatar Aug 09 '22 16:08 zhiqingchen

I mean have any tutorial or docs to build a release App for this application(Taro-Mortgage-Calculator) in detail?

Resulte avatar Aug 09 '22 16:08 Resulte

No, the project only packages jsbundle and required static resources. The process of packaging into apk or ipa is similar to RN.

The native code can refer to taro-native-shell.

Android packaging process can refer to https://github.com/NervJS/taro-native-shell/blob/0.69.0/.github/workflows/assemble_android_release.yml

iOS packaging process can refer to https://github.com/NervJS/taro-native-shell/blob/0.69.0/.github/workflows/assemble_ios_release.yml

What you need to do is to modify the configuration and change the output path of yarn build:rn to the corresponding location of the taro-native-shell.

zhiqingchen avatar Nov 22 '22 08:11 zhiqingchen

Thanks for your answer! @zhiqingchen

Resulte avatar Nov 22 '22 11:11 Resulte