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
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.
Most helpful comment
For anyone else looking, this is how we've solved it for Cordova: https://gist.github.com/danharper/a89685cc1028759345b8