building release version for the tests
This commit is contained in:
parent
cdf64ab09b
commit
76ff9874e2
|
@ -151,7 +151,7 @@ android {
|
|||
missingDimensionStrategy "RNNotifications.reactNativeVersion", "reactNative60" // See note below!
|
||||
}
|
||||
resValue "string", "rn_config_reader_custom_package", "chat.rocket.reactnative"
|
||||
testBuildType System.getProperty('testBuildType', 'debug') // This will later be used to control the test apk build type
|
||||
testBuildType System.getProperty('testBuildType', 'release') // This will later be used to control the test apk build type
|
||||
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
||||
}
|
||||
|
||||
|
@ -236,7 +236,6 @@ android {
|
|||
}
|
||||
|
||||
testBuildType "release"
|
||||
testBuildType "debug"
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
variant.outputs.each { output ->
|
||||
|
|
|
@ -34,4 +34,9 @@ APPLICATION_ID=chat.rocket.reactnative
|
|||
|
||||
# App properties
|
||||
VERSIONCODE=999999999
|
||||
BugsnagAPIKey=""
|
||||
BugsnagAPIKey=""
|
||||
|
||||
KEYSTORE=release.keystore
|
||||
KEY_PASSWORD=password
|
||||
KEY_ALIAS=rocketchat_test_keystore
|
||||
KEYSTORE_PASSWORD=password
|
10
package.json
10
package.json
|
@ -227,15 +227,15 @@
|
|||
}
|
||||
},
|
||||
"android.experimental.play.emu.debug": {
|
||||
"device": "Pixel_API_28_AOSP",
|
||||
"type": "android.emulator",
|
||||
"device": "CVH7N15C14003503",
|
||||
"type": "android.attached",
|
||||
"binaryPath": "android/app/build/outputs/apk/experimentalPlay/debug/app-experimental-play-debug.apk",
|
||||
"build": "cd android && ./gradlew app:assembleExperimentalPlayDebug app:assembleAndroidTest -DtestBuildType=debug && cd .."
|
||||
},
|
||||
"android.experimental.play.emu.release": {
|
||||
"device": "Pixel_API_28_AOSP",
|
||||
"type": "android.emulator",
|
||||
"binaryPath": "android/app/build/outputs/apk/experimentalPlay/debug/app-experimental-play-release.apk",
|
||||
"device": "CVH7N15C14003503",
|
||||
"type": "android.attached",
|
||||
"binaryPath": "android/app/build/outputs/apk/experimentalPlay/release/app-experimental-play-release.apk",
|
||||
"build": "cd android && ./gradlew app:assembleExperimentalPlayRelease app:assembleAndroidTest -DtestBuildType=release && cd .."
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue