[TIMOB-24288] Deprecate "onStopBlacklistedUrl" WebView event in favor of cross-platform "blacklisturl" event
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-02-08T22:58:35.000+0000 |
Affected Version/s | Release 6.1.0 |
Fix Version/s | Release 6.1.0 |
Components | Android, iOS |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2017-01-10T09:13:45.000+0000 |
Updated | 2019-11-21T18:46:51.000+0000 |
Description
In TIMOB-23327 (iOS) and TIMOB-23186 (Android) we added support for blacklisting URL's to fit some special use-cases using the
onStopBlacklistedUrl
url together with the blacklistedUrls
property. While the changes work fine, the event does not our common event naming and causing some trouble when being assigned to Alloy (e.g. onOnstopblacklistedurl="myHandler"
. Renaming it to blacklisturl
would unify the naming and fix the possible Alloy issues.
Putting in review for [~vijaysingh] (iOS), [~gmathews] (Android) and [~ewieber] (QE)
PR: https://github.com/appcelerator/titanium_mobile/pull/8736 Test code-
Working fine in iOS.
Works as expected on both android & IOS. The blacklisturl event is fired successfully when a url is blocked. Closing. Appc Studio : 4.8.1.201612050850 SDK Version : 6.1.0.v20170213093116 Mac OS Version : 10.12.2 Xcode Version : Xcode 8.2.1 Build version 8C1002 Appc CLI AND Appc NPM : {"NPM":"4.2.9-1","CLI":"6.1.0"} Ti CLI : 5.0.11 Alloy : 1.9.5 Node : v4.6.0 Device: running 7.1.1Pixel IOS simulator: iphone 7 IOS 10.2