react-native-webview/apple
Tyler Coffman 2fc86f9d39
feat(apple): userAgent can be changed at runtime (#2116)
Make it so that if you change the userAgent prop, this change is propagated to
the native webview on iOS/macOS. Android already has this functionality.

Sometimes it is useful for WebView apps to be able to change their user agent
dynamically to communicate custom things to the web app they are hosting.
Since we can't add custom headers to every single request made by the webview,
the user agent can be used to send things like feature flags to the web app, so
it can have the appropriate behavior depending on what state the mobile app is
in.
2021-08-09 19:20:04 +02:00
..
RNCWKProcessPoolManager.h feat(macOS): Make podspec compatible with macOS (#1328) 2020-04-24 19:54:17 +02:00
RNCWKProcessPoolManager.m feat(macOS): Make podspec compatible with macOS (#1328) 2020-04-24 19:54:17 +02:00
RNCWebView.h feat(ios): Apple Pay support (#1946) 2021-05-21 00:17:24 +02:00
RNCWebView.m feat(apple): userAgent can be changed at runtime (#2116) 2021-08-09 19:20:04 +02:00
RNCWebViewManager.h feat(macOS): Make podspec compatible with macOS (#1328) 2020-04-24 19:54:17 +02:00
RNCWebViewManager.m feat(apple): userAgent can be changed at runtime (#2116) 2021-08-09 19:20:04 +02:00