File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed
samples/react-native/scripts Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Exit on error
4+ set -e
5+
6+ thisFilePath=$( dirname " $0 " )
7+
8+ export RN_ARCHITECTURE=" new"
9+ export CONFIG=" debug"
10+ export SENTRY_DISABLE_NATIVE_START=" true"
11+
12+ echo " Building Android with SENTRY_DISABLE_NATIVE_START=${SENTRY_DISABLE_NATIVE_START} "
13+ echo " This build will initialize Sentry from JavaScript (auto init)"
14+
15+ " ${thisFilePath} /build-android.sh"
16+
17+ # Rename the output APK to distinguish it from manual build
18+ cd " ${thisFilePath} /.."
19+ if [ -f " app.apk" ]; then
20+ mv app.apk app-auto.apk
21+ echo " Build complete: app-auto.apk"
22+ fi
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Exit on error
4+ set -e
5+
6+ thisFilePath=$( dirname " $0 " )
7+
8+ export RN_ARCHITECTURE=" new"
9+ export CONFIG=" debug"
10+ export SENTRY_DISABLE_NATIVE_START=" false"
11+
12+ echo " Building Android with SENTRY_DISABLE_NATIVE_START=${SENTRY_DISABLE_NATIVE_START} "
13+ echo " This build will initialize Sentry natively before JS (manual init)"
14+
15+ " ${thisFilePath} /build-android.sh"
16+
17+ # Rename the output APK to distinguish it from auto build
18+ cd " ${thisFilePath} /.."
19+ if [ -f " app.apk" ]; then
20+ mv app.apk app-manual.apk
21+ echo " Build complete: app-manual.apk"
22+ fi
You can’t perform that action at this time.
0 commit comments