@react-native-ohos/react-native-webview 13.10.6-beta.3 → 13.10.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/LICENSE +21 -21
  3. package/README.md +385 -393
  4. package/harmony/rn_webview/.gitignore +6 -0
  5. package/harmony/rn_webview/BuildProfile.ets +1 -1
  6. package/harmony/rn_webview/LICENSE +21 -21
  7. package/harmony/rn_webview/NOTICE +33 -33
  8. package/harmony/rn_webview/OAT.xml +44 -44
  9. package/harmony/rn_webview/README.OpenSource +10 -10
  10. package/harmony/rn_webview/build-profile.json5 +28 -28
  11. package/harmony/rn_webview/index.ets +33 -33
  12. package/harmony/rn_webview/obfuscation-rules.txt +17 -17
  13. package/harmony/rn_webview/oh-package-lock.json5 +18 -18
  14. package/harmony/rn_webview/oh-package.json5 +13 -13
  15. package/harmony/rn_webview/src/main/cpp/CMakeLists.txt +9 -9
  16. package/harmony/rn_webview/src/main/cpp/WebViewPackage.h +36 -36
  17. package/harmony/rn_webview/src/main/cpp/generated/RNOH/generated/BaseReactNativeWebviewPackage.h +94 -94
  18. package/harmony/rn_webview/src/main/cpp/generated/RNOH/generated/components/RNCWebViewJSIBinder.h +129 -128
  19. package/harmony/rn_webview/src/main/cpp/generated/RNOH/generated/turbo_modules/RNCWebView.cpp +20 -20
  20. package/harmony/rn_webview/src/main/cpp/generated/RNOH/generated/turbo_modules/RNCWebView.h +16 -16
  21. package/harmony/rn_webview/src/main/cpp/generated/RNOH/generated/turbo_modules/RNCWebViewModule.cpp +19 -19
  22. package/harmony/rn_webview/src/main/cpp/generated/RNOH/generated/turbo_modules/RNCWebViewModule.h +16 -16
  23. package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/ComponentDescriptors.h +22 -22
  24. package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/EventEmitters.cpp +240 -240
  25. package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/EventEmitters.h +285 -285
  26. package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/Props.cpp +156 -155
  27. package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/Props.h +340 -339
  28. package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/ShadowNodes.cpp +19 -19
  29. package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/ShadowNodes.h +34 -34
  30. package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/States.cpp +16 -16
  31. package/harmony/rn_webview/src/main/cpp/generated/react/renderer/components/react_native_webview/States.h +19 -19
  32. package/harmony/rn_webview/src/main/ets/CutomReference.ts +49 -49
  33. package/harmony/rn_webview/src/main/ets/Logger.ts +63 -63
  34. package/harmony/rn_webview/src/main/ets/Magic.ets +223 -221
  35. package/harmony/rn_webview/src/main/ets/RNCWebView.ets +1098 -903
  36. package/harmony/rn_webview/src/main/ets/RNCWebViewPackage.ets +65 -65
  37. package/harmony/rn_webview/src/main/ets/ShouldRequestUrl.ts +67 -67
  38. package/harmony/rn_webview/src/main/ets/WebViewBaseOperate.ets +490 -490
  39. package/harmony/rn_webview/src/main/ets/WebViewTurboModule.ets +81 -81
  40. package/harmony/rn_webview/src/main/ets/generated/components/RNCWebView.ts +516 -511
  41. package/harmony/rn_webview/src/main/ets/generated/components/ts.ts +5 -5
  42. package/harmony/rn_webview/src/main/ets/generated/index.ets +5 -5
  43. package/harmony/rn_webview/src/main/ets/generated/ts.ts +6 -6
  44. package/harmony/rn_webview/src/main/ets/generated/turboModules/RNCWebView.ts +18 -18
  45. package/harmony/rn_webview/src/main/ets/generated/turboModules/RNCWebViewModule.ts +16 -16
  46. package/harmony/rn_webview/src/main/ets/generated/turboModules/ts.ts +6 -6
  47. package/harmony/rn_webview/src/main/module.json5 +10 -10
  48. package/harmony/rn_webview/src/main/resources/base/element/string.json +39 -39
  49. package/harmony/rn_webview/src/main/resources/en_US/element/string.json +39 -39
  50. package/harmony/rn_webview/src/main/resources/zh_CN/element/string.json +39 -39
  51. package/harmony/rn_webview/src/test/List.test.ets +4 -4
  52. package/harmony/rn_webview/src/test/LocalUnit.test.ets +32 -32
  53. package/harmony/rn_webview/ts.ets +28 -28
  54. package/harmony/rn_webview.har +0 -0
  55. package/package.json +105 -104
  56. package/src/NativeRNCWebView.ts +15 -15
  57. package/src/NativeRNCWebViewModule.ts +17 -17
  58. package/src/RNCWebViewNativeComponent.ts +289 -288
  59. package/src/WebView.harmony.tsx +331 -331
  60. package/src/WebView.tsx +4 -4
  61. package/src/codegenUtils.ts +8 -8
  62. package/src/index.ts +4 -4
@@ -1,155 +1,156 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GeneratePropsCpp.js
9
- */
10
-
11
- #include <react/renderer/components/react_native_webview/Props.h>
12
- #include <folly/dynamic.h>
13
- #include <react/renderer/core/PropsParserContext.h>
14
- #include <react/renderer/core/propsConversions.h>
15
-
16
- namespace facebook {
17
- namespace react {
18
-
19
- RNCWebViewProps::RNCWebViewProps(const PropsParserContext &context, const RNCWebViewProps &sourceProps,
20
- const RawProps &rawProps)
21
- : ViewProps(context, sourceProps, rawProps),
22
-
23
- allowFileAccess(convertRawProp(context, rawProps, "allowFileAccess", sourceProps.allowFileAccess, {false})),
24
- allowsProtectedMedia(
25
- convertRawProp(context, rawProps, "allowsProtectedMedia", sourceProps.allowsProtectedMedia, {false})),
26
- allowsFullscreenVideo(
27
- convertRawProp(context, rawProps, "allowsFullscreenVideo", sourceProps.allowsFullscreenVideo, {false})),
28
- androidLayerType(convertRawProp(context, rawProps, "androidLayerType", sourceProps.androidLayerType,
29
- {RNCWebViewAndroidLayerType::None})),
30
- cacheMode(
31
- convertRawProp(context, rawProps, "cacheMode", sourceProps.cacheMode, {RNCWebViewCacheMode::LOAD_DEFAULT})),
32
- domStorageEnabled(convertRawProp(context, rawProps, "domStorageEnabled", sourceProps.domStorageEnabled, {false})),
33
- downloadingMessage(convertRawProp(context, rawProps, "downloadingMessage", sourceProps.downloadingMessage, {})),
34
- forceDarkOn(convertRawProp(context, rawProps, "forceDarkOn", sourceProps.forceDarkOn, {false})),
35
- geolocationEnabled(
36
- convertRawProp(context, rawProps, "geolocationEnabled", sourceProps.geolocationEnabled, {false})),
37
- lackPermissionToDownloadMessage(convertRawProp(context, rawProps, "lackPermissionToDownloadMessage",
38
- sourceProps.lackPermissionToDownloadMessage, {})),
39
- messagingModuleName(
40
- convertRawProp(context, rawProps, "messagingModuleName", sourceProps.messagingModuleName, {})),
41
- minimumFontSize(convertRawProp(context, rawProps, "minimumFontSize", sourceProps.minimumFontSize, {0})),
42
- mixedContentMode(convertRawProp(context, rawProps, "mixedContentMode", sourceProps.mixedContentMode,
43
- {RNCWebViewMixedContentMode::Never})),
44
- nestedScrollEnabled(
45
- convertRawProp(context, rawProps, "nestedScrollEnabled", sourceProps.nestedScrollEnabled, {false})),
46
- overScrollMode(convertRawProp(context, rawProps, "overScrollMode", sourceProps.overScrollMode, {})),
47
- saveFormDataDisabled(
48
- convertRawProp(context, rawProps, "saveFormDataDisabled", sourceProps.saveFormDataDisabled, {false})),
49
- scalesPageToFit(convertRawProp(context, rawProps, "scalesPageToFit", sourceProps.scalesPageToFit, {false})),
50
- setBuiltInZoomControls(
51
- convertRawProp(context, rawProps, "setBuiltInZoomControls", sourceProps.setBuiltInZoomControls, {false})),
52
- setDisplayZoomControls(
53
- convertRawProp(context, rawProps, "setDisplayZoomControls", sourceProps.setDisplayZoomControls, {false})),
54
- setSupportMultipleWindows(convertRawProp(context, rawProps, "setSupportMultipleWindows",
55
- sourceProps.setSupportMultipleWindows, {false})),
56
- textZoom(convertRawProp(context, rawProps, "textZoom", sourceProps.textZoom, {0})),
57
- thirdPartyCookiesEnabled(
58
- convertRawProp(context, rawProps, "thirdPartyCookiesEnabled", sourceProps.thirdPartyCookiesEnabled, {false})),
59
- hasOnScroll(convertRawProp(context, rawProps, "hasOnScroll", sourceProps.hasOnScroll, {false})),
60
- injectedJavaScriptObject(
61
- convertRawProp(context, rawProps, "injectedJavaScriptObject", sourceProps.injectedJavaScriptObject, {})),
62
- allowingReadAccessToURL(
63
- convertRawProp(context, rawProps, "allowingReadAccessToURL", sourceProps.allowingReadAccessToURL, {})),
64
- allowsBackForwardNavigationGestures(convertRawProp(context, rawProps, "allowsBackForwardNavigationGestures",
65
- sourceProps.allowsBackForwardNavigationGestures, {false})),
66
- allowsInlineMediaPlayback(convertRawProp(context, rawProps, "allowsInlineMediaPlayback",
67
- sourceProps.allowsInlineMediaPlayback, {false})),
68
- allowsAirPlayForMediaPlayback(convertRawProp(context, rawProps, "allowsAirPlayForMediaPlayback",
69
- sourceProps.allowsAirPlayForMediaPlayback, {false})),
70
- allowsLinkPreview(convertRawProp(context, rawProps, "allowsLinkPreview", sourceProps.allowsLinkPreview, {false})),
71
- automaticallyAdjustContentInsets(convertRawProp(context, rawProps, "automaticallyAdjustContentInsets",
72
- sourceProps.automaticallyAdjustContentInsets, {false})),
73
- ignoreSilentHardwareSwitch(convertRawProp(context, rawProps, "ignoreSilentHardwareSwitch",
74
- sourceProps.ignoreSilentHardwareSwitch, {false})),
75
- autoManageStatusBarEnabled(convertRawProp(context, rawProps, "autoManageStatusBarEnabled",
76
- sourceProps.autoManageStatusBarEnabled, {false})),
77
- bounces(convertRawProp(context, rawProps, "bounces", sourceProps.bounces, {false})),
78
- contentInset(convertRawProp(context, rawProps, "contentInset", sourceProps.contentInset, {})),
79
- contentInsetAdjustmentBehavior(convertRawProp(context, rawProps, "contentInsetAdjustmentBehavior",
80
- sourceProps.contentInsetAdjustmentBehavior,
81
- {RNCWebViewContentInsetAdjustmentBehavior::Never})),
82
- contentMode(convertRawProp(context, rawProps, "contentMode", sourceProps.contentMode,
83
- {RNCWebViewContentMode::Recommended})),
84
- dataDetectorTypes(convertRawProp(context, rawProps, "dataDetectorTypes", sourceProps.dataDetectorTypes, {})),
85
- decelerationRate(convertRawProp(context, rawProps, "decelerationRate", sourceProps.decelerationRate, {0.0})),
86
- directionalLockEnabled(
87
- convertRawProp(context, rawProps, "directionalLockEnabled", sourceProps.directionalLockEnabled, {false})),
88
- enableApplePay(convertRawProp(context, rawProps, "enableApplePay", sourceProps.enableApplePay, {false})),
89
- hideKeyboardAccessoryView(convertRawProp(context, rawProps, "hideKeyboardAccessoryView",
90
- sourceProps.hideKeyboardAccessoryView, {false})),
91
- keyboardDisplayRequiresUserAction(convertRawProp(context, rawProps, "keyboardDisplayRequiresUserAction",
92
- sourceProps.keyboardDisplayRequiresUserAction, {false})),
93
- limitsNavigationsToAppBoundDomains(convertRawProp(context, rawProps, "limitsNavigationsToAppBoundDomains",
94
- sourceProps.limitsNavigationsToAppBoundDomains, {false})),
95
- mediaCapturePermissionGrantType(convertRawProp(context, rawProps, "mediaCapturePermissionGrantType",
96
- sourceProps.mediaCapturePermissionGrantType,
97
- {RNCWebViewMediaCapturePermissionGrantType::Prompt})),
98
- pagingEnabled(convertRawProp(context, rawProps, "pagingEnabled", sourceProps.pagingEnabled, {false})),
99
- pullToRefreshEnabled(
100
- convertRawProp(context, rawProps, "pullToRefreshEnabled", sourceProps.pullToRefreshEnabled, {false})),
101
- scrollEnabled(convertRawProp(context, rawProps, "scrollEnabled", sourceProps.scrollEnabled, {false})),
102
- hasOnShouldStartLoadWithRequestEvent(convertRawProp(context, rawProps, "hasOnShouldStartLoadWithRequestEvent",
103
- sourceProps.hasOnShouldStartLoadWithRequestEvent, {false})),
104
- originWhitelist(convertRawProp(context, rawProps, "originWhitelist", sourceProps.originWhitelist, {})),
105
- sharedCookiesEnabled(
106
- convertRawProp(context, rawProps, "sharedCookiesEnabled", sourceProps.sharedCookiesEnabled, {false})),
107
- textInteractionEnabled(
108
- convertRawProp(context, rawProps, "textInteractionEnabled", sourceProps.textInteractionEnabled, {false})),
109
- useSharedProcessPool(
110
- convertRawProp(context, rawProps, "useSharedProcessPool", sourceProps.useSharedProcessPool, {false})),
111
- menuItems(convertRawProp(context, rawProps, "menuItems", sourceProps.menuItems, {})),
112
- suppressMenuItems(convertRawProp(context, rawProps, "suppressMenuItems", sourceProps.suppressMenuItems, {})),
113
- hasOnFileDownload(convertRawProp(context, rawProps, "hasOnFileDownload", sourceProps.hasOnFileDownload, {false})),
114
- fraudulentWebsiteWarningEnabled(convertRawProp(context, rawProps, "fraudulentWebsiteWarningEnabled",
115
- sourceProps.fraudulentWebsiteWarningEnabled, {false})),
116
- allowFileAccessFromFileURLs(convertRawProp(context, rawProps, "allowFileAccessFromFileURLs",
117
- sourceProps.allowFileAccessFromFileURLs, {false})),
118
- allowUniversalAccessFromFileURLs(convertRawProp(context, rawProps, "allowUniversalAccessFromFileURLs",
119
- sourceProps.allowUniversalAccessFromFileURLs, {false})),
120
- applicationNameForUserAgent(convertRawProp(context, rawProps, "applicationNameForUserAgent",
121
- sourceProps.applicationNameForUserAgent, {})),
122
- basicAuthCredential(
123
- convertRawProp(context, rawProps, "basicAuthCredential", sourceProps.basicAuthCredential, {})),
124
- cacheEnabled(convertRawProp(context, rawProps, "cacheEnabled", sourceProps.cacheEnabled, {false})),
125
- incognito(convertRawProp(context, rawProps, "incognito", sourceProps.incognito, {false})),
126
- injectedJavaScript(convertRawProp(context, rawProps, "injectedJavaScript", sourceProps.injectedJavaScript, {})),
127
- injectedJavaScriptBeforeContentLoaded(convertRawProp(context, rawProps, "injectedJavaScriptBeforeContentLoaded",
128
- sourceProps.injectedJavaScriptBeforeContentLoaded, {})),
129
- injectedJavaScriptForMainFrameOnly(convertRawProp(context, rawProps, "injectedJavaScriptForMainFrameOnly",
130
- sourceProps.injectedJavaScriptForMainFrameOnly, {false})),
131
- injectedJavaScriptBeforeContentLoadedForMainFrameOnly(
132
- convertRawProp(context, rawProps, "injectedJavaScriptBeforeContentLoadedForMainFrameOnly",
133
- sourceProps.injectedJavaScriptBeforeContentLoadedForMainFrameOnly, {false})),
134
- javaScriptCanOpenWindowsAutomatically(convertRawProp(context, rawProps, "javaScriptCanOpenWindowsAutomatically",
135
- sourceProps.javaScriptCanOpenWindowsAutomatically, {false})),
136
- javaScriptEnabled(convertRawProp(context, rawProps, "javaScriptEnabled", sourceProps.javaScriptEnabled, {false})),
137
- webviewDebuggingEnabled(
138
- convertRawProp(context, rawProps, "webviewDebuggingEnabled", sourceProps.webviewDebuggingEnabled, {false})),
139
- mediaPlaybackRequiresUserAction(convertRawProp(context, rawProps, "mediaPlaybackRequiresUserAction",
140
- sourceProps.mediaPlaybackRequiresUserAction, {false})),
141
- messagingEnabled(convertRawProp(context, rawProps, "messagingEnabled", sourceProps.messagingEnabled, {false})),
142
- shouldStartLoadWithRequestEnabled(convertRawProp(context, rawProps, "shouldStartLoadWithRequestEnabled",
143
- sourceProps.shouldStartLoadWithRequestEnabled, {false})),
144
- hasOnOpenWindowEvent(
145
- convertRawProp(context, rawProps, "hasOnOpenWindowEvent", sourceProps.hasOnOpenWindowEvent, {false})),
146
- showsHorizontalScrollIndicator(convertRawProp(context, rawProps, "showsHorizontalScrollIndicator",
147
- sourceProps.showsHorizontalScrollIndicator, {false})),
148
- showsVerticalScrollIndicator(convertRawProp(context, rawProps, "showsVerticalScrollIndicator",
149
- sourceProps.showsVerticalScrollIndicator, {false})),
150
- newSource(convertRawProp(context, rawProps, "newSource", sourceProps.newSource, {})),
151
- userAgent(convertRawProp(context, rawProps, "userAgent", sourceProps.userAgent, {})),
152
- schemeList(convertRawProp(context, rawProps, "schemeList", sourceProps.schemeList, {})) {}
153
-
154
- } // namespace react
155
- } // namespace facebook
1
+
2
+ /**
3
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
+ *
5
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
6
+ * once the code is regenerated.
7
+ *
8
+ * @generated by codegen project: GeneratePropsCpp.js
9
+ */
10
+
11
+ #include <react/renderer/components/react_native_webview/Props.h>
12
+ #include <folly/dynamic.h>
13
+ #include <react/renderer/core/PropsParserContext.h>
14
+ #include <react/renderer/core/propsConversions.h>
15
+
16
+ namespace facebook {
17
+ namespace react {
18
+
19
+ RNCWebViewProps::RNCWebViewProps(const PropsParserContext &context, const RNCWebViewProps &sourceProps,
20
+ const RawProps &rawProps)
21
+ : ViewProps(context, sourceProps, rawProps),
22
+
23
+ allowFileAccess(convertRawProp(context, rawProps, "allowFileAccess", sourceProps.allowFileAccess, {false})),
24
+ allowsProtectedMedia(
25
+ convertRawProp(context, rawProps, "allowsProtectedMedia", sourceProps.allowsProtectedMedia, {false})),
26
+ allowsFullscreenVideo(
27
+ convertRawProp(context, rawProps, "allowsFullscreenVideo", sourceProps.allowsFullscreenVideo, {false})),
28
+ androidLayerType(convertRawProp(context, rawProps, "androidLayerType", sourceProps.androidLayerType,
29
+ {RNCWebViewAndroidLayerType::None})),
30
+ cacheMode(
31
+ convertRawProp(context, rawProps, "cacheMode", sourceProps.cacheMode, {RNCWebViewCacheMode::LOAD_DEFAULT})),
32
+ domStorageEnabled(convertRawProp(context, rawProps, "domStorageEnabled", sourceProps.domStorageEnabled, {false})),
33
+ downloadingMessage(convertRawProp(context, rawProps, "downloadingMessage", sourceProps.downloadingMessage, {})),
34
+ forceDarkOn(convertRawProp(context, rawProps, "forceDarkOn", sourceProps.forceDarkOn, {false})),
35
+ geolocationEnabled(
36
+ convertRawProp(context, rawProps, "geolocationEnabled", sourceProps.geolocationEnabled, {false})),
37
+ lackPermissionToDownloadMessage(convertRawProp(context, rawProps, "lackPermissionToDownloadMessage",
38
+ sourceProps.lackPermissionToDownloadMessage, {})),
39
+ messagingModuleName(
40
+ convertRawProp(context, rawProps, "messagingModuleName", sourceProps.messagingModuleName, {})),
41
+ minimumFontSize(convertRawProp(context, rawProps, "minimumFontSize", sourceProps.minimumFontSize, {0})),
42
+ mixedContentMode(convertRawProp(context, rawProps, "mixedContentMode", sourceProps.mixedContentMode,
43
+ {RNCWebViewMixedContentMode::Never})),
44
+ nestedScrollEnabled(
45
+ convertRawProp(context, rawProps, "nestedScrollEnabled", sourceProps.nestedScrollEnabled, {false})),
46
+ overScrollMode(convertRawProp(context, rawProps, "overScrollMode", sourceProps.overScrollMode, {})),
47
+ saveFormDataDisabled(
48
+ convertRawProp(context, rawProps, "saveFormDataDisabled", sourceProps.saveFormDataDisabled, {false})),
49
+ scalesPageToFit(convertRawProp(context, rawProps, "scalesPageToFit", sourceProps.scalesPageToFit, {false})),
50
+ setBuiltInZoomControls(
51
+ convertRawProp(context, rawProps, "setBuiltInZoomControls", sourceProps.setBuiltInZoomControls, {false})),
52
+ setDisplayZoomControls(
53
+ convertRawProp(context, rawProps, "setDisplayZoomControls", sourceProps.setDisplayZoomControls, {false})),
54
+ setSupportMultipleWindows(convertRawProp(context, rawProps, "setSupportMultipleWindows",
55
+ sourceProps.setSupportMultipleWindows, {false})),
56
+ textZoom(convertRawProp(context, rawProps, "textZoom", sourceProps.textZoom, {0})),
57
+ thirdPartyCookiesEnabled(
58
+ convertRawProp(context, rawProps, "thirdPartyCookiesEnabled", sourceProps.thirdPartyCookiesEnabled, {false})),
59
+ hasOnScroll(convertRawProp(context, rawProps, "hasOnScroll", sourceProps.hasOnScroll, {false})),
60
+ injectedJavaScriptObject(
61
+ convertRawProp(context, rawProps, "injectedJavaScriptObject", sourceProps.injectedJavaScriptObject, {})),
62
+ allowingReadAccessToURL(
63
+ convertRawProp(context, rawProps, "allowingReadAccessToURL", sourceProps.allowingReadAccessToURL, {})),
64
+ allowsBackForwardNavigationGestures(convertRawProp(context, rawProps, "allowsBackForwardNavigationGestures",
65
+ sourceProps.allowsBackForwardNavigationGestures, {false})),
66
+ allowsInlineMediaPlayback(convertRawProp(context, rawProps, "allowsInlineMediaPlayback",
67
+ sourceProps.allowsInlineMediaPlayback, {false})),
68
+ allowsAirPlayForMediaPlayback(convertRawProp(context, rawProps, "allowsAirPlayForMediaPlayback",
69
+ sourceProps.allowsAirPlayForMediaPlayback, {false})),
70
+ allowsLinkPreview(convertRawProp(context, rawProps, "allowsLinkPreview", sourceProps.allowsLinkPreview, {false})),
71
+ automaticallyAdjustContentInsets(convertRawProp(context, rawProps, "automaticallyAdjustContentInsets",
72
+ sourceProps.automaticallyAdjustContentInsets, {false})),
73
+ ignoreSilentHardwareSwitch(convertRawProp(context, rawProps, "ignoreSilentHardwareSwitch",
74
+ sourceProps.ignoreSilentHardwareSwitch, {false})),
75
+ autoManageStatusBarEnabled(convertRawProp(context, rawProps, "autoManageStatusBarEnabled",
76
+ sourceProps.autoManageStatusBarEnabled, {false})),
77
+ bounces(convertRawProp(context, rawProps, "bounces", sourceProps.bounces, {false})),
78
+ contentInset(convertRawProp(context, rawProps, "contentInset", sourceProps.contentInset, {})),
79
+ contentInsetAdjustmentBehavior(convertRawProp(context, rawProps, "contentInsetAdjustmentBehavior",
80
+ sourceProps.contentInsetAdjustmentBehavior,
81
+ {RNCWebViewContentInsetAdjustmentBehavior::Never})),
82
+ contentMode(convertRawProp(context, rawProps, "contentMode", sourceProps.contentMode,
83
+ {RNCWebViewContentMode::Recommended})),
84
+ dataDetectorTypes(convertRawProp(context, rawProps, "dataDetectorTypes", sourceProps.dataDetectorTypes, {})),
85
+ decelerationRate(convertRawProp(context, rawProps, "decelerationRate", sourceProps.decelerationRate, {0.0})),
86
+ directionalLockEnabled(
87
+ convertRawProp(context, rawProps, "directionalLockEnabled", sourceProps.directionalLockEnabled, {false})),
88
+ enableApplePay(convertRawProp(context, rawProps, "enableApplePay", sourceProps.enableApplePay, {false})),
89
+ hideKeyboardAccessoryView(convertRawProp(context, rawProps, "hideKeyboardAccessoryView",
90
+ sourceProps.hideKeyboardAccessoryView, {false})),
91
+ keyboardDisplayRequiresUserAction(convertRawProp(context, rawProps, "keyboardDisplayRequiresUserAction",
92
+ sourceProps.keyboardDisplayRequiresUserAction, {false})),
93
+ limitsNavigationsToAppBoundDomains(convertRawProp(context, rawProps, "limitsNavigationsToAppBoundDomains",
94
+ sourceProps.limitsNavigationsToAppBoundDomains, {false})),
95
+ mediaCapturePermissionGrantType(convertRawProp(context, rawProps, "mediaCapturePermissionGrantType",
96
+ sourceProps.mediaCapturePermissionGrantType,
97
+ {RNCWebViewMediaCapturePermissionGrantType::Prompt})),
98
+ pagingEnabled(convertRawProp(context, rawProps, "pagingEnabled", sourceProps.pagingEnabled, {false})),
99
+ pullToRefreshEnabled(
100
+ convertRawProp(context, rawProps, "pullToRefreshEnabled", sourceProps.pullToRefreshEnabled, {false})),
101
+ scrollEnabled(convertRawProp(context, rawProps, "scrollEnabled", sourceProps.scrollEnabled, {false})),
102
+ hasOnShouldStartLoadWithRequestEvent(convertRawProp(context, rawProps, "hasOnShouldStartLoadWithRequestEvent",
103
+ sourceProps.hasOnShouldStartLoadWithRequestEvent, {false})),
104
+ originWhitelist(convertRawProp(context, rawProps, "originWhitelist", sourceProps.originWhitelist, {})),
105
+ sharedCookiesEnabled(
106
+ convertRawProp(context, rawProps, "sharedCookiesEnabled", sourceProps.sharedCookiesEnabled, {false})),
107
+ textInteractionEnabled(
108
+ convertRawProp(context, rawProps, "textInteractionEnabled", sourceProps.textInteractionEnabled, {false})),
109
+ useSharedProcessPool(
110
+ convertRawProp(context, rawProps, "useSharedProcessPool", sourceProps.useSharedProcessPool, {false})),
111
+ menuItems(convertRawProp(context, rawProps, "menuItems", sourceProps.menuItems, {})),
112
+ suppressMenuItems(convertRawProp(context, rawProps, "suppressMenuItems", sourceProps.suppressMenuItems, {})),
113
+ hasOnFileDownload(convertRawProp(context, rawProps, "hasOnFileDownload", sourceProps.hasOnFileDownload, {false})),
114
+ fraudulentWebsiteWarningEnabled(convertRawProp(context, rawProps, "fraudulentWebsiteWarningEnabled",
115
+ sourceProps.fraudulentWebsiteWarningEnabled, {false})),
116
+ allowFileAccessFromFileURLs(convertRawProp(context, rawProps, "allowFileAccessFromFileURLs",
117
+ sourceProps.allowFileAccessFromFileURLs, {false})),
118
+ allowUniversalAccessFromFileURLs(convertRawProp(context, rawProps, "allowUniversalAccessFromFileURLs",
119
+ sourceProps.allowUniversalAccessFromFileURLs, {false})),
120
+ applicationNameForUserAgent(convertRawProp(context, rawProps, "applicationNameForUserAgent",
121
+ sourceProps.applicationNameForUserAgent, {})),
122
+ basicAuthCredential(
123
+ convertRawProp(context, rawProps, "basicAuthCredential", sourceProps.basicAuthCredential, {})),
124
+ cacheEnabled(convertRawProp(context, rawProps, "cacheEnabled", sourceProps.cacheEnabled, {false})),
125
+ incognito(convertRawProp(context, rawProps, "incognito", sourceProps.incognito, {false})),
126
+ injectedJavaScript(convertRawProp(context, rawProps, "injectedJavaScript", sourceProps.injectedJavaScript, {})),
127
+ injectedJavaScriptBeforeContentLoaded(convertRawProp(context, rawProps, "injectedJavaScriptBeforeContentLoaded",
128
+ sourceProps.injectedJavaScriptBeforeContentLoaded, {})),
129
+ injectedJavaScriptForMainFrameOnly(convertRawProp(context, rawProps, "injectedJavaScriptForMainFrameOnly",
130
+ sourceProps.injectedJavaScriptForMainFrameOnly, {false})),
131
+ injectedJavaScriptBeforeContentLoadedForMainFrameOnly(
132
+ convertRawProp(context, rawProps, "injectedJavaScriptBeforeContentLoadedForMainFrameOnly",
133
+ sourceProps.injectedJavaScriptBeforeContentLoadedForMainFrameOnly, {false})),
134
+ javaScriptCanOpenWindowsAutomatically(convertRawProp(context, rawProps, "javaScriptCanOpenWindowsAutomatically",
135
+ sourceProps.javaScriptCanOpenWindowsAutomatically, {false})),
136
+ javaScriptEnabled(convertRawProp(context, rawProps, "javaScriptEnabled", sourceProps.javaScriptEnabled, {false})),
137
+ webviewDebuggingEnabled(
138
+ convertRawProp(context, rawProps, "webviewDebuggingEnabled", sourceProps.webviewDebuggingEnabled, {false})),
139
+ mediaPlaybackRequiresUserAction(convertRawProp(context, rawProps, "mediaPlaybackRequiresUserAction",
140
+ sourceProps.mediaPlaybackRequiresUserAction, {false})),
141
+ messagingEnabled(convertRawProp(context, rawProps, "messagingEnabled", sourceProps.messagingEnabled, {false})),
142
+ shouldStartLoadWithRequestEnabled(convertRawProp(context, rawProps, "shouldStartLoadWithRequestEnabled",
143
+ sourceProps.shouldStartLoadWithRequestEnabled, {false})),
144
+ hasOnOpenWindowEvent(
145
+ convertRawProp(context, rawProps, "hasOnOpenWindowEvent", sourceProps.hasOnOpenWindowEvent, {false})),
146
+ showsHorizontalScrollIndicator(convertRawProp(context, rawProps, "showsHorizontalScrollIndicator",
147
+ sourceProps.showsHorizontalScrollIndicator, {false})),
148
+ showsVerticalScrollIndicator(convertRawProp(context, rawProps, "showsVerticalScrollIndicator",
149
+ sourceProps.showsVerticalScrollIndicator, {false})),
150
+ newSource(convertRawProp(context, rawProps, "newSource", sourceProps.newSource, {})),
151
+ userAgent(convertRawProp(context, rawProps, "userAgent", sourceProps.userAgent, {})),
152
+ schemeList(convertRawProp(context, rawProps, "schemeList", sourceProps.schemeList, {})),
153
+ renderMode(convertRawProp(context, rawProps, "renderMode", sourceProps.renderMode, {"SYNC_RENDER"})) {}
154
+
155
+ } // namespace react
156
+ } // namespace facebook