{ "id": "171449", "key": "AC-5691", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-04-04T07:13:00.000+0000", "created": "2018-04-04T03:41:47.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-04-04T07:13:00.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "var win = Ti.UI.createWindow();\r\nvar webview = Ti.UI.createWebView({\r\n\turl: 'logging.html'\r\n});\r\nvar button = Ti.UI.createButton({\r\n\ttitle: 'fromTitanium',\r\n\theight: '50dp',\r\n\twidth: '130dp'\r\n});\r\nbutton.addEventListener('click', function(e) {\r\n\tTi.App.fireEvent('app:fromTitanium', { message: 'event fired from Titanium, handled in WebView' });\r\n});\r\nTi.App.addEventListener('app:fromWebView', function(e) {\r\n\talert(e.message);\r\n});\r\n \r\nwin.add(webview);\r\nwin.add(button);\r\nwin.open();\r\n\r\nI try this on my local web view but it's not working.", "attachment": [], "flagged": false, "summary": "iOS: Ti.App.fireEvent not work on sdk 7.0.2", "creator": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "subtasks": [], "reporter": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "environment": "IOS", "comment": { "comments": [ { "id": "436262", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~iblack.dum],\r\nThanks for sharing with us. Can you please explain more which is not working? Tested the sample code from [here|https://docs.appcelerator.com/platform/latest/#!/guide/Communication_Between_WebViews_and_Titanium-section-src-29004919_CommunicationBetweenWebViewsandTitanium-Ti.AppEvents] and it is working as expected on simulator using SDK 7.1.0.GA and 7.0.2.GA. Here is the [output|https://s18.postimg.org/fomqovnvt/Simulator_Screen_Shot_-_i_Phone_X_-_2018-04-04_at_10.50.59.png].It would be great if you you can update your SDK to the latest. Please test the sample code from the documentation and let us know how it goes.", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-04-04T05:03:07.000+0000", "updated": "2018-04-04T05:03:07.000+0000" }, { "id": "436263", "author": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "body": "@Mostafizur Rahman I try with [code|https://docs.appcelerator.com/platform/latest/#!/guide/Communication_Between_WebViews_and_Titanium-section-src-29004919_CommunicationBetweenWebViewsandTitanium-Ti.AppEvents] it not working on sdk 7.0.2 there is no alert when I click on webview.\r\n\r\nBut I change sdk to 7.1.0 it working. How can i fixed on 7.0.2 if i have to use these sdk.\r\n\r\nThank you", "updateAuthor": { "name": "iblack.dum", "key": "iblack.dum", "displayName": "Sathaphorn Kerdmalai", "active": true, "timeZone": "Asia/Bangkok" }, "created": "2018-04-04T06:19:15.000+0000", "updated": "2018-04-04T06:19:15.000+0000" }, { "id": "436268", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Apple broke the inter-app communication between iOS 11.2 and iOS 11.3, so we applied a workaround in TIMOB-25762 as part of 7.1.0 that fixes their issue. See the linked pull request for details. It can be applied to your own SDK if necessary.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-04-04T07:13:00.000+0000", "updated": "2018-04-04T07:13:00.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }