@expo/repack-app
v0.0.6
Published
Repacking tool for Expo apps
Downloads
34,883
Maintainers
Keywords
Readme
@expo/repack-app
Repacking tool for Expo apps
Repack an onboarding app for Android
- Install repack-app
$ bun i
- Generate golden apk
$ ./scripts/create-golden-apk.sh
The golden apk will be generated at ./golden-debug.apk
Have an onboarding app setup at /path/to/sdk51onboard
Repack by cli
$ bun bin/cli.js -p android --source-app ./golden-debug.apk /path/to/sdk51onboard
- Install the app
$ adb install -r /path/to/sdk51onboard/repacked.apk
Repack an onboarding app for iOS simulators
- Install repack-app
$ bun i
- Generate golden apk
$ ./scripts/create-golden-ipa.sh iphonesimulator
The golden apk will be generated at ./golden-debug-iphonesimulator.ipa
Have an onboarding app setup at /path/to/sdk51onboard
Repack by cli
$ bun bin/cli.js -p ios --source-app ./golden-debug-iphonesimulator.ipa /path/to/sdk51onboard
- Install the app
$ mkdir tmp && unzip /path/to/sdk51onboard/repacked.ipa -d tmp && xcrun simctl install booted tmp/Payload/*.app
Repack an onboarding app for iOS devices
- Install repack-app
$ bun i
- Generate golden apk
$ ./scripts/create-golden-ipa.sh iphoneos
The golden apk will be generated at ./golden-debug-iphoneos.ipa
Have an onboarding app setup at /path/to/sdk51onboard
Repack by cli
$ bun bin/cli.js -p ios --source-app ./golden-debug-iphoneos.ipa /path/to/sdk51onboard
# then resign the ipa maybe through fastlane resign
# or the cli also provides a shorthand
$ bun bin/cli.js -p ios --source-app ./golden-debug-iphoneos.ipa \
--signing-identity 'Apple Development: OOO (XXX)' \
--provisioning-profile "$HOME/Library/MobileDevice/Provisioning Profiles/e1cf123b-d33a-2b3e-073a-c7ed52aa61bb.mobileprovision" \
/path/to/sdk51onboard
- Install the app
$ xcrun devicectl device install app --verbose --device <device-id> /path/to/sdk51onboard/repacked.ipa