I installed and configured succesfully Sentry for cordova. Howewer Chrome DeveloperTools for virtual android returns error
document.addEventListener('deviceready', function() {
var Sentry = cordova.require("cordova-plugin-sentry.SentryCordovaBundle").default;
var SentryBrowser = cordova.require("cordova-plugin-sentry.SentryCordovaBundle").SentryBrowser;
var SentryCordova = cordova.require("cordova-plugin-sentry.SentryCordovaBundle").SentryCordova;
Sentry.create('___DSN___')
.use(SentryCordova, {sentryBrowser: SentryBrowser})
.install();
});
{
"name": "com.ordinnery.mobile",
"version": "1.0",
"displayName": "Zwyczajny.pl",
"cordova": {
"platforms": [
"windows",
"android"
],
"plugins": {
"cordova-plugin-geolocation": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-android-permissions": {},
"cordova-plugin-browsertab": {},
"onesignal-cordova-plugin": {},
"cordova-plugin-network-information": {},
"cordova-plugin-dialogs": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-facebook4": {
"APP_ID": "1274762585944081",
"APP_NAME": "Zwyczajny.pl"
},
"cordova-plugin-is-debug": {},
"sentry-cordova": {}
}
},
"dependencies": {
"@sentry/cordova": "^0.6.0",
"android-versions": "^1.2.2",
"cordova-android": "^6.3.0",
"cordova-plugin-android-permissions": "^1.0.0",
"cordova-plugin-browsertab": "^0.2.0",
"cordova-plugin-compat": "^1.2.0",
"cordova-plugin-dialogs": "^2.0.1",
"cordova-plugin-facebook4": "^1.7.4",
"cordova-plugin-geolocation": "~1.0.1",
"cordova-plugin-inappbrowser": "^1.7.2",
"cordova-plugin-is-debug": "^1.0.0",
"cordova-plugin-network-information": "^2.0.1",
"cordova-plugin-whitelist": "^1.3.3",
"cordova-windows": "~5.0.0",
"onesignal-cordova-plugin": "^2.2.2"
}
}