Package Exports
- react-native-expo-turtle-build-and-upload
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-expo-turtle-build-and-upload) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
React Native Expo Turtle Build & Upload
Developed with ♥ and sponsored by Polyglot and Happii LLC.
react-native-expo-turtle-build-and-upload is a set of GNU Make targets for building and uploading React Native application releases for iOS and Android. It exposes a GNU Make file build-and-upload
in the directory node_modules/react-native-expo-turtle-build-and-upload
which you must include in your project's makefile
.
Requirements
- A React Native application bootstrapped via
expo init
. - Xcode Command Line Tools (
xcode-select --install
). - fastlane (
brew install fastlane && brew link fastlane
).
Installation & Setup
npm
npm install react-native-expo-turtle-build-and-upload --save-dev
yarn
yarn add react-native-expo-turtle-build-and-upload --dev
configure app.json
setup environment variables
CERTIFICATE_ROOT
: directory containingios_distribution.mobileprovision
andios_distribution.p12
.EXPO_USERNAME
: Expo account username.EXPO_PASSWORD
: Expo account password.EXPO_APPLE_TEAM_ID
: Apple Team ID - (a 10-character string likeQ2DBWS92CA
).EXPO_IOS_DIST_P12_PASSWORD
: iOS Distribution Certificate password.IOS_APP_UPLOAD_USERNAME
: Apple Developer account username.IOS_APP_UPLOAD_PASSWORD
: Apple Developer account application-specific password.EXPO_SDK_VERSION
: Expo SDK version of your app.
add the following line to your makefile
include node_modules/react-native-expo-turtle-build-and-upload/build-and-upload
Available Targets
turtle-build-ios
to-appstore
turtle-build-android
to-playstore
Usage
build ios_distribution.ipa
for the app store
make turtle-build-ios
upload ios_distribution.ipa
to the app store
make to-appstore
build android_distribution.apk
for the app store
make turtle-build-android
upload android_distribution.apk
to the play store
make to-playstore