Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19663] Windows: Missing .apiName properties

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionDone
Resolution Date2016-05-10T08:56:52.000+0000
Affected Version/sRelease 5.0.2
Fix Version/sRelease 5.2.0
ComponentsWindows
Labelsn/a
ReporterFokke Zandbergen
AssigneeKota Iguchi
Created2015-10-02T13:36:14.000+0000
Updated2016-05-10T08:56:58.000+0000

Description

The following sample shows that there's no apiName on Windows:
var win = Ti.UI.createWindow();

var label = Ti.UI.createLabel({
  text: 'apiName: ' + win.apiName
});

win.add(label);
win.open();
Which will show: {quote}apiName: undefined{quote}

Comments

  1. Kota Iguchi 2015-11-04

    https://github.com/appcelerator/titanium_mobile_windows/pull/465
  2. Kota Iguchi 2015-11-06

    How to Test

    * Make sure all Titanium instance has apiName property and it returns appropriate name.
  3. Fokke Zandbergen 2016-05-10

    Reopening as apiName should use the Ti.* namespace and not Titanium.* See: * Reference: http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-apiName * iOS: https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/TiViewProxy.m#L68 * Android: https://github.com/appcelerator/titanium_mobile/blob/415bd6c66dcc55b1a59a59574f3babd3c3a84ede/android/modules/ui/src/java/ti/modules/titanium/ui/ViewProxy.java#L42
  4. Kota Iguchi 2016-05-10

    Closing, we'll create new ticket for renaming "Ti" to "Titanium"

JSON Source