Re:LightSpeed: Rewriting Messenger’s codebase for a faster, ...
by Klonoar on Monday March 02, 2020 @02:57PM
(#22468258)
UIWebView was deprecated for years, everyone's had plenty of time to move to WKWebView, and it has nothing to do with React Native to boot.
Apple legitimately doesn't seem to care about hybrid frameworks, they've been there since day one. Any time it's seemed like it got difficult Apple has backed down. The lack of JIT in WKWebView is probably the only thing that you could stretch here.
Re:LightSpeed: Rewriting Messenger’s codebase for a faster, ...
by saagarjha on Monday March 02, 2020 @03:03PM
(#22468311)
WKWebView is out-of-process and has a JIT.
Re:LightSpeed: Rewriting Messenger’s codebase for a faster, ...
by Klonoar on Monday March 02, 2020 @03:59PM
(#22468910)
Ah, you're correct - not sure why I thought otherwise, especially when I touch WKWebView pretty often.
Re:LightSpeed: Rewriting Messenger’s codebase for a faster, ...
by saagarjha on Monday March 02, 2020 @07:08PM
(#22470527)
Perhaps you confused it with JavaScriptCore?
Re:LightSpeed: Rewriting Messenger’s codebase for a faster, ...
by Klonoar on Monday March 02, 2020 @09:38PM
(#22471327)
Hmmm, possibly. Either way thanks for the catch!
Re:LightSpeed: Rewriting Messenger’s codebase for a faster, ...
by Turing_Machine on Monday March 02, 2020 @04:01PM
(#22468933)
Printing still sucked pretty bad in WKWebView the last time I looked into it (which admittedly has been a year or two, so maybe that's been fixed).
Re:LightSpeed: Rewriting Messenger’s codebase for a faster, ...
by Turing_Machine on Monday March 02, 2020 @03:49PM
(#22468795)
> Given the headaches caused by Apple finally barring UIWebView (the basis of frameworks like Cordova)
Cordova (and derivatives, such as Ionic) have had WKWebView available for a long time now, I think since iOS 9.
The Cordova team added a compile-time flag to force WKWebView in 5.1.0 (out since last November), and will be removing UIWebView altogether in 6.0.
Re:LightSpeed: Rewriting Messenger’s codebase for a faster, ...
by fingerlocks on Monday March 02, 2020 @08:42PM
(#22471075)
React-native does not run in a webview. The JS binds directly to native elements. In fact, you can easily wrap any native code and make JS bindings to call it directly.
Given the headaches caused by Apple finally barring UIWebView (the basis of frameworks like Cordova) from new App Store submissions beginning in April, I'm not surprised FB would do this. There is plenty of rumor-mongering that Apple is going to make it increasingly difficult for apps based on hybrid frameworks through the submission process.