Closed akunal1 closed 1 year ago
Hey @akunal1,
creating a release variant of the app isn't fully implemented on the finished branch. I've created a separate branch called release
where I've introduced some modifications to make it possible. Here's what you need to do to run the release variant on Android emulator:
packages/mini-app
. The output of this command will be inside of the packages/mini-app/build
:
yarn bundle
host-app
:
python3 -m http.server 11000 --directory build/outputs/
adb reverse tcp:11000 tcp:11000
If you want to launch the release variant on your phone you will have to host the bundles on a publicly accessible server. You will also have to modify index.js
inside of packages/host-app
. In there, please adjust the address for the production bundles.
Modifications introduced to make it possible:
Re.Pack
to 3.2.0
which fixes an issue with creating production bundlesIf you want to launch the release variant on the iOS you will also have to:
Re.Pack
3.2.0 introduced new pod dependenciesReact-Codegen
deployment target to iOS 12.4
inside of Xcode (this bug was fixed in RN 0.71.6)Please let me know whether you were able to run the app in release successfully.
Closing this issue since solution was provided.
Steps to reproduce.
I just wanted to know , If I am missing out any steps to build the prod app or this is not the correct way to it .
Thanks in Advance.