Description
Sending a feature event with two strings crashes the iOS application.
This used to work using 3.2.3.GA
Steps To Reproduce
1. Use the following code snippet
var window = Ti.UI.createWindow({
backgroundColor: 'white',
layout: 'vertical'
});
var button = Titanium.UI.createButton({
title: 'Send Feature Event',
top: 10,
width: Ti.UI.SIZE,
height: 50
});
button.addEventListener('click',function(e)
{
Ti.API.info("Sending Feature Event");
Ti.Analytics.featureEvent('featureEvent', 'featureEvent.testButton');
});
window.add(button);
window.open();
2. Click on the button.
Expected Result
App should send the feature event
Actual Result
App crashes
Extended Code Sample
https://github.com/appcelerator/titanium_mobile/pull/5728
3_3_X : https://github.com/appcelerator/titanium_mobile/pull/5729
Verified fixed on: Mac OSX 10.9.3 Appcelerator Studio, build: 3.3.0.201405271647 Titanium SDK, build: 3.3.0.v20140528144113 Titanium CLI, build: 3.3.0-beta Alloy: 1.4.0-beta iOS Device: iPhone 5S (7.1.1) App no longer crashes and analytical data is sent. Closing.