[TIMOB-23554] Android: Ti.apiName should == 'Ti'
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-07-14T17:33:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.0.0 |
Components | Android |
Labels | parity |
Reporter | Christopher Williams |
Assignee | Christopher Williams |
Created | 2016-06-23T22:14:31.000+0000 |
Updated | 2016-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.
});
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