{ "id": "161169", "key": "TIMOB-23548", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2016-09-24T22:25:01.000+0000", "created": "2016-06-17T14:11:52.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T21:55:57.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": "Faced orientation issue on Android as well as iOS device when we open the share dialog in the application.\r\nI have created an application to share a text message with friends, using applications installed on the device.\r\nI have locked the application's orientation to portrait from tiapp.xml as well as a set the orientationModes of the window to [Ti. UI. PORTRAIT].\r\nI have tried setting the screenOrientation for Android as a \"portrait\" as well as \"nosensor\", but none of them work.\r\nFacing orientation issue only after opening the share dialog.\r\nFor Android device, I have used intent to share text and for IOS device, I have used module to share text.\r\nI have also created a native IOS application and did not face this issue in a native application.\r\nLet me know your feedback on this issue.", "attachment": [ { "id": "59595", "filename": "applicationToShareText.zip", "author": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-20T10:53:43.000+0000", "size": 621610, "mimeType": "application/zip" }, { "id": "59588", "filename": "Share_text.png", "author": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-17T14:06:03.000+0000", "size": 51766, "mimeType": "image/png" }, { "id": "59593", "filename": "shareText_Android_Device.png", "author": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-20T08:18:35.000+0000", "size": 69248, "mimeType": "image/png" }, { "id": "59596", "filename": "shareText_IOS.png", "author": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-20T11:05:21.000+0000", "size": 53381, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Orientation issue when open the share dialog.", "creator": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System: OS X Yosemite (version 10.10.4).\r\nAppcelerator SDK-Version: 5.0.2.GA.", "closedSprints": [ { "id": 707, "state": "closed", "name": "2016 Sprint 19 SDK", "startDate": "2016-09-10T00:17:15.164Z", "endDate": "2016-09-24T00:17:00.000Z", "completeDate": "2016-09-26T05:17:04.253Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "388569", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, \r\n\r\nThanks for creating the ticket. Please provide a full reproducible code that successfully generate the issue in both platforms. We will test the issue in our environment and when we are able to regenerate, I will escalate the ticket for our engineers for a bug fix. So, we need a reproducible test case. Please provides a minimal sample code that only generates the issue. Also, a list of steps to follow for successful regeneration.\r\n\r\nRegards,\r\nSharif.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-06-17T18:10:04.000+0000", "updated": "2016-06-17T18:13:00.000+0000" }, { "id": "388642", "author": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I have removed assets from the application.", "updateAuthor": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-20T10:55:19.000+0000", "updated": "2016-06-20T10:55:19.000+0000" }, { "id": "388643", "author": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Sharif,\r\n\r\nAttaching the Appcelerator project to share a text.\r\n\r\nSteps to follow:\r\n* Enter a text in the textfield.\r\n* Click on \"share text\" button.\r\n* Rotate the device to the landscape mode.\r\n\r\nFor Android device, the issue occurs when we open an application which does not occupy the entire display and rotate the device to the landscape mode.", "updateAuthor": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-20T10:56:21.000+0000", "updated": "2016-06-20T10:56:21.000+0000" }, { "id": "388665", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Looks like you are using an old SDK. We have the latest GA release on SDK 5.3.0 GA. I have tested your sample app in Android platform with that said SDK. I wasn't able to reproduce the issue. I have tested in Android 4.4.2 device. I have screenshots of my test. \r\n\r\n1. [Screenshot 1|https://postimg.org/image/s76lk5xlz/].\r\n2. [Screenshot 2|https://postimg.org/image/5808q3vjb/]\r\n\r\nI would recommend updating your SDK to the latest GA release. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-06-20T16:48:30.000+0000", "updated": "2016-06-20T16:48:30.000+0000" }, { "id": "388721", "author": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Sharif,\r\n\r\nI tried with SDK 5.3.0 GA. And facing the same issue on 5.3.0 GA.\r\nFor Android device, facing the issue for those applications which does not occupy the entire screen. If we rotate the device after opening an application which does not occupy the entire screen, then our application in the background also goes to landscape mode.", "updateAuthor": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-21T04:48:18.000+0000", "updated": "2016-06-21T04:48:18.000+0000" }, { "id": "388724", "author": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "My main concern is for the IOS application as issue can be easily reproducible on IOS device.\r\nCan you please update me about the issue in IOS application?", "updateAuthor": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-21T05:17:54.000+0000", "updated": "2016-06-21T05:17:54.000+0000" }, { "id": "388776", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I have tested it on iOS with the latest SDK. The issue looks to be happening for iOS. This is a valid bug for iOS. My environment info: SDK: 5.3.0.GA , Appcelerator Command-Line Interface, version 5.3.0 , iPod 5G (9.2).\r\n\r\n1. [Screenshot|https://s32.postimg.org/p7sch4rhx/IMG_0293.jpg]\r\n2. [Screenshot|https://s31.postimg.org/r8szpq8nf/IMG_0292.jpg]\r\n\r\nMoving the ticket to engineering. \r\n\r\nRegards,\r\nSharif.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-06-21T20:32:15.000+0000", "updated": "2016-06-21T20:32:15.000+0000" }, { "id": "390819", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~yashrevandkar] Hello, was this working with any previous versions of the SDK? Since this isn't a [module|https://github.com/VincentWenShuo/ti-module-share] created or maintained by Appcelerator, if the problem lays within the module you will need to contact the module creator. ", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-15T20:35:57.000+0000", "updated": "2016-07-15T20:35:57.000+0000" }, { "id": "391503", "author": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\n\r\nTo check if the problem lies within the module, I have created an IOS module and still facing the same orientation issue.\r\nWhen I created an IOS application with the same code, it is working fine and not facing such orientation issue in IOS application.\r\n", "updateAuthor": { "name": "yashrevandkar", "key": "yashrevandkar", "displayName": "Yashvant Revandkar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-26T09:53:56.000+0000", "updated": "2016-07-26T09:53:56.000+0000" }, { "id": "397172", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Resolving as `Not Our Bug` for now, since the orientation problems are obviously caused by the thirdparty-module around [this line|https://github.com/VincentWenShuo/ti-module-share/blob/master/Classes/MaCarTiModuleShareModule.m#L194], because the created view controller does not check the orientation before being presented. The module vendor needs to take care of the issue.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-24T22:25:01.000+0000", "updated": "2016-09-24T22:25:01.000+0000" }, { "id": "415062", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue mentioned here is not our bug.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:55:57.000+0000", "updated": "2017-03-22T21:55:57.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }