forked from Ivasoft/mattermost-mobile
* Sentry - Clean Install * Update config.yml * update CI to install Sentry CLI * update CI to install Sentry CLI * Squashed commit of the following: commite1996e59deMerge:87cc8d6f22e8352f3eAuthor: Avinash Lingaloo <avinashlng1080@gmail.com> Date: Fri Nov 4 20:59:29 2022 +0400 Merge branch 'android-pr-sentry-clean' of https://github.com/mattermost/mattermost-mobile into android-pr-sentry-clean commit2e8352f3e1Author: Elias Nahum <nahumhbl@gmail.com> Date: Fri Nov 4 15:48:24 2022 +0200 update CI to install Sentry CLI commit87cc8d6f2bAuthor: Elias Nahum <nahumhbl@gmail.com> Date: Fri Nov 4 15:48:24 2022 +0200 update CI to install Sentry CLI commit8dca885a02Author: Avinash Lingaloo <avinashlng1080@gmail.com> Date: Fri Nov 4 16:48:47 2022 +0400 Update config.yml commit684bbb4aefAuthor: Mylon Suren <23694620+mylonsuren@users.noreply.github.com> Date: Thu Nov 3 11:37:58 2022 -0400 Remove down arrow next to team name and make team name unclickable (#6715) commit88ff8fac30Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Nov 2 19:35:23 2022 -0500 [Bug] Emit boolean with "of" operator (#6729) commitdebcc99480Author: Jason Frerich <jason.frerich@mattermost.com> Date: Wed Nov 2 12:15:54 2022 -0500 [Gekidou MM-48006] Show keyboard when select a modifier (#6714) * Delete @sentry+react-native+4.6.1.patch * correction from PR review * Add logError to DatabaseManager * removes sentry context from android build job * removes team+channel data * shift active server listener to home/index * Revert "shift active server listener to home/index" This reverts commit75e26faadd. * refactor after PR Review Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
21 lines
577 B
Bash
Executable File
21 lines
577 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.ts"
|
|
|
|
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 \
|
|
../node_modules/react-native/scripts/react-native-xcode.sh
|
|
else
|
|
echo "Sentry native integration is not enabled"
|
|
../node_modules/react-native/scripts/react-native-xcode.sh
|
|
fi
|