Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2375] Alloy: Android Module XML does not work?

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2013-05-21T15:12:46.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy
Labelsalloy, android, module
ReporterMads Moller
AssigneeShak Hossain
Created2013-05-21T11:38:28.000+0000
Updated2016-03-08T07:41:24.000+0000

Description

Hi Tony, When using the on android, it seems to fail. This is my use case:
<Module id="webView" module="dk.napp.webviewextended" method="createWebView" platform="android"/>
"#webView":{
	width:Ti.UI.FILL,
	hegiht:Ti.UI.FILL,
	url: "http://www.google.com"
}
result:
$.__views.webView = Ti.UI.createModule({
        width: Ti.UI.FILL,
        hegiht: Ti.UI.FILL,
        url: "http://www.google.com",
        id: "webView",
        module: "dk.napp.webviewextended",
        method: "createWebView"
});

Comments

  1. Tony Lukasavage 2013-05-21

    isn't supported until Alloy 1.2.0, which is unreleased. Are you using the version of Alloy from the master branch?
  2. Mads Moller 2013-05-21

    Ha! That might explain why. My bad, i was sure it was a new feature in 1.1
  3. Shak Hossain 2013-12-27

    Closing it as per comments from Tony/Mads.

JSON Source