mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-04 01:48:59 +00:00
* fix(ios): build from PR and locally in release mode * fix(android): team icon disappearing when switching teams * fix: more messages above banner animation and ios pop gesture * fix(ios): post draft out of place caused by KeyboardGestureArea
24 lines
730 B
Bash
Executable File
24 lines
730 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[[ -s $HOME/.nvm/nvm.sh ]] && . $HOME/.nvm/nvm.sh
|
|
|
|
export NODE_OPTIONS=--max_old_space_size=12000
|
|
export BUNDLE_COMMAND="bundle"
|
|
export ENTRY_FILE="index.tsx"
|
|
|
|
set -e
|
|
WITH_ENVIRONMENT="../node_modules/react-native/scripts/xcode/with-environment.sh"
|
|
REACT_NATIVE_XCODE="../node_modules/react-native/scripts/react-native-xcode.sh"
|
|
SENTRY_XCODE="../node_modules/@sentry/react-native/scripts/sentry-xcode.sh"
|
|
|
|
if [[ "${SENTRY_ENABLED}" = "true" ]]; then
|
|
echo "Sentry native integration is enabled"
|
|
chmod +x $SENTRY_XCODE
|
|
|
|
export SENTRY_PROPERTIES=sentry.properties
|
|
/bin/sh -c "$WITH_ENVIRONMENT $SENTRY_XCODE"
|
|
else
|
|
echo "Sentry native integration is not enabled"
|
|
/bin/sh -c "$WITH_ENVIRONMENT $REACT_NATIVE_XCODE"
|
|
fi
|