{ "id": "175452", "key": "TIMOB-28091", "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": "21051", "description": "", "name": "Release 9.2.0", "archived": false, "released": true, "releaseDate": "2020-09-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-09-10T13:34:08.000+0000", "created": "2020-08-20T00:23:09.000+0000", "epic": { "id": 175154, "key": "TIMOB-27964", "name": "Support iOS 14", "summary": "iOS: Support iOS 14 and Xcode 12", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "Critical", "id": "1" }, "labels": [ "liveview" ], "versions": [], "issuelinks": [ { "id": "58641", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "175430", "key": "TIMOB-28078", "fields": { "summary": "iOS14: Expose new APIs Titanium.Network.HTTPClient which will require while accessing local http server", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2020-09-10T13:34:08.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": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "Steps to reproduce -\r\n1. Create a new app.\r\n 2. Run it on iOS 14 device (not simulator) with live view enabled (appc run -p iOS -T device --liveview)\r\n3. It will show a prompt to ask user's permission and fail (screenshot attached).\r\n\r\nWhat to fix -\r\n1. Make change to show more contextual message instead of default generic message in prompt.\r\n2. While waiting for user's permission, request get immediately failed. Make changes so that request can wait until user's permission is available.\r\n\r\nReason -\r\nIn iOS 14, Apple has made changes to access local network. It shows a prompt to ask user's permission. More detail can be found in WWDC video https://developer.apple.com/videos/play/wwdc2020/10110/.", "attachment": [ { "id": "67495", "filename": "IMG_8258764B3E6C-1.jpeg", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-20T00:24:06.000+0000", "size": 2230609, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "LiveView: App running on iOS 14 device with live view enabled is failing", "creator": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "456582", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~vijaysingh], I'm planning to update my macbook to catalina tonight so I can try tackle this later this week, do you have an indication of what the changes here might be? Based off my understanding of the linked ticket it could be as simple as adding {{waitsForConnectivity: true}} to the HTTP request in liveview? Then potentially try to figure out if liveview can somehow stuff in the plist entry to add context as to why it's needed? (not feeling hopeful about that)", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-08-25T12:44:06.000+0000", "updated": "2020-08-25T12:44:06.000+0000" }, { "id": "456585", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] Yes,\r\n{code:java}\r\nwaitsForConnectivity: true\r\n{code}\r\n should work. \r\n \r\nLiveView is used by developers not by app users, I think documenting the behavior should be fine for prompt message. ", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-25T17:32:51.000+0000", "updated": "2020-08-25T17:32:51.000+0000" }, { "id": "456625", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR to get liveview working: https://github.com/appcelerator/liveview/pull/185\r\n\r\nWe could probably improve the flow of when there's a connection error but I think it's best to get a working liveview in asap", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-08-27T14:55:25.000+0000", "updated": "2020-08-27T14:55:25.000+0000" }, { "id": "456635", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "titanium_mobile PR: https://github.com/appcelerator/titanium_mobile/pull/11976", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-08-28T09:24:54.000+0000", "updated": "2020-08-28T09:24:54.000+0000" }, { "id": "456664", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\nWaiting for Jenkins build", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-31T18:14:49.000+0000", "updated": "2020-08-31T18:14:49.000+0000" }, { "id": "456819", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*. Fix verified in SDK version {{9.2.0.v20200908050955}}, and {{9.3.0.v20200908051946}}.\r\n\r\n*Test and other information can be found at:*\r\nhttps://github.com/appcelerator/liveview/pull/185\r\nhttps://github.com/appcelerator/titanium_mobile/pull/11976", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-10T13:34:00.000+0000", "updated": "2020-09-10T13:34:00.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }