-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump Sentry JavasScript 7.119.0 / Wizard, Exposes Replay feature (#354)
* bump js 7.114.0, bump wizard 3.32, expose replay, add replay on sample * bump to js 7.118.0 * remove fixed dist on sample * changelog * add unreleased mark * Update sample/package.json * Update src/js/sentry-cordova.ts * bump js * update sample * update changelog * Update sample/www/js/index.js * 7.119.1
- Loading branch information
1 parent
6445e67
commit 4ba977a
Showing
10 changed files
with
1,439 additions
and
1,126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,10 +23,29 @@ document.addEventListener('deviceready', onDeviceReady, false); | |
|
||
function onDeviceReady() { | ||
// Cordova is now initialized. Have fun! | ||
/*** | ||
* @type {import("sentry-cordova")} | ||
*/ | ||
var Sentry = cordova.require("sentry-cordova.Sentry"); | ||
Sentry.init({ | ||
dsn: 'https://[email protected]/5627302', | ||
debug: true, | ||
integrations: [ | ||
// Replay integration. | ||
Sentry.replayIntegration({ | ||
maskAllInputs: false, | ||
blockAllMedia: true | ||
}), | ||
// Tracing integration. | ||
Sentry.browserTracingIntegration(), | ||
], | ||
|
||
// Replay sampling filters. | ||
replaysSessionSampleRate: 1, | ||
replaysOnErrorSampleRate: 1, | ||
|
||
// Tracing sampling filter. | ||
tracesSampleRate: 1, | ||
}); | ||
|
||
console.log('Running cordova-' + cordova.platformId + '@' + cordova.version); | ||
|
Oops, something went wrong.