Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23554] Android: Ti.apiName should == 'Ti'

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-07-14T17:33:27.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.0.0
ComponentsAndroid
Labelsparity
ReporterChristopher Williams
AssigneeChristopher Williams
Created2016-06-23T22:14:31.000+0000
Updated2016-08-17T21:29:45.000+0000

Description

On Android, Ti.apiName returns 'Ti.Module', but should return 'Ti'.
it('apiName', function () {
		should(Ti).have.readOnlyProperty('apiName').which.is.a.String;
		should(Ti.apiName).be.eql('Ti'); // equals 'Ti.Module' on Android, which is incorrect.
	});

Comments

  1. Lokesh Choudhary 2016-08-17

    Verified the fix. Ti.API.info(Ti.apiName) returns Ti Closing. Environment: Appc Studio : 4.7.0.201607250649 Ti SDK : 6.0.0.v20160817065403 Ti CLI : 5.0.9 Alloy : 1.9.1 MAC El Capitan : 10.11.6 Appc NPM : 4.2.7 Appc CLI : 6.0.0-24 Node: 4.4.4 Nexus 6 - Android 6.0.1

JSON Source