Skip to content

Commit

Permalink
OPS: add sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
Overtorment committed Oct 6, 2018
1 parent c16b606 commit 9960764
Show file tree
Hide file tree
Showing 4 changed files with 420 additions and 39 deletions.
5 changes: 5 additions & 0 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ import MainBottomTabs from './MainBottomTabs';
import Selftest from './screen/selftest';
import About from './screen/settings/about';
import PlausibleDeniability from './screen/plausibledeniability';
import Sentry from 'sentry-expo';


Sentry.enableInExpoDevelopment = true; // TODO: Remove this once Sentry is correctly setup.
Sentry.config('https://[email protected]/1295736').install();

/** @type {AppStorage} */
require('./BlueApp');
Expand Down
16 changes: 14 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@
},
"assetBundlePatterns": [
"**/*"
]
],
"hooks": {
"postPublish": [
{
"file": "sentry-expo/upload-sourcemaps",
"config": {
"organization": "bluewallet",
"project": "bluewallet",
"authToken": "sentry_api_key"
}
}
]
}
}
}
}
Loading

0 comments on commit 9960764

Please sign in to comment.