Skip to content

Commit

Permalink
bump Sentry Android to 7.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-zimerman committed Mar 20, 2024
1 parent bb0eb4f commit 96eec29
Show file tree
Hide file tree
Showing 6 changed files with 1,800 additions and 2,881 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@sentry/hub": "7.34.0",
"@sentry/types": "7.34.0",
"@sentry/utils": "7.34.0",
"@sentry/wizard": "^3.16.1"
"@sentry/wizard": "^3.21.0"
},
"devDependencies": {
"@sentry-internal/eslint-config-sdk": "7.34.0",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<repo>https://github.com/getsentry/sentry-cordova.git</repo>
<issue>https://github.com/getsentry/sentry-cordova/issues</issue>

<preference name="SENTRY_ANDROID_SDK_VERSION" default="6.11.0"/>
<preference name="SENTRY_ANDROID_SDK_VERSION" default="7.6.0"/>

<engines>
<!-- https://issues.apache.org/jira/browse/CB-10239?jql=labels%20%3D%20cordova-8.0.0 -->
Expand Down
10 changes: 5 additions & 5 deletions sample/www/js/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ function buttonClick(){ {
console.log("execute capture error");
try {
data_throwerror();

} catch (error) {
var Sentry = cordova.require("sentry-cordova.Sentry", "debug");
Sentry.captureException(error);

}

}}
Expand All @@ -30,7 +30,7 @@ function captureMessage(){ {
function native(){ {
console.log("execute native");
var Sentry = cordova.require("sentry-cordova.Sentry");
Sentry.crash();
Sentry.nativeCrash();

}}

Expand All @@ -42,12 +42,12 @@ function addBreadcrumb(){ {
category: "auth",
message: "Authenticated user 1234",
level: "log",
});
});
}}

function setTag(){ {
console.log("execute settag");
var Sentry = cordova.require("sentry-cordova.Sentry");
Sentry.setTag("tag", "value");

}}
}}
2 changes: 1 addition & 1 deletion sample/yalc.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": "v1",
"packages": {
"sentry-cordova": {
"signature": "3e632c35ff5297f3595a5d05b5108a10",
"signature": "e2954ab708fdc853c3f51a10930867cf",
"file": true,
"replaced": "file:../"
}
Expand Down
Loading

0 comments on commit 96eec29

Please sign in to comment.