[TIMOB-13034] iOS: Titanium analytics only sent when app is packaged for distribution
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-03-14T15:42:27.000+0000 |
Affected Version/s | Release 3.0.2 |
Fix Version/s | n/a |
Components | iOS |
Labels | ios, mobile, mobilesdk, titanium |
Reporter | Ashish Nigam |
Assignee | Ingo Muschenetz |
Created | 2013-03-12T12:07:17.000+0000 |
Updated | 2017-03-21T18:50:41.000+0000 |
Description
I tried using the analytics from titanium and found that sometimes it fetches the analytics and sometimes not.
*in my tiapp.xml* i set analytics to true.
<analytics>true</analytics>
and in app.js
Titanium.UI.setBackgroundColor('#fff');
var win = Titanium.UI.createWindow({
});
win.open();
win.addEventListener("click", function() {
Ti.Analytics.navEvent("AFTER open to", "click event");
});
That is not a bug actually, it was user error. But in my analysis i found its not working for developer build.
This is as expected, based on the comments here: http://docs.appcelerator.com/titanium/latest/#!/guide/Ti_Analytics "In order for your app's analytics data to show up you need to package your app for distribution."
Closing ticket as invalid.