Skip to content

Commit

Permalink
Fix android release mode (#2073)
Browse files Browse the repository at this point in the history
* fix android release mode

* fix java bs error
  • Loading branch information
brunobar79 committed Jun 1, 2021
1 parent 5cb4a58 commit aaf611a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
4 changes: 3 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ android {
signingConfig signingConfigs.release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
// Detox-specific additions to pro-guard
proguardFile "${rootProject.projectDir}/../node_modules/detox/android/detox/proguard-rules-app.pro"
}
}

Expand Down Expand Up @@ -291,7 +293,7 @@ dependencies {
}

// DETOX
androidTestImplementation(project(path: ":detox"))
androidTestImplementation('com.wix:detox:+')

}

Expand Down
5 changes: 4 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ allprojects {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}

maven {
// All of Detox' artifacts are provided via the npm module
url "$rootDir/../node_modules/detox/Detox-android"
}
maven { url 'https://www.jitpack.io' }
}
}
4 changes: 3 additions & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ android.enableJetifier=true
FLIPPER_VERSION=0.75.1

# jvmargs
org.gradle.jvmargs = -Xmx4096m
org.gradle.jvmargs=-Xmx4608m


10 changes: 2 additions & 8 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,6 @@ PODS:
- React-jsinspector (0.64.1)
- react-native-aes-crypto (2.0.2):
- React-Core
- react-native-background-timer (2.4.1):
- React-Core
- react-native-blur (0.8.0):
- React
- react-native-branch (5.0.0):
Expand Down Expand Up @@ -662,7 +660,6 @@ DEPENDENCIES:
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
- react-native-aes-crypto (from `../node_modules/react-native-aes-crypto`)
- react-native-background-timer (from `../node_modules/react-native-background-timer`)
- "react-native-blur (from `../node_modules/@react-native-community/blur`)"
- react-native-branch (from `../node_modules/react-native-branch`)
- react-native-camera (from `../node_modules/react-native-camera`)
Expand Down Expand Up @@ -819,8 +816,6 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/jsinspector"
react-native-aes-crypto:
:path: "../node_modules/react-native-aes-crypto"
react-native-background-timer:
:path: "../node_modules/react-native-background-timer"
react-native-blur:
:path: "../node_modules/@react-native-community/blur"
react-native-branch:
Expand Down Expand Up @@ -963,7 +958,7 @@ SPEC CHECKSUMS:
Branch: 9a37f707974a128c37829033c49018b79c7e7a2d
BVLinearGradient: e3aad03778a456d77928f594a649e96995f1c872
CocoaAsyncSocket: 694058e7c0ed05a9e217d1b3c7ded962f4180845
DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de
DoubleConversion: cde416483dac037923206447da6e1454df403714
FBLazyVector: 7b423f9e248eae65987838148c36eec1dbfe0b53
FBReactNativeSpec: 33e2f8675972eb67db4ba99e9c6c5317babab53b
Firebase: 210f41ca352067d83b1ba4fd2e7fb49a0c017397
Expand All @@ -981,7 +976,7 @@ SPEC CHECKSUMS:
Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
Flipper-RSocket: 127954abe8b162fcaf68d2134d34dc2bd7076154
FlipperKit: 8a20b5c5fcf9436cac58551dc049867247f64b00
glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62
glog: 40a13f7840415b9a77023fbcae0f1e6f43192af3
GoogleDataTransport: 672fb0ce96fe7f7f31d43672fca62ad2c9c86f7b
GoogleUtilities: 7f2f5a07f888cdb145101d6042bc4422f57e70b3
hermes-engine: 7d97ba46a1e29bacf3e3c61ecb2804a5ddd02d4f
Expand Down Expand Up @@ -1012,7 +1007,6 @@ SPEC CHECKSUMS:
React-jsiexecutor: 124e8f99992490d0d13e0649d950d3e1aae06fe9
React-jsinspector: 500a59626037be5b3b3d89c5151bc3baa9abf1a9
react-native-aes-crypto: d7e87fd02cee7285983c00957a34063dfc4c94b3
react-native-background-timer: 17ea5e06803401a379ebf1f20505b793ac44d0fe
react-native-blur: cad4d93b364f91e7b7931b3fa935455487e5c33c
react-native-branch: 8bda99ca8dc5a16d32bd81c8a8d937cb3d2c5e0c
react-native-camera: 35854c4f764a4a6cf61c1c3525888b92f0fe4b31
Expand Down

0 comments on commit aaf611a

Please sign in to comment.