* Added JS code for Sentry * Removed leftover initializeSentry call * Added SentryOptions config setting * Added native components for react-native-exception-handler * Removed default props from ErrorText * Moved where Sentry is initialized * Added ios/sentry.properties to .gitignore * Added linking react-native-sentry to Fastlane * Fixed fastlane to include newlines in sentry.properties * Moved to manually link react-native-sentry * Captured redux errors with Sentry * Redid how Sentry is optionally compiled to be simpler * Added Sentry middleware to create redux breadcrumbs * Added Sentry tags for server version * Initialize Sentry when testing * Fixed string replacement for SentryEnabled in fastlane * Added react-native-sentry to NOTICE.txt
15 lines
445 B
Bash
Executable file
15 lines
445 B
Bash
Executable file
#!/bin/sh
|
|
|
|
export NODE_BINARY=node
|
|
|
|
if [[ "${SENTRY_ENABLED}" = "true" ]]; then
|
|
echo "Sentry native integration is enabled"
|
|
|
|
./makeSentryProperties.sh
|
|
|
|
export SENTRY_PROPERTIES=sentry.properties
|
|
../node_modules/sentry-cli-binary/bin/sentry-cli react-native xcode ../node_modules/react-native/packager/react-native-xcode.sh
|
|
else
|
|
echo "Sentry native integration is not enabled"
|
|
../node_modules/react-native/packager/react-native-xcode.sh
|
|
fi
|