2018-05-16 00:25:16 +00:00
|
|
|
# These should match the recommended versions listed in
|
|
|
|
# https://facebook.github.io/react-native/docs/getting-started.html
|
|
|
|
|
|
|
|
|
|
|
|
## ANDROID ##
|
|
|
|
# Android SDK Build Tools revision
|
2018-08-23 06:07:33 +00:00
|
|
|
export ANDROID_SDK_BUILD_TOOLS_REVISION=27.0.3
|
2018-05-16 00:25:16 +00:00
|
|
|
# Android API Level we build with
|
2018-08-23 06:07:33 +00:00
|
|
|
export ANDROID_SDK_BUILD_API_LEVEL="27"
|
2018-05-16 15:49:57 +00:00
|
|
|
# Google APIs for Android level
|
|
|
|
export ANDROID_GOOGLE_API_LEVEL="23"
|
2018-05-16 00:25:16 +00:00
|
|
|
# Minimum Android API Level we target
|
|
|
|
export ANDROID_SDK_TARGET_API_LEVEL="19"
|
|
|
|
# Android Virtual Device name
|
|
|
|
export AVD_NAME="testAVD"
|
|
|
|
# ABI to use in Android Virtual Device
|
|
|
|
export AVD_ABI=x86
|
|
|
|
|
|
|
|
## IOS ##
|
2018-06-10 23:53:22 +00:00
|
|
|
export IOS_TARGET_OS="11.4"
|
2018-05-16 00:25:16 +00:00
|
|
|
export IOS_DEVICE="iPhone 5s"
|
|
|
|
|
|
|
|
export SCHEME="RNTester"
|
|
|
|
export SDK="iphonesimulator${IOS_TARGET_OS}"
|
|
|
|
export DESTINATION="platform=iOS Simulator,OS=${IOS_TARGET_OS},name=${IOS_DEVICE}"
|
|
|
|
|
|
|
|
## CI OVERRIDES ##
|
|
|
|
# Values to override when running in CI
|
|
|
|
# $CI is set by Circle CI
|
|
|
|
if [ $CI ]; then
|
|
|
|
# Use ARM on Circle CI
|
|
|
|
export AVD_ABI=armeabi-v7a
|
|
|
|
fi
|
|
|
|
|