{ "id": "120142", "key": "TIMOB-15271", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-09-18T16:54:34.000+0000", "created": "2013-09-18T11:42:50.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios7", "qe-3.1.3" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T20:43:28.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Ti.UI.iOS.createAdView does not create an ad successfully.\r\n\r\nThis is not regression since the issue occurs on 3.1.2 GA as well\r\n\r\nSteps to reproduce:\r\n1. Create an app using the code below.\r\n2. Launch the app.\r\n\r\nExpected:\r\nAn iAd should be created and displayed on the screen.\r\n\r\nActual:\r\nThe screen remains blank.\r\n\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar adView = Ti.UI.iOS.createAdView({\r\n\t\t\t\twidth : 'auto',\r\n\t\t\t\theight : 'auto',\r\n\t\t\t\ttop : 0,\r\n\t\t\t\tzIndex : 100\r\n\t\t\t});\r\n\t\t\twin1.add(adView);\r\n\t\t\tadView.show();\r\nwin1.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS7: Orientation - Ti.UI.iOS.createAdView does not create an ad successfully", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 3.1.3.v20130917141554\r\nAppcelertaor Studio: 3.1.3.201309132456\r\nOS: OSX 10.8.4\r\nDevice: iPhone5(iOS7)\r\nXcode: 5.0 GM seed\r\nalloy@1.2.2-cr\r\nCLI version : 3.1.2", "comment": { "comments": [ { "id": "271769", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Add an error listener and you'll see that there is an error.\nFYI\nError Domain=ADErrorDomain Code=3 \"The operation couldn’t be completed. Ad inventory unavailable\" UserInfo=0xdc8c090 {ADInternalErrorCode=3, ADInternalErrorDomain=ADErrorDomain, NSLocalizedFailureReason=Ad inventory unavailable}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-18T16:54:26.000+0000", "updated": "2013-09-18T16:54:26.000+0000" }, { "id": "413956", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T20:43:28.000+0000", "updated": "2017-03-20T20:43:28.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }