Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25620] Android: SOASTA breaks Android 8.0+ WebView events

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2018-01-10T23:22:43.000+0000
Affected Version/sRelease 7.0.0
Fix Version/sRelease 7.0.2
ComponentsAndroid
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2017-12-21T19:42:52.000+0000
Updated2018-01-17T18:22:20.000+0000

Description

SOASTA prevents Titanium.UI.WebView events from firing. *TEST CASE*
var win = Ti.UI.createWindow({
        backgroundColor : 'gray'
    }),
    webView = Ti.UI.createWebView({
        url : 'https://google.com'
    });

webView.addEventListener('load', function(e) {
    alert('source:' + JSON.stringify(e.source, null, 2));
});

win.add(webView);
win.open();
*EXPECTED* - Should see an alert dialog after the page has loaded *ACTUAL* - load event is never fired

Comments

  1. Gary Mathews 2017-12-21

    master: https://github.com/appcelerator/make_app_touch_testable/pull/9
  2. Lokesh Choudhary 2018-01-10

    FR Passed.
  3. Lokesh Choudhary 2018-01-17

    Verified the fix with MakeAppTouchTestable 2.0.6 & plugin ver 8244.293.5. Closing. Studio Ver: 5.0.0.201712081732 SDK Ver: 7.0.1.GA OS Ver: 10.13.2 Xcode Ver: Xcode 9.2 Appc NPM: 4.2.11 Appc CLI: 7.0.1 Daemon Ver: 1.0.1 Ti CLI Ver: 5.0.14 Alloy Ver: 1.10.10 Node Ver: 8.9.1 NPM Ver: 5.5.1 Java Ver: 1.8.0_101 Devices: google Nexus 5 --- Android 6.0.1 google Pixel --- Android 7.1.1 google Pixel XL --- Android 8.0

JSON Source