breaking (UserAgent): Drop CDVUserAgentUtil and Implement for WKWebView#801
Conversation
Codecov Report
@@ Coverage Diff @@
## master #801 +/- ##
======================================
Coverage 74.2% 74.2%
======================================
Files 13 13
Lines 1849 1849
======================================
Hits 1372 1372
Misses 477 477Continue to review full report at Codecov.
|
jcesarmobile
left a comment
There was a problem hiding this comment.
You can override the whole user agent if using wkWebView.customUserAgent = userAgent;
4cef3c9 to
1e62b8f
Compare
|
@jcesarmobile I re-added back the
|
jcesarmobile
left a comment
There was a problem hiding this comment.
I've made a comment about something I think should not be removed.
Other than that, the changes look good to me.
4eb3e07 to
703fbdc
Compare
|
Went ahead and checked which plugins might be affected by this change. Although |
|
cordova-plugin-file-transfer is deprecated too about |
|
@jcesarmobile, thanks for the feedback! |
|
Hopefully we can still use these plugins and upgrade specifically file transfer plugin. Sure would love to see anyone with authority release a new version of Ionic WKwebview plugin. |
I'm in that situation. #783 and this one are making things complicated. I've spent a lot of time in the past replacing Now I'm trying to remove |
Motivation and Context
CDVUserAgentUtilwhich handled managing the User Agent string forUIWebView.WKWebView.Description
CDVUserAgentUtil.Testing
npm tcordova platform addcordova buildconfig.xmlTest Cases
AppendUserAgentAppendUserAgentw/OverrideUserAgentOverrideUserAgentChecklist