You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AppBuilder documentation includes the following code block:
function onDeviceReady() {
window.analytics.Start();
// existing code goes here
}
function onPause() {
window.analytics.Stop();
// existing code goes here
}
function onResume() {
window.analytics.Start();
// existing code goes here
}
// todo: handle global exceptions. See eg:
// http://stackoverflow.com/questions/951791/javascript-global-error-handling
Developers are lazy and this is a copy-and-paste friendly way of adding analytics functionality—i.e. you can paste it in and it works without any extra work.
The “todo” the currently provided code has for error functionality sends people on a wild goose chase. I'm still not even sure if the way I'm telling the plugin to track errors is even correct because I can't seem to get messages to appear in the backend.
Thanks.
The text was updated successfully, but these errors were encountered:
The AppBuilder documentation includes the following code block:
I would suggest replacing this with code with:
Developers are lazy and this is a copy-and-paste friendly way of adding analytics functionality—i.e. you can paste it in and it works without any extra work.
The “todo” the currently provided code has for error functionality sends people on a wild goose chase. I'm still not even sure if the way I'm telling the plugin to track errors is even correct because I can't seem to get messages to appear in the backend.
Thanks.
The text was updated successfully, but these errors were encountered: