I’m testing on iPhone(iOS 11.4.1) and iPad (Mac OS X 10.13.4)
mobile Safari sends messages, chrome does not. Even testing with opera (based on chrome) I get no events.
<script src="https://browser.sentry-cdn.com/4.6.4/bundle.min.js" crossorigin="anonymous"></script>
<script type="text/javascript">
Sentry.init({ dsn: 'https://78e9f10102031023035de42acaf@sentry.io/5552281' });
Sentry.captureException('this is a test');
</script>
I’ve also tried
<button onclick="onSendException()" id="sendErr">
SEND ERROR
</button>
<script>
function onSendException(){
document.querySelector("#sendErr").innerHTML = Sentry.captureException('custom error');
}
</script>
and can see that the uid gets generated, but no message is sent.
Has anyone else experienced this error and found a way to get it to work?