Skip to content

Commit

Permalink
remove crashlytics
Browse files Browse the repository at this point in the history
  • Loading branch information
marxeille committed Nov 27, 2024
1 parent 9397b4b commit 435a24d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
5 changes: 0 additions & 5 deletions apps/mobile/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services' // <- Add this line
apply plugin: 'com.google.firebase.crashlytics'
apply plugin: 'com.facebook.react'
apply from: '../../node_modules/react-native-code-push/android/codepush.gradle'
/**
Expand Down Expand Up @@ -105,10 +104,6 @@ android {
signingConfig signingConfigs.debug
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
firebaseCrashlytics {
nativeSymbolUploadEnabled true
unstrippedNativeLibsDir 'build/intermediates/merged_native_libs/release/out/lib'
}
}
}
}
Expand Down
1 change: 0 additions & 1 deletion apps/mobile/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ buildscript {
dependencies {
classpath('com.android.tools.build:gradle')
classpath 'com.google.gms:google-services:4.3.15'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2'
classpath('com.facebook.react:react-native-gradle-plugin')
}
}
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}
],
"react-native": {
"crashlytics_debug_enabled": true,
"crashlytics_debug_enabled": false,
"analytics_auto_collection_enabled": true
}
}
3 changes: 0 additions & 3 deletions apps/mobile/src/modals/sign/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { useUnmount } from '../../hooks';
import { FeeInSign } from './fee';
import { renderAminoMessage } from './amino';
import { renderDirectMessage } from './direct';
import crashlytics from '@react-native-firebase/crashlytics';
import { BottomSheetProps } from '@gorhom/bottom-sheet';
import OWText from '@src/components/text/ow-text';
import WrapViewModal from '@src/modals/wrap/wrap-view-modal';
Expand Down Expand Up @@ -114,7 +113,6 @@ export const SignModal: FunctionComponent<{
await signInteractionStore.approveAndWaitEnd(signDocHelper.signDocWrapper);
}
} catch (error) {
crashlytics().recordError(error);
console.log(error);
}
};
Expand All @@ -126,7 +124,6 @@ export const SignModal: FunctionComponent<{
signInteractionStore.rejectAll();
}
} catch (error) {
crashlytics().recordError(error);
console.error(error);
}
};
Expand Down

0 comments on commit 435a24d

Please sign in to comment.