Sentry-javascript: Add documentation for Apache Cordova

Created on 20 Aug 2015  路  4Comments  路  Source: getsentry/sentry-javascript

This includes full examples of trimming filenames, uploading releases, and ensuring the sourcemap URL is correct. It'd also suggest how allowed domains needs configured (wildcard match).

See also https://gist.github.com/dcramer/25b09c916a1f82a6838d

Most helpful comment

For anyone else looking, this is how we've solved it for Cordova: https://gist.github.com/danharper/a89685cc1028759345b8

All 4 comments

See also #352 which should be a proper API before we document hacks like the gist.

For anyone else looking, this is how we've solved it for Cordova: https://gist.github.com/danharper/a89685cc1028759345b8

Hi,

About Cordova. I'm wondering how do you filter on origins currently, because I tried to allow origin "file://" but it does not work, I always get error {"error":"Invalid origin: file://"} unless I set * as allowed origin on sentry API. How to be secure with Cordova apps?

We have a new Cordova SDK https://github.com/getsentry/sentry-cordova
Documentation: https://docs.sentry.io/clients/cordova/

Feedback is highly appreciated, closing this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grigored picture grigored  路  3Comments

simllll picture simllll  路  3Comments

Nickforall picture Nickforall  路  3Comments

kamilogorek picture kamilogorek  路  3Comments

THPubs picture THPubs  路  3Comments