forked from Ivasoft/mattermost-mobile
Barebones code for v2
This commit is contained in:
15
ios/bundleReactNative.sh
Executable file
15
ios/bundleReactNative.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
export NODE_OPTIONS=--max_old_space_size=12000
|
||||
export BUNDLE_COMMAND="ram-bundle"
|
||||
if [[ "${SENTRY_ENABLED}" = "true" ]]; then
|
||||
echo "Sentry native integration is enabled"
|
||||
|
||||
./makeSentryProperties.sh
|
||||
|
||||
export SENTRY_PROPERTIES=sentry.properties
|
||||
../node_modules/@sentry/cli/bin/sentry-cli react-native xcode ./react-native-xcode.sh
|
||||
else
|
||||
echo "Sentry native integration is not enabled"
|
||||
./react-native-xcode.sh
|
||||
fi
|
||||
Reference in New Issue
Block a user