- Clone repo to your working directory
- In the root of working directory execute
npx @applicaster/zapplicaster-cli init
from terminal - Finish CLI initialization completed requested data from the script
- In the root directory execute
yarn prepare_app -a ZAPP_APPLICATION_ID -b
from terminal - Run
yarn start
to start local server prepare_app script will prepare local environmment for plugins that exists inplugins
folder. Also it will prepare the directory for a builder of the selected platform Note: please checkpackage.json
file inscripts
section for possible command line options
Build application from XCode in the directory that was provided during cli initialization
- Start Android Simulator
- Call
./gradlew installMobileGoogleDebug -PREACT_NATIVE_PACKAGER_ROOT=localhost:8081
in the Android builder folder to build and attach application to simulator - Call
adb reverse tcp:8081 tcp:8081
to connect local server - Call
adb shell input keyevent 82
when application is running to show RN debug dialog - CLI script will ask configuration options and set up the environment