Hybrid app (DevExteme) doesn't send anything to Raygun
gogcam
Posted on
Jan 13 2016
Hello
We are trying out Raygun for our DevExtreme hybrid app. We face the problem that no notifications are sent when we use it on real iOS/Android devices. In normal browsers like Chrome it works and we get error notifications.
We have included Raygun in the following way (at the end of the head):
<script type="text/javascript">
!function (a, b, c, d, e, f, g, h) {
a.RaygunObject = e, a[e] = a[e] || function () {
(a[e].o = a[e].o || []).push(arguments)
}, f = b.createElement(c), g = b.getElementsByTagName(c)[0],
f.async = 1, f.src = d, g.parentNode.insertBefore(f, g), h = a.onerror, a.onerror = function (b, c, d, f, g) {
h && h(b, c, d, f, g), g || (g = new Error(b)), a[e].q = a[e].q || [], a[e].q.push({
e: g
})
}
}(window, document, "script", "https://cdn.raygun.io/raygun4js/raygun.min.js", "rg4js");
</script>
<script type="text/javascript">
rg4js('apiKey', 'ourKeyIsHere');
rg4js('enableCrashReporting', true);
rg4js('enablePulse', true);
rg4js('setUser', {
identifier: 'notloggedin@anonymous.ch',
isAnonymous: true,
email: 'notloggedin@anonymous.ch',
firstName: 'Unknown',
fullName: 'Unknown'
});
</script>
Do you see what we are missing or what could cause the problem?
Any help would be great.
Best Regards, Manfred
gogcam
Posted on
Jan 14 2016
I don't think that I have changed something, but now it works. Sorry for this thread!