Skip to content

Commit

Permalink
Merge branch 'main' into modify-mockserver-for-android
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelSalas authored Oct 22, 2024
2 parents a392903 + a22efa0 commit ce86451
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ setupSentry();
import { AppRegistry, LogBox, ErrorUtils } from 'react-native';
import Root from './app/components/Views/Root';
import { name } from './app.json';
import { isTest } from './app/util/test/utils.js';
import { isE2E } from './app/util/test/utils.js';

import { Performance } from './app/core/Performance';
import { handleCustomError, setReactNativeDefaultHandler } from './app/core/ErrorHandler';
Expand Down Expand Up @@ -90,7 +90,7 @@ if (IGNORE_BOXLOGS_DEVELOPMENT === 'true') {
*/
AppRegistry.registerComponent(name, () =>
// Disable Sentry for E2E tests
isTest ? Root : Sentry.wrap(Root),
isE2E ? Root : Sentry.wrap(Root),
);

function setupGlobalErrorHandler() {
Expand Down
2 changes: 2 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ buildAndroidRun(){
}

buildAndroidRunQA(){
remapEnvVariableLocal
prebuild_android
react-native run-android --port=$WATCHER_PORT --variant=qaDebug --active-arch-only
}
Expand Down Expand Up @@ -551,6 +552,7 @@ buildIos() {

startWatcher() {
source $JS_ENV_FILE
remapEnvVariableLocal
WATCHER_PORT=${WATCHER_PORT:-8081}
if [ "$MODE" == "clean" ]; then
watchman watch-del-all
Expand Down

0 comments on commit ce86451

Please sign in to comment.