Skip to content

Commit c2da414

Browse files
committed
Add Android Build Release command
1 parent bd16eb6 commit c2da414

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"ios": "react-native run-ios",
88
"start": "react-native start",
99
"build:android": "cd android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
10+
"build:android:release": "cd android && ./gradlew app:assembleRelease && cd ..",
1011
"build:ios": "cd ios && xcodebuild -workspace GetRandomValuesExample.xcworkspace -scheme GetRandomValuesExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO"
1112
},
1213
"dependencies": {

0 commit comments

Comments
 (0)