Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

enable sentry

ammarahm-ed85dbd900c54d
diff --git a/apps/mobile/App.js b/apps/mobile/App.js
index 02a406b42..923449905 100644
--- a/apps/mobile/App.js
+++ b/apps/mobile/App.js
@@ -55,8 +55,7 @@ import {MMKV} from './src/utils/mmkv';
import {sleep} from './src/utils/TimeUtils';
import EditorRoot from './src/views/Editor/EditorRoot';
import {getNote} from './src/views/Editor/Functions';
-
-let Sentry = null;
+import Sentry from '@sentry/react-native';
let hasPurchased = false;
function updateStatusBarColor() {
@@ -301,11 +300,11 @@ const App = () => {
.catch(console.log);
});
- //Sentry = require('@sentry/react-native');
- // Sentry.init({
- // dsn:
- // 'https://[email protected]/5519681',
- // });
+ Sentry.init({
+ dsn:
+ 'https://[email protected]/5519681',
+ });
+
};
const setCurrentUser = async () => {