Tag

JavaScript Bridge

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Jul 8, 2020 · Mobile Development

Comprehensive Guide to Using WKWebView in iOS: Creation, Delegates, UserAgent, Cookies, and JS Interaction

This article provides a detailed tutorial on WKWebView for iOS, covering its creation, configuration, delegate methods, custom UserAgent registration, cookie management, native‑H5 communication, JavaScript bridges, and NSURLRequest caching strategies, offering practical code examples and best‑practice tips.

Cookie ManagementJavaScript BridgeMobile Development
0 likes · 14 min read
Comprehensive Guide to Using WKWebView in iOS: Creation, Delegates, UserAgent, Cookies, and JS Interaction
360 Tech Engineering
360 Tech Engineering
May 27, 2019 · Mobile Development

Common Patterns for H5 and Native App Interaction

This article explains common H5‑to‑native app interaction patterns, detailing basic interfaces, one‑way and two‑way calls, implementation approaches, and the considerations for whether the H5 or the native side leads the integration, with code examples for Android and iOS.

AndroidH5JavaScript Bridge
0 likes · 10 min read
Common Patterns for H5 and Native App Interaction
360 Tech Engineering
360 Tech Engineering
Mar 8, 2019 · Frontend Development

Common Patterns for H5 and Native App Interaction via WebView Bridge

This article explains the typical interaction models between H5 (HTML5) pages embedded in mobile apps and native code, covering basic bridge interfaces, single‑direction and bi‑directional calls, implementation styles, and the trade‑offs of H5‑driven versus native‑driven architectures, with concrete code examples.

H5JavaScript BridgeWebView
0 likes · 11 min read
Common Patterns for H5 and Native App Interaction via WebView Bridge