{ "id": "98855", "key": "TIMOB-10398", "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": [ { "id": "15695", "description": "2013 Sprint 20", "name": "2013 Sprint 20", "archived": true, "released": true, "releaseDate": "2013-10-04" }, { "id": "15696", "description": "2013 Sprint 20 API", "name": "2013 Sprint 20 API", "archived": true, "released": true, "releaseDate": "2013-10-04" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-10-01T20:21:44.000+0000", "created": "2012-08-08T07:41:51.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "triage" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:29:06.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" } ], "attachment": [], "flagged": false, "summary": "iOS: iAd orientation issues with NavGroup", "creator": { "name": "mlyon@gavant.com", "key": "mlyon@gavant.com", "displayName": "Miles Lyon", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mlyon@gavant.com", "key": "mlyon@gavant.com", "displayName": "Miles Lyon", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "titanium SDK 2.1.0.GA, ipad", "comment": { "comments": [ { "id": "213295", "author": { "name": "mlyon@gavant.com", "key": "mlyon@gavant.com", "displayName": "Miles Lyon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "As an addendum it appears that number 4 does NOT actually address the issue. We put this on a device and we are still getting stuck with a black screen when we close ads. This was an attempted work around at best anyway. There seems to be an underlying bug with using iAd with navgroups.", "updateAuthor": { "name": "mlyon@gavant.com", "key": "mlyon@gavant.com", "displayName": "Miles Lyon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-08T07:46:02.000+0000", "updated": "2012-08-08T07:46:02.000+0000" }, { "id": "213854", "author": { "name": "paul h", "key": "paul h", "displayName": "Paul Hamilton", "active": true, "timeZone": "America/Havana" }, "body": "this is probably an issue with the iphone as well as the ipad, if the orientation of the iphone is allowed to change from portrait. This case would likely be rarer however.", "updateAuthor": { "name": "paul h", "key": "paul h", "displayName": "Paul Hamilton", "active": true, "timeZone": "America/Havana" }, "created": "2012-08-10T13:53:20.000+0000", "updated": "2012-08-10T13:53:20.000+0000" }, { "id": "213873", "author": { "name": "clopinto", "key": "clopinto", "displayName": "Chris Lopinto", "active": true, "timeZone": "America/New_York" }, "body": "Hi, I'm having the same exact issue as well. This should be given a higher priority since it wasn't properly fixed in TIMOB-5006 and subsequent comments that the issue still existed were ignored. Not being able to have iAds in iPad apps is seriously costing us revenue, please fix ASAP, thanks.", "updateAuthor": { "name": "clopinto", "key": "clopinto", "displayName": "Chris Lopinto", "active": true, "timeZone": "America/New_York" }, "created": "2012-08-10T14:26:19.000+0000", "updated": "2012-08-10T14:26:19.000+0000" }, { "id": "214388", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is due to the fact that NavGroup is not a proper window. This will require deep cuts and changes to NavGroup, including the fact that NavGroup would no longer be added as a view, but opened as a window.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T11:50:48.000+0000", "updated": "2012-08-14T11:50:48.000+0000" }, { "id": "214521", "author": { "name": "clopinto", "key": "clopinto", "displayName": "Chris Lopinto", "active": true, "timeZone": "America/New_York" }, "body": "Neeraj - Why did you just remove this item from the 2.2 release?", "updateAuthor": { "name": "clopinto", "key": "clopinto", "displayName": "Chris Lopinto", "active": true, "timeZone": "America/New_York" }, "created": "2012-08-14T20:18:16.000+0000", "updated": "2012-08-14T20:18:16.000+0000" }, { "id": "214523", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Chris - The scope and nature of the changes required for this ticket are beyond the scope of next release.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T20:24:34.000+0000", "updated": "2012-08-14T20:24:34.000+0000" }, { "id": "214527", "author": { "name": "clopinto", "key": "clopinto", "displayName": "Chris Lopinto", "active": true, "timeZone": "America/New_York" }, "body": "That is unfortunate, is there a work around we could implement in the meantime?", "updateAuthor": { "name": "clopinto", "key": "clopinto", "displayName": "Chris Lopinto", "active": true, "timeZone": "America/New_York" }, "created": "2012-08-14T20:55:04.000+0000", "updated": "2012-08-14T20:55:04.000+0000" }, { "id": "214682", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The problem is that, underneath it all, iOS has this concept of a UIViewController, which serves as a steward to views and manages them. Logically, we map this to Titanium windows. UITabBarController is Ti.UI.TabGroup, for instance. Because of the nature of view controllers, there's a top-down flow of events. ViewDidAppear becomes focus, for instance. Keep in mind that viewControllers move views around, such as when you change tabs, the view of the 'focused' viewController/TiUIWindow is removed from the view hierarchy.\r\n\r\nNavGroup, for various reasons, was made as a view proxy containing a UINavigationController, added to the view hierarchy but not the viewController hierarchy. As such, it never gets focus/blur and orientation events from above. The iAd view does some strange mojo and looks at the orientation of the first controller it finds of a parent view. Since that is a UIViewController used by a window in the NavGroup's UINavigationController, it never gets the news...\r\n\r\nTo fix NavGroup requires changing its parent class and the various changes and fixes for such, as well as making it no longer a view to be added, but a window to be opened or put into a tabGroup.\r\n\r\nIn the meantime, there's two solutions, one predating navGroup. The first is a tabgroup with one tab and the tabbar hidden. The second is to put the ad outside of the navGroup, either below the navGroup or to place it atop the navGroup as a sibling, its parent being the window that the navGroup was added to.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-15T15:40:20.000+0000", "updated": "2012-08-15T15:40:20.000+0000" }, { "id": "235009", "author": { "name": "clopinto", "key": "clopinto", "displayName": "Chris Lopinto", "active": true, "timeZone": "America/New_York" }, "body": "So when is this going to be fixed? I saw that it wasn't fixed in 3.0 so when will it be? ", "updateAuthor": { "name": "clopinto", "key": "clopinto", "displayName": "Chris Lopinto", "active": true, "timeZone": "America/New_York" }, "created": "2013-01-19T12:22:40.000+0000", "updated": "2013-01-19T12:22:40.000+0000" }, { "id": "257960", "author": { "name": "clopinto", "key": "clopinto", "displayName": "Chris Lopinto", "active": true, "timeZone": "America/New_York" }, "body": "Any update on this, been over 10 months now.", "updateAuthor": { "name": "clopinto", "key": "clopinto", "displayName": "Chris Lopinto", "active": true, "timeZone": "America/New_York" }, "created": "2013-06-14T20:21:17.000+0000", "updated": "2013-06-14T20:21:17.000+0000" }, { "id": "273525", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue could have been fixed as a side effect of the windows refactor + apple restricting the allowed orientations on iAd's . \n\nTested on Xcode 5, with both iOS 6 and iOS 7 iPad retina simulators using 3.1.3.GA SDK. \n\nMarking ticket as cannot reproduce/fixed. ", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-01T20:21:17.000+0000", "updated": "2013-10-01T20:21:17.000+0000" }, { "id": "414449", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:29:06.000+0000", "updated": "2017-03-21T21:29:06.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }