Raven.showReportDialog not working with Cordova project
See original GitHub issueThe Raven.showReportDialog
does work with Cordova iOS / Android platforms, I got the the 403 Forbidden
error when trying to run the following in Safari console
Raven.captureMessage('hello')
Raven.showReportDialog();
[Error] Failed to load resource: the server responded with a status of 403 (FORBIDDEN) (error-page, line 0) https://sentry.*.*/api/embed/error-page/?eventId=d7fc7cb94a9441ca977960d6f75ddb0a&dsn=*
The above snippets work fine in Cordova Browser platform.
I’d suspect that it has something to do with the fact the both iOS / Android platforms running the index.html
in file://
protocol instead of http://
protocol Browser
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:14 (9 by maintainers)
Top Results From Across the Web
showReportDialog not working - #sentry
Hi,. When I call Raven.showReportDialog(); it does not work, gives me this error RavenConfigError {name: "RavenConfigError", message: ...
Read more >Top 5 raven-js Code Examples - Snyk
To help you get started, we've selected a few raven-js examples, based on popular ways it is used in public projects. Secure your...
Read more >Error logging to Sentry.io - source maps not working - ionic-v3
Hi, has anyone managed to log errors to sentry.io with correct source mapping? I am using ravenjs for the integration.
Read more >Recently Active 'sentry' Questions - Page 2 - Stack Overflow
Problem Description: I am developing a JavaScript sdk package, ... I have uploaded my Cordova app on PlayStore and I got the following...
Read more >User Feedback for JavaScript | Sentry Documentation
When feedback is provided, Sentry pairs the feedback with the original event, giving you additional insights into issues. The screenshot below provides an ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
Since there’s no origin checking on mobile devices for Cordova apps, there’s very little difference between using a “secret” key or using a public key. These keys permit write-only access of event data; they do not confer any other API access.