Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13034] iOS: Titanium analytics only sent when app is packaged for distribution

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2013-03-14T15:42:27.000+0000
Affected Version/sRelease 3.0.2
Fix Version/sn/a
ComponentsiOS
Labelsios, mobile, mobilesdk, titanium
ReporterAshish Nigam
AssigneeIngo Muschenetz
Created2013-03-12T12:07:17.000+0000
Updated2017-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");
});

Comments

  1. Ashish Nigam 2013-03-14

    That is not a bug actually, it was user error. But in my analysis i found its not working for developer build.
  2. Ingo Muschenetz 2013-03-14

    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."
  3. Lee Morris 2017-03-21

    Closing ticket as invalid.

JSON Source