react-native-webview-bootpay 13.8.42 → 13.13.4-6.alpha.1

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 (101) hide show
  1. package/README.md +53 -69
  2. package/android/build.gradle +1 -11
  3. package/android/gradle.properties +0 -42
  4. package/android/src/main/AndroidManifest.xml +3 -1
  5. package/android/src/main/AndroidManifestNew.xml +97 -0
  6. package/android/src/main/java/kr/co/bootpay/webview/BPCWebChromeClient.java +54 -10
  7. package/android/src/main/java/kr/co/bootpay/webview/BPCWebView.java +101 -68
  8. package/android/src/main/java/kr/co/bootpay/webview/BPCWebViewClient.java +68 -60
  9. package/android/src/main/java/kr/co/bootpay/webview/BPCWebViewManagerImpl.kt +119 -65
  10. package/android/src/main/java/kr/co/bootpay/webview/BPCWebViewMessagingModule.kt +9 -0
  11. package/android/src/main/java/kr/co/bootpay/webview/BPCWebViewModuleImpl.java +1 -1
  12. package/android/src/main/java/kr/co/bootpay/webview/BootpayUrlHelper.java +4 -12
  13. package/android/src/newarch/{com/reactnativecommunity → kr/co/bootpay}/webview/BPCWebViewManager.java +118 -109
  14. package/android/src/newarch/{com/reactnativecommunity → kr/co/bootpay}/webview/BPCWebViewModule.java +1 -1
  15. package/android/src/{main/java → oldarch}/kr/co/bootpay/webview/BPCWebViewManager.java +63 -58
  16. package/android/src/{main/java → oldarch}/kr/co/bootpay/webview/BPCWebViewModule.java +1 -1
  17. package/apple/BPCWebView.mm +39 -30
  18. package/apple/BPCWebViewImpl.h +10 -0
  19. package/apple/BPCWebViewImpl.m +267 -205
  20. package/apple/BPCWebViewManager.mm +5 -24
  21. package/apple/BPCWebViewModule.h +23 -0
  22. package/apple/BPCWebViewModule.mm +34 -0
  23. package/apple/RCTConvert+WKDataDetectorTypes.h +11 -0
  24. package/apple/RCTConvert+WKDataDetectorTypes.m +27 -0
  25. package/index.d.ts +54 -48
  26. package/ios/RNCWebView.xcodeproj/project.pbxproj +24 -24
  27. package/ios/RNCWebView.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  28. package/ios/RNCWebView.xcodeproj/project.xcworkspace/xcuserdata/taesupyoon.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  29. package/ios/RNCWebView.xcodeproj/xcuserdata/taesupyoon.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  30. package/lib/BPCWebViewNativeComponent.d.ts +24 -25
  31. package/lib/BPCWebViewNativeComponent.js +1 -1
  32. package/lib/{NativeBPCWebView.d.ts → NativeBPCWebViewModule.d.ts} +2 -5
  33. package/lib/{NativeBPCWebView.js → NativeBPCWebViewModule.js} +1 -1
  34. package/lib/WebView.android.d.ts +0 -1
  35. package/lib/WebView.android.js +1 -1
  36. package/lib/WebView.d.ts +0 -1
  37. package/lib/WebView.ios.d.ts +0 -1
  38. package/lib/WebView.ios.js +1 -1
  39. package/lib/WebView.js +1 -1
  40. package/lib/WebView.macos.d.ts +0 -1
  41. package/lib/WebView.macos.js +1 -1
  42. package/lib/WebView.styles.d.ts +37 -11
  43. package/lib/WebView.styles.js +1 -1
  44. package/lib/WebView.windows.d.ts +0 -1
  45. package/lib/WebView.windows.js +1 -1
  46. package/lib/WebViewNativeComponent.macos.d.ts +1 -2
  47. package/lib/WebViewNativeComponent.windows.d.ts +1 -2
  48. package/lib/WebViewShared.d.ts +0 -1
  49. package/lib/WebViewShared.js +1 -1
  50. package/lib/WebViewTypes.d.ts +51 -3
  51. package/lib/WebViewTypes.js +1 -1
  52. package/lib/index.d.ts +0 -1
  53. package/macos/RNCWebView.xcodeproj/project.pbxproj +36 -36
  54. package/package.json +12 -11
  55. package/react-native-webview-bootpay.podspec +2 -2
  56. package/react-native.config.js +1 -5
  57. package/src/BPCWebViewNativeComponent.ts +143 -79
  58. package/src/NativeBPCWebViewModule.ts +13 -0
  59. package/src/WebView.android.tsx +295 -190
  60. package/src/WebView.ios.tsx +253 -186
  61. package/src/WebView.macos.tsx +220 -152
  62. package/src/WebView.styles.ts +9 -12
  63. package/src/WebView.tsx +14 -7
  64. package/src/WebView.windows.tsx +180 -126
  65. package/src/WebViewNativeComponent.macos.ts +4 -5
  66. package/src/WebViewNativeComponent.windows.ts +6 -8
  67. package/src/WebViewShared.tsx +139 -91
  68. package/src/WebViewTypes.ts +80 -35
  69. package/src/__tests__/WebViewShared-test.js +170 -55
  70. package/windows/ReactNativeWebView/ReactNativeWebView.vcxproj +8 -17
  71. package/windows/ReactNativeWebView/ReactPackageProvider.cpp +5 -1
  72. package/windows/ReactNativeWebView/ReactWebView.cpp +73 -6
  73. package/windows/ReactNativeWebView/ReactWebView.h +11 -1
  74. package/windows/ReactNativeWebView/ReactWebView.idl +12 -3
  75. package/windows/ReactNativeWebView/ReactWebView2.cpp +294 -129
  76. package/windows/ReactNativeWebView/ReactWebView2.h +42 -5
  77. package/windows/ReactNativeWebView/ReactWebView2Manager.cpp +60 -34
  78. package/windows/ReactNativeWebView/ReactWebView2Manager.h +4 -4
  79. package/windows/ReactNativeWebView/ReactWebViewHelpers.cpp +70 -0
  80. package/windows/ReactNativeWebView/ReactWebViewHelpers.h +16 -0
  81. package/windows/ReactNativeWebView/ReactWebViewManager.cpp +22 -3
  82. package/windows/ReactNativeWebView/ReactWebViewManager.h +6 -1
  83. package/windows/ReactNativeWebView/pch.h +11 -7
  84. package/windows/ReactNativeWebView.sln +14 -14
  85. package/ios/main.jsbundle +0 -457
  86. package/lib/BPCWebViewNativeComponent.d.ts.map +0 -1
  87. package/lib/NativeBPCWebView.d.ts.map +0 -1
  88. package/lib/WebView.android.d.ts.map +0 -1
  89. package/lib/WebView.d.ts.map +0 -1
  90. package/lib/WebView.ios.d.ts.map +0 -1
  91. package/lib/WebView.macos.d.ts.map +0 -1
  92. package/lib/WebView.styles.d.ts.map +0 -1
  93. package/lib/WebView.windows.d.ts.map +0 -1
  94. package/lib/WebViewNativeComponent.macos.d.ts.map +0 -1
  95. package/lib/WebViewNativeComponent.windows.d.ts.map +0 -1
  96. package/lib/WebViewShared.d.ts.map +0 -1
  97. package/lib/WebViewTypes.d.ts.map +0 -1
  98. package/lib/index.d.ts.map +0 -1
  99. package/src/NativeBPCWebView.ts +0 -14
  100. package/windows/ReactNativeWebView/packages.config +0 -5
  101. /package/android/src/main/java/kr/co/bootpay/webview/{BPCWebviewWrapper.kt → BPCWebViewWrapper.kt} +0 -0
@@ -2,10 +2,6 @@
2
2
 
3
3
  #import "BPCWebViewManager.h"
4
4
  #import "BPCWebViewImpl.h"
5
- #import "BPCWebViewDecisionManager.h"
6
- #ifdef RCT_NEW_ARCH_ENABLED
7
- #import "BPCWebViewSpec/BPCWebViewSpec.h"
8
- #endif
9
5
 
10
6
  #if TARGET_OS_OSX
11
7
  #define RNCView NSView
@@ -35,11 +31,7 @@ RCT_ENUM_CONVERTER(BPCWebViewPermissionGrantType, (@{
35
31
  #endif
36
32
  @end
37
33
 
38
-
39
- @implementation BPCWebViewManager {
40
- NSConditionLock *_shouldStartLoadLock;
41
- BOOL _shouldStartLoad;
42
- }
34
+ @implementation BPCWebViewManager
43
35
 
44
36
  RCT_EXPORT_MODULE(BPCWebView)
45
37
 
@@ -70,6 +62,7 @@ RCT_EXPORT_VIEW_PROPERTY(javaScriptCanOpenWindowsAutomatically, BOOL)
70
62
  RCT_EXPORT_VIEW_PROPERTY(allowFileAccessFromFileURLs, BOOL)
71
63
  RCT_EXPORT_VIEW_PROPERTY(allowUniversalAccessFromFileURLs, BOOL)
72
64
  RCT_EXPORT_VIEW_PROPERTY(allowsInlineMediaPlayback, BOOL)
65
+ RCT_EXPORT_VIEW_PROPERTY(allowsPictureInPictureMediaPlayback, BOOL)
73
66
  RCT_EXPORT_VIEW_PROPERTY(webviewDebuggingEnabled, BOOL)
74
67
  RCT_EXPORT_VIEW_PROPERTY(allowsAirPlayForMediaPlayback, BOOL)
75
68
  RCT_EXPORT_VIEW_PROPERTY(mediaPlaybackRequiresUserAction, BOOL)
@@ -132,6 +125,9 @@ RCT_EXPORT_VIEW_PROPERTY(onCustomMenuSelection, RCTDirectEventBlock)
132
125
  RCT_CUSTOM_VIEW_PROPERTY(pullToRefreshEnabled, BOOL, BPCWebViewImpl) {
133
126
  view.pullToRefreshEnabled = json == nil ? false : [RCTConvert BOOL: json];
134
127
  }
128
+ RCT_CUSTOM_VIEW_PROPERTY(refreshControlLightMode, BOOL, BPCWebViewImpl) {
129
+ view.refreshControlLightMode = json == nil ? false : [RCTConvert BOOL: json];
130
+ }
135
131
 
136
132
  RCT_CUSTOM_VIEW_PROPERTY(bounces, BOOL, BPCWebViewImpl) {
137
133
  view.bounces = json == nil ? true : [RCTConvert BOOL: json];
@@ -216,19 +212,4 @@ QUICK_RCT_EXPORT_COMMAND_METHOD_PARAMS(postMessage, message:(NSString *)message,
216
212
  QUICK_RCT_EXPORT_COMMAND_METHOD_PARAMS(injectJavaScript, script:(NSString *)script, script)
217
213
  QUICK_RCT_EXPORT_COMMAND_METHOD_PARAMS(clearCache, includeDiskFiles:(BOOL)includeDiskFiles, includeDiskFiles)
218
214
 
219
- RCT_EXPORT_METHOD(shouldStartLoadWithLockIdentifier:(BOOL)shouldStart
220
- lockIdentifier:(double)lockIdentifier)
221
- {
222
- [[BPCWebViewDecisionManager getInstance] setResult:shouldStart forLockIdentifier:(int)lockIdentifier];
223
- }
224
-
225
- // Thanks to this guard, we won't compile this code when we build for the old architecture.
226
- #ifdef RCT_NEW_ARCH_ENABLED
227
- - (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
228
- (const facebook::react::ObjCTurboModule::InitParams &)params
229
- {
230
- return std::make_shared<facebook::react::NativeBPCWebViewSpecJSI>(params);
231
- }
232
- #endif
233
-
234
215
  @end
@@ -0,0 +1,23 @@
1
+ #ifndef BPCWebViewModule_h
2
+ #define BPCWebViewModule_h
3
+
4
+ #ifdef RCT_NEW_ARCH_ENABLED
5
+ #import "BPCWebViewSpec/BPCWebViewSpec.h"
6
+ #endif /* RCT_NEW_ARCH_ENABLED */
7
+
8
+ #import <React/RCTBridgeModule.h>
9
+
10
+ NS_ASSUME_NONNULL_BEGIN
11
+
12
+ @interface BPCWebViewModule : NSObject <
13
+ #ifdef RCT_NEW_ARCH_ENABLED
14
+ NativeBPCWebViewModuleSpec
15
+ #else
16
+ RCTBridgeModule
17
+ #endif /* RCT_NEW_ARCH_ENABLED */
18
+ >
19
+ @end
20
+
21
+ NS_ASSUME_NONNULL_END
22
+
23
+ #endif /* BPCWebViewModule_h */
@@ -0,0 +1,34 @@
1
+ #import "BPCWebViewModule.h"
2
+
3
+ #import "BPCWebViewDecisionManager.h"
4
+
5
+ #ifdef RCT_NEW_ARCH_ENABLED
6
+ #import <React/RCTFabricComponentsPlugins.h>
7
+ #endif /* RCT_NEW_ARCH_ENABLED */
8
+
9
+ @implementation BPCWebViewModule
10
+
11
+ RCT_EXPORT_MODULE(BPCWebViewModule)
12
+
13
+ RCT_EXPORT_METHOD(isFileUploadSupported:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject) {
14
+ if (resolve) {
15
+ resolve(@(YES));
16
+ }
17
+ }
18
+
19
+ RCT_EXPORT_METHOD(shouldStartLoadWithLockIdentifier:(BOOL)shouldStart lockIdentifier:(double)lockIdentifier)
20
+ {
21
+ [[BPCWebViewDecisionManager getInstance] setResult:shouldStart forLockIdentifier:(int)lockIdentifier];
22
+ }
23
+
24
+ #ifdef RCT_NEW_ARCH_ENABLED
25
+ - (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:(const facebook::react::ObjCTurboModule::InitParams &)params {
26
+ return std::make_shared<facebook::react::NativeRNCWebViewModuleSpecJSI>(params);
27
+ }
28
+ #endif /* RCT_NEW_ARCH_ENABLED */
29
+
30
+ Class BPCWebViewModuleCls(void) {
31
+ return BPCWebViewModule.class;
32
+ }
33
+
34
+ @end
@@ -0,0 +1,11 @@
1
+ #import <WebKit/WebKit.h>
2
+
3
+ #import <React/RCTConvert.h>
4
+
5
+ #if TARGET_OS_IPHONE
6
+ @interface RCTConvert (WKDataDetectorTypes)
7
+
8
+ + (WKDataDetectorTypes)WKDataDetectorTypes:(id)json;
9
+
10
+ @end
11
+ #endif // TARGET_OS_IPHONE
@@ -0,0 +1,27 @@
1
+ #import <WebKit/WebKit.h>
2
+
3
+ #import <React/RCTConvert.h>
4
+
5
+ #if TARGET_OS_IPHONE
6
+
7
+ @implementation RCTConvert (WKDataDetectorTypes)
8
+
9
+ RCT_MULTI_ENUM_CONVERTER(
10
+ WKDataDetectorTypes,
11
+ (@{
12
+ @"none" : @(WKDataDetectorTypeNone),
13
+ @"phoneNumber" : @(WKDataDetectorTypePhoneNumber),
14
+ @"link" : @(WKDataDetectorTypeLink),
15
+ @"address" : @(WKDataDetectorTypeAddress),
16
+ @"calendarEvent" : @(WKDataDetectorTypeCalendarEvent),
17
+ @"trackingNumber" : @(WKDataDetectorTypeTrackingNumber),
18
+ @"flightNumber" : @(WKDataDetectorTypeFlightNumber),
19
+ @"lookupSuggestion" : @(WKDataDetectorTypeLookupSuggestion),
20
+ @"all" : @(WKDataDetectorTypeAll),
21
+ }),
22
+ WKDataDetectorTypeNone,
23
+ unsignedLongLongValue)
24
+
25
+ @end
26
+
27
+ #endif // TARGET_OS_IPHONE
package/index.d.ts CHANGED
@@ -2,64 +2,70 @@ import { Component } from 'react';
2
2
  // eslint-disable-next-line
3
3
  import { IOSWebViewProps, AndroidWebViewProps, WindowsWebViewProps } from './lib/WebViewTypes';
4
4
 
5
- export { FileDownload, WebViewMessageEvent, WebViewNavigation } from "./lib/WebViewTypes";
5
+ export {
6
+ FileDownload,
7
+ WebViewMessageEvent,
8
+ WebViewNavigation,
9
+ } from './lib/WebViewTypes';
6
10
 
7
- export type WebViewProps = IOSWebViewProps & AndroidWebViewProps & WindowsWebViewProps;
11
+ export type WebViewProps = IOSWebViewProps &
12
+ AndroidWebViewProps &
13
+ WindowsWebViewProps;
8
14
 
9
15
  declare class WebView<P = {}> extends Component<WebViewProps & P> {
10
- /**
11
- * Go back one page in the webview's history.
12
- */
13
- goBack: () => void;
16
+ /**
17
+ * Go back one page in the webview's history.
18
+ */
19
+ goBack: () => void;
14
20
 
15
- /**
16
- * Go forward one page in the webview's history.
17
- */
18
- goForward: () => void;
21
+ /**
22
+ * Go forward one page in the webview's history.
23
+ */
24
+ goForward: () => void;
19
25
 
20
- /**
21
- * Reloads the current page.
22
- */
23
- reload: () => void;
26
+ /**
27
+ * Reloads the current page.
28
+ */
29
+ reload: () => void;
24
30
 
25
- /**
26
- * Stop loading the current page.
27
- */
28
- stopLoading(): void;
31
+ /**
32
+ * Stop loading the current page.
33
+ */
34
+ stopLoading(): void;
29
35
 
30
- /**
31
- * Executes the JavaScript string.
32
- */
33
- injectJavaScript: (script: string) => void;
36
+ /**
37
+ * Executes the JavaScript string.
38
+ */
39
+ injectJavaScript: (script: string) => void;
34
40
 
35
- /**
36
- * Focuses on WebView redered page.
37
- */
38
- requestFocus: () => void;
39
-
40
- /**
41
- * Posts a message to WebView.
42
- */
43
- postMessage: (message: string) => void;
44
-
45
- /**
46
- * (Android only)
47
- * Removes the autocomplete popup from the currently focused form field, if present.
48
- */
49
- clearFormData?: () => void;
41
+ /**
42
+ * Focuses on WebView redered page.
43
+ */
44
+ requestFocus: () => void;
50
45
 
51
- /**
52
- * (Android only)
53
- * Clears the resource cache. Note that the cache is per-application, so this will clear the cache for all WebViews used.
54
- */
55
- clearCache?: (clear: boolean) => void;
46
+ /**
47
+ * Posts a message to WebView.
48
+ */
49
+ postMessage: (message: string) => void;
56
50
 
57
- /**
58
- * (Android only)
59
- * Tells this WebView to clear its internal back/forward list.
60
- */
61
- clearHistory?: () => void;
51
+ /**
52
+ * (Android only)
53
+ * Removes the autocomplete popup from the currently focused form field, if present.
54
+ */
55
+ clearFormData?: () => void;
56
+
57
+ /**
58
+ * (Android only)
59
+ * Clears the resource cache. Note that the cache is per-application, so this will clear the cache for all WebViews used.
60
+ */
61
+ clearCache?: (clear: boolean) => void;
62
+
63
+ /**
64
+ * (Android only)
65
+ * Tells this WebView to clear its internal back/forward list.
66
+ */
67
+ clearHistory?: () => void;
62
68
  }
63
69
 
64
- export {WebView};
70
+ export { WebView };
65
71
  export default WebView;
@@ -7,9 +7,9 @@
7
7
  objects = {
8
8
 
9
9
  /* Begin PBXBuildFile section */
10
- 3515965E21A3C86000623BFA /* BPCWKProcessPoolManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3515965D21A3C86000623BFA /* BPCWKProcessPoolManager.m */; };
10
+ 3515965E21A3C86000623BFA /* RNCWKProcessPoolManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */; };
11
11
  E91B351D21446E6C00F9801F /* BPCWebViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351B21446E6C00F9801F /* BPCWebViewManager.m */; };
12
- E91B351E21446E6C00F9801F /* BPCWebView.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351C21446E6C00F9801F /* BPCWebView.m */; };
12
+ E91B351E21446E6C00F9801F /* RNCWebView.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351C21446E6C00F9801F /* RNCWebView.m */; };
13
13
  /* End PBXBuildFile section */
14
14
 
15
15
  /* Begin PBXCopyFilesBuildPhase section */
@@ -25,13 +25,13 @@
25
25
  /* End PBXCopyFilesBuildPhase section */
26
26
 
27
27
  /* Begin PBXFileReference section */
28
- 134814201AA4EA6300B7C361 /* libBPCWebView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libBPCWebView.a; sourceTree = BUILT_PRODUCTS_DIR; };
29
- 3515965D21A3C86000623BFA /* BPCWKProcessPoolManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = BPCWKProcessPoolManager.m; path = ../apple/BPCWKProcessPoolManager.m; sourceTree = "<group>"; };
30
- 3515965F21A3C87E00623BFA /* BPCWKProcessPoolManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = BPCWKProcessPoolManager.h; path = ../apple/BPCWKProcessPoolManager.h; sourceTree = "<group>"; };
28
+ 134814201AA4EA6300B7C361 /* libRNCWebView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNCWebView.a; sourceTree = BUILT_PRODUCTS_DIR; };
29
+ 3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = RNCWKProcessPoolManager.m; path = ../apple/RNCWKProcessPoolManager.m; sourceTree = "<group>"; };
30
+ 3515965F21A3C87E00623BFA /* RNCWKProcessPoolManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RNCWKProcessPoolManager.h; path = ../apple/RNCWKProcessPoolManager.h; sourceTree = "<group>"; };
31
31
  E91B351921446E6C00F9801F /* BPCWebViewManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BPCWebViewManager.h; path = ../apple/BPCWebViewManager.h; sourceTree = "<group>"; };
32
- E91B351A21446E6C00F9801F /* BPCWebView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BPCWebView.h; path = ../apple/BPCWebView.h; sourceTree = "<group>"; };
32
+ E91B351A21446E6C00F9801F /* RNCWebView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RNCWebView.h; path = ../apple/RNCWebView.h; sourceTree = "<group>"; };
33
33
  E91B351B21446E6C00F9801F /* BPCWebViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BPCWebViewManager.m; path = ../apple/BPCWebViewManager.m; sourceTree = "<group>"; };
34
- E91B351C21446E6C00F9801F /* BPCWebView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BPCWebView.m; path = ../apple/BPCWebView.m; sourceTree = "<group>"; };
34
+ E91B351C21446E6C00F9801F /* RNCWebView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RNCWebView.m; path = ../apple/RNCWebView.m; sourceTree = "<group>"; };
35
35
  /* End PBXFileReference section */
36
36
 
37
37
  /* Begin PBXFrameworksBuildPhase section */
@@ -48,7 +48,7 @@
48
48
  134814211AA4EA7D00B7C361 /* Products */ = {
49
49
  isa = PBXGroup;
50
50
  children = (
51
- 134814201AA4EA6300B7C361 /* libBPCWebView.a */,
51
+ 134814201AA4EA6300B7C361 /* libRNCWebView.a */,
52
52
  );
53
53
  name = Products;
54
54
  sourceTree = "<group>";
@@ -56,12 +56,12 @@
56
56
  58B511D21A9E6C8500147676 = {
57
57
  isa = PBXGroup;
58
58
  children = (
59
- E91B351A21446E6C00F9801F /* BPCWebView.h */,
60
- E91B351C21446E6C00F9801F /* BPCWebView.m */,
59
+ E91B351A21446E6C00F9801F /* RNCWebView.h */,
60
+ E91B351C21446E6C00F9801F /* RNCWebView.m */,
61
61
  E91B351921446E6C00F9801F /* BPCWebViewManager.h */,
62
62
  E91B351B21446E6C00F9801F /* BPCWebViewManager.m */,
63
- 3515965F21A3C87E00623BFA /* BPCWKProcessPoolManager.h */,
64
- 3515965D21A3C86000623BFA /* BPCWKProcessPoolManager.m */,
63
+ 3515965F21A3C87E00623BFA /* RNCWKProcessPoolManager.h */,
64
+ 3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */,
65
65
  134814211AA4EA7D00B7C361 /* Products */,
66
66
  );
67
67
  indentWidth = 2;
@@ -71,9 +71,9 @@
71
71
  /* End PBXGroup section */
72
72
 
73
73
  /* Begin PBXNativeTarget section */
74
- 58B511DA1A9E6C8500147676 /* BPCWebView */ = {
74
+ 58B511DA1A9E6C8500147676 /* RNCWebView */ = {
75
75
  isa = PBXNativeTarget;
76
- buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "BPCWebView" */;
76
+ buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNCWebView" */;
77
77
  buildPhases = (
78
78
  58B511D71A9E6C8500147676 /* Sources */,
79
79
  58B511D81A9E6C8500147676 /* Frameworks */,
@@ -83,9 +83,9 @@
83
83
  );
84
84
  dependencies = (
85
85
  );
86
- name = BPCWebView;
86
+ name = RNCWebView;
87
87
  productName = RCTDataManager;
88
- productReference = 134814201AA4EA6300B7C361 /* libBPCWebView.a */;
88
+ productReference = 134814201AA4EA6300B7C361 /* libRNCWebView.a */;
89
89
  productType = "com.apple.product-type.library.static";
90
90
  };
91
91
  /* End PBXNativeTarget section */
@@ -102,7 +102,7 @@
102
102
  };
103
103
  };
104
104
  };
105
- buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "BPCWebView" */;
105
+ buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNCWebView" */;
106
106
  compatibilityVersion = "Xcode 3.2";
107
107
  developmentRegion = en;
108
108
  hasScannedForEncodings = 0;
@@ -114,7 +114,7 @@
114
114
  projectDirPath = "";
115
115
  projectRoot = "";
116
116
  targets = (
117
- 58B511DA1A9E6C8500147676 /* BPCWebView */,
117
+ 58B511DA1A9E6C8500147676 /* RNCWebView */,
118
118
  );
119
119
  };
120
120
  /* End PBXProject section */
@@ -125,8 +125,8 @@
125
125
  buildActionMask = 2147483647;
126
126
  files = (
127
127
  E91B351D21446E6C00F9801F /* BPCWebViewManager.m in Sources */,
128
- E91B351E21446E6C00F9801F /* BPCWebView.m in Sources */,
129
- 3515965E21A3C86000623BFA /* BPCWKProcessPoolManager.m in Sources */,
128
+ E91B351E21446E6C00F9801F /* RNCWebView.m in Sources */,
129
+ 3515965E21A3C86000623BFA /* RNCWKProcessPoolManager.m in Sources */,
130
130
  );
131
131
  runOnlyForDeploymentPostprocessing = 0;
132
132
  };
@@ -225,7 +225,7 @@
225
225
  );
226
226
  LIBRARY_SEARCH_PATHS = "$(inherited)";
227
227
  OTHER_LDFLAGS = "-ObjC";
228
- PRODUCT_NAME = BPCWebView;
228
+ PRODUCT_NAME = RNCWebView;
229
229
  SKIP_INSTALL = YES;
230
230
  };
231
231
  name = Debug;
@@ -241,7 +241,7 @@
241
241
  );
242
242
  LIBRARY_SEARCH_PATHS = "$(inherited)";
243
243
  OTHER_LDFLAGS = "-ObjC";
244
- PRODUCT_NAME = BPCWebView;
244
+ PRODUCT_NAME = RNCWebView;
245
245
  SKIP_INSTALL = YES;
246
246
  };
247
247
  name = Release;
@@ -249,7 +249,7 @@
249
249
  /* End XCBuildConfiguration section */
250
250
 
251
251
  /* Begin XCConfigurationList section */
252
- 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "BPCWebView" */ = {
252
+ 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNCWebView" */ = {
253
253
  isa = XCConfigurationList;
254
254
  buildConfigurations = (
255
255
  58B511ED1A9E6C8500147676 /* Debug */,
@@ -258,7 +258,7 @@
258
258
  defaultConfigurationIsVisible = 0;
259
259
  defaultConfigurationName = Release;
260
260
  };
261
- 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "BPCWebView" */ = {
261
+ 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNCWebView" */ = {
262
262
  isa = XCConfigurationList;
263
263
  buildConfigurations = (
264
264
  58B511F01A9E6C8500147676 /* Debug */,
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>SchemeUserState</key>
6
+ <dict>
7
+ <key>RNCWebView.xcscheme_^#shared#^_</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>0</integer>
11
+ </dict>
12
+ </dict>
13
+ </dict>
14
+ </plist>
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
- /// <reference types="react-native/types/modules/Codegen" />
3
1
  import type { HostComponent, ViewProps } from 'react-native';
4
2
  import { DirectEventHandler, Double, Int32, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
5
3
  export type WebViewNativeEvent = Readonly<{
@@ -133,22 +131,22 @@ export interface NativeProps extends ViewProps {
133
131
  onRenderProcessGone?: DirectEventHandler<WebViewRenderProcessGoneEvent>;
134
132
  overScrollMode?: string;
135
133
  saveFormDataDisabled?: boolean;
136
- scalesPageToFit?: boolean;
137
- setBuiltInZoomControls?: boolean;
134
+ scalesPageToFit?: WithDefault<boolean, true>;
135
+ setBuiltInZoomControls?: WithDefault<boolean, true>;
138
136
  setDisplayZoomControls?: boolean;
139
- setSupportMultipleWindows?: boolean;
137
+ setSupportMultipleWindows?: WithDefault<boolean, true>;
140
138
  textZoom?: Int32;
141
- thirdPartyCookiesEnabled?: boolean;
139
+ thirdPartyCookiesEnabled?: WithDefault<boolean, true>;
142
140
  hasOnScroll?: boolean;
143
- injectedJavaScriptObject?: string;
144
141
  allowingReadAccessToURL?: string;
145
142
  allowsBackForwardNavigationGestures?: boolean;
146
143
  allowsInlineMediaPlayback?: boolean;
144
+ allowsPictureInPictureMediaPlayback?: boolean;
147
145
  allowsAirPlayForMediaPlayback?: boolean;
148
- allowsLinkPreview?: boolean;
149
- automaticallyAdjustContentInsets?: boolean;
150
- autoManageStatusBarEnabled?: boolean;
151
- bounces?: boolean;
146
+ allowsLinkPreview?: WithDefault<boolean, true>;
147
+ automaticallyAdjustContentInsets?: WithDefault<boolean, true>;
148
+ autoManageStatusBarEnabled?: WithDefault<boolean, true>;
149
+ bounces?: WithDefault<boolean, true>;
152
150
  contentInset?: Readonly<{
153
151
  top?: Double;
154
152
  left?: Double;
@@ -159,18 +157,19 @@ export interface NativeProps extends ViewProps {
159
157
  contentMode?: WithDefault<'recommended' | 'mobile' | 'desktop', 'recommended'>;
160
158
  dataDetectorTypes?: WithDefault<ReadonlyArray<'address' | 'link' | 'calendarEvent' | 'trackingNumber' | 'flightNumber' | 'lookupSuggestion' | 'phoneNumber' | 'all' | 'none'>, 'phoneNumber'>;
161
159
  decelerationRate?: Double;
162
- directionalLockEnabled?: boolean;
160
+ directionalLockEnabled?: WithDefault<boolean, true>;
163
161
  enableApplePay?: boolean;
164
162
  hideKeyboardAccessoryView?: boolean;
165
- keyboardDisplayRequiresUserAction?: boolean;
163
+ keyboardDisplayRequiresUserAction?: WithDefault<boolean, true>;
166
164
  limitsNavigationsToAppBoundDomains?: boolean;
167
165
  mediaCapturePermissionGrantType?: WithDefault<'prompt' | 'grant' | 'deny' | 'grantIfSameHostElsePrompt' | 'grantIfSameHostElseDeny', 'prompt'>;
168
166
  pagingEnabled?: boolean;
169
167
  pullToRefreshEnabled?: boolean;
170
- scrollEnabled?: boolean;
168
+ refreshControlLightMode?: boolean;
169
+ scrollEnabled?: WithDefault<boolean, true>;
171
170
  sharedCookiesEnabled?: boolean;
172
- textInteractionEnabled?: boolean;
173
- useSharedProcessPool?: boolean;
171
+ textInteractionEnabled?: WithDefault<boolean, true>;
172
+ useSharedProcessPool?: WithDefault<boolean, true>;
174
173
  onContentProcessDidTerminate?: DirectEventHandler<WebViewNativeEvent>;
175
174
  onCustomMenuSelection?: DirectEventHandler<WebViewCustomMenuSelectionEvent>;
176
175
  onFileDownload?: DirectEventHandler<WebViewDownloadEvent>;
@@ -180,7 +179,7 @@ export interface NativeProps extends ViewProps {
180
179
  }>>;
181
180
  suppressMenuItems?: Readonly<string>[];
182
181
  hasOnFileDownload?: boolean;
183
- fraudulentWebsiteWarningEnabled?: boolean;
182
+ fraudulentWebsiteWarningEnabled?: WithDefault<boolean, true>;
184
183
  allowFileAccessFromFileURLs?: boolean;
185
184
  allowUniversalAccessFromFileURLs?: boolean;
186
185
  applicationNameForUserAgent?: string;
@@ -188,16 +187,16 @@ export interface NativeProps extends ViewProps {
188
187
  username: string;
189
188
  password: string;
190
189
  }>;
191
- cacheEnabled?: boolean;
190
+ cacheEnabled?: WithDefault<boolean, true>;
192
191
  incognito?: boolean;
193
192
  injectedJavaScript?: string;
194
193
  injectedJavaScriptBeforeContentLoaded?: string;
195
- injectedJavaScriptForMainFrameOnly?: boolean;
196
- injectedJavaScriptBeforeContentLoadedForMainFrameOnly?: boolean;
194
+ injectedJavaScriptForMainFrameOnly?: WithDefault<boolean, true>;
195
+ injectedJavaScriptBeforeContentLoadedForMainFrameOnly?: WithDefault<boolean, true>;
197
196
  javaScriptCanOpenWindowsAutomatically?: boolean;
198
- javaScriptEnabled?: boolean;
197
+ javaScriptEnabled?: WithDefault<boolean, true>;
199
198
  webviewDebuggingEnabled?: boolean;
200
- mediaPlaybackRequiresUserAction?: boolean;
199
+ mediaPlaybackRequiresUserAction?: WithDefault<boolean, true>;
201
200
  messagingEnabled: boolean;
202
201
  onLoadingError: DirectEventHandler<WebViewErrorEvent>;
203
202
  onLoadingFinish: DirectEventHandler<WebViewNavigationEvent>;
@@ -209,8 +208,8 @@ export interface NativeProps extends ViewProps {
209
208
  hasOnOpenWindowEvent?: boolean;
210
209
  onScroll?: DirectEventHandler<ScrollEvent>;
211
210
  onShouldStartLoadWithRequest: DirectEventHandler<ShouldStartLoadRequestEvent>;
212
- showsHorizontalScrollIndicator?: boolean;
213
- showsVerticalScrollIndicator?: boolean;
211
+ showsHorizontalScrollIndicator?: WithDefault<boolean, true>;
212
+ showsVerticalScrollIndicator?: WithDefault<boolean, true>;
214
213
  newSource: Readonly<{
215
214
  uri?: string;
216
215
  method?: string;
@@ -223,6 +222,7 @@ export interface NativeProps extends ViewProps {
223
222
  baseUrl?: string;
224
223
  }>;
225
224
  userAgent?: string;
225
+ injectedJavaScriptObject?: string;
226
226
  }
227
227
  export interface NativeCommands {
228
228
  goBack: (viewRef: React.ElementRef<HostComponent<NativeProps>>) => void;
@@ -240,4 +240,3 @@ export interface NativeCommands {
240
240
  export declare const Commands: NativeCommands;
241
241
  declare const _default: HostComponent<NativeProps>;
242
242
  export default _default;
243
- //# sourceMappingURL=BPCWebViewNativeComponent.d.ts.map
@@ -1 +1 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.__INTERNAL_VIEW_CONFIG=exports.Commands=void 0;var _codegenNativeComponent=_interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));var _codegenNativeCommands=_interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeCommands"));var NativeComponentRegistry=require('react-native/Libraries/NativeComponent/NativeComponentRegistry');var _require=require('react-native/Libraries/NativeComponent/ViewConfigIgnore'),ConditionallyIgnoredEventHandlers=_require.ConditionallyIgnoredEventHandlers;var _require2=require("react-native/Libraries/ReactNative/RendererProxy"),dispatchCommand=_require2.dispatchCommand;var nativeComponentName='BPCWebView';var __INTERNAL_VIEW_CONFIG=exports.__INTERNAL_VIEW_CONFIG={uiViewClassName:'BPCWebView',directEventTypes:{topContentSizeChange:{registrationName:'onContentSizeChange'},topRenderProcessGone:{registrationName:'onRenderProcessGone'},topContentProcessDidTerminate:{registrationName:'onContentProcessDidTerminate'},topCustomMenuSelection:{registrationName:'onCustomMenuSelection'},topFileDownload:{registrationName:'onFileDownload'},topLoadingError:{registrationName:'onLoadingError'},topLoadingFinish:{registrationName:'onLoadingFinish'},topLoadingProgress:{registrationName:'onLoadingProgress'},topLoadingStart:{registrationName:'onLoadingStart'},topHttpError:{registrationName:'onHttpError'},topMessage:{registrationName:'onMessage'},topOpenWindow:{registrationName:'onOpenWindow'},topScroll:{registrationName:'onScroll'},topShouldStartLoadWithRequest:{registrationName:'onShouldStartLoadWithRequest'}},validAttributes:Object.assign({allowFileAccess:true,allowsProtectedMedia:true,allowsFullscreenVideo:true,androidLayerType:true,cacheMode:true,domStorageEnabled:true,downloadingMessage:true,forceDarkOn:true,geolocationEnabled:true,lackPermissionToDownloadMessage:true,messagingModuleName:true,minimumFontSize:true,mixedContentMode:true,nestedScrollEnabled:true,overScrollMode:true,saveFormDataDisabled:true,scalesPageToFit:true,setBuiltInZoomControls:true,setDisplayZoomControls:true,setSupportMultipleWindows:true,textZoom:true,thirdPartyCookiesEnabled:true,hasOnScroll:true,injectedJavaScriptObject:true,allowingReadAccessToURL:true,allowsBackForwardNavigationGestures:true,allowsInlineMediaPlayback:true,allowsAirPlayForMediaPlayback:true,allowsLinkPreview:true,automaticallyAdjustContentInsets:true,autoManageStatusBarEnabled:true,bounces:true,contentInset:true,contentInsetAdjustmentBehavior:true,contentMode:true,dataDetectorTypes:true,decelerationRate:true,directionalLockEnabled:true,enableApplePay:true,hideKeyboardAccessoryView:true,keyboardDisplayRequiresUserAction:true,limitsNavigationsToAppBoundDomains:true,mediaCapturePermissionGrantType:true,pagingEnabled:true,pullToRefreshEnabled:true,scrollEnabled:true,sharedCookiesEnabled:true,textInteractionEnabled:true,useSharedProcessPool:true,menuItems:true,suppressMenuItems:true,hasOnFileDownload:true,fraudulentWebsiteWarningEnabled:true,allowFileAccessFromFileURLs:true,allowUniversalAccessFromFileURLs:true,applicationNameForUserAgent:true,basicAuthCredential:true,cacheEnabled:true,incognito:true,injectedJavaScript:true,injectedJavaScriptBeforeContentLoaded:true,injectedJavaScriptForMainFrameOnly:true,injectedJavaScriptBeforeContentLoadedForMainFrameOnly:true,javaScriptCanOpenWindowsAutomatically:true,javaScriptEnabled:true,webviewDebuggingEnabled:true,mediaPlaybackRequiresUserAction:true,messagingEnabled:true,hasOnOpenWindowEvent:true,showsHorizontalScrollIndicator:true,showsVerticalScrollIndicator:true,newSource:true,userAgent:true},ConditionallyIgnoredEventHandlers({onContentSizeChange:true,onRenderProcessGone:true,onContentProcessDidTerminate:true,onCustomMenuSelection:true,onFileDownload:true,onLoadingError:true,onLoadingFinish:true,onLoadingProgress:true,onLoadingStart:true,onHttpError:true,onMessage:true,onOpenWindow:true,onScroll:true,onShouldStartLoadWithRequest:true}))};var _default=exports.default=NativeComponentRegistry.get(nativeComponentName,function(){return __INTERNAL_VIEW_CONFIG;});var Commands=exports.Commands={goBack:function goBack(ref){dispatchCommand(ref,"goBack",[]);},goForward:function goForward(ref){dispatchCommand(ref,"goForward",[]);},reload:function reload(ref){dispatchCommand(ref,"reload",[]);},stopLoading:function stopLoading(ref){dispatchCommand(ref,"stopLoading",[]);},injectJavaScript:function injectJavaScript(ref,javascript){dispatchCommand(ref,"injectJavaScript",[javascript]);},requestFocus:function requestFocus(ref){dispatchCommand(ref,"requestFocus",[]);},postMessage:function postMessage(ref,data){dispatchCommand(ref,"postMessage",[data]);},loadUrl:function loadUrl(ref,url){dispatchCommand(ref,"loadUrl",[url]);},clearFormData:function clearFormData(ref){dispatchCommand(ref,"clearFormData",[]);},clearCache:function clearCache(ref,includeDiskFiles){dispatchCommand(ref,"clearCache",[includeDiskFiles]);},clearHistory:function clearHistory(ref){dispatchCommand(ref,"clearHistory",[]);}};
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.__INTERNAL_VIEW_CONFIG=exports.Commands=void 0;var _codegenNativeComponent=_interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));var _codegenNativeCommands=_interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeCommands"));var NativeComponentRegistry=require('react-native/Libraries/NativeComponent/NativeComponentRegistry');var _require=require('react-native/Libraries/NativeComponent/ViewConfigIgnore'),ConditionallyIgnoredEventHandlers=_require.ConditionallyIgnoredEventHandlers;var _require2=require("react-native/Libraries/ReactNative/RendererProxy"),dispatchCommand=_require2.dispatchCommand;var nativeComponentName='BPCWebView';var __INTERNAL_VIEW_CONFIG=exports.__INTERNAL_VIEW_CONFIG={uiViewClassName:'BPCWebView',directEventTypes:{topContentSizeChange:{registrationName:'onContentSizeChange'},topRenderProcessGone:{registrationName:'onRenderProcessGone'},topContentProcessDidTerminate:{registrationName:'onContentProcessDidTerminate'},topCustomMenuSelection:{registrationName:'onCustomMenuSelection'},topFileDownload:{registrationName:'onFileDownload'},topLoadingError:{registrationName:'onLoadingError'},topLoadingFinish:{registrationName:'onLoadingFinish'},topLoadingProgress:{registrationName:'onLoadingProgress'},topLoadingStart:{registrationName:'onLoadingStart'},topHttpError:{registrationName:'onHttpError'},topMessage:{registrationName:'onMessage'},topOpenWindow:{registrationName:'onOpenWindow'},topScroll:{registrationName:'onScroll'},topShouldStartLoadWithRequest:{registrationName:'onShouldStartLoadWithRequest'}},validAttributes:Object.assign({allowFileAccess:true,allowsProtectedMedia:true,allowsFullscreenVideo:true,androidLayerType:true,cacheMode:true,domStorageEnabled:true,downloadingMessage:true,forceDarkOn:true,geolocationEnabled:true,lackPermissionToDownloadMessage:true,messagingModuleName:true,minimumFontSize:true,mixedContentMode:true,nestedScrollEnabled:true,overScrollMode:true,saveFormDataDisabled:true,scalesPageToFit:true,setBuiltInZoomControls:true,setDisplayZoomControls:true,setSupportMultipleWindows:true,textZoom:true,thirdPartyCookiesEnabled:true,hasOnScroll:true,allowingReadAccessToURL:true,allowsBackForwardNavigationGestures:true,allowsInlineMediaPlayback:true,allowsPictureInPictureMediaPlayback:true,allowsAirPlayForMediaPlayback:true,allowsLinkPreview:true,automaticallyAdjustContentInsets:true,autoManageStatusBarEnabled:true,bounces:true,contentInset:true,contentInsetAdjustmentBehavior:true,contentMode:true,dataDetectorTypes:true,decelerationRate:true,directionalLockEnabled:true,enableApplePay:true,hideKeyboardAccessoryView:true,keyboardDisplayRequiresUserAction:true,limitsNavigationsToAppBoundDomains:true,mediaCapturePermissionGrantType:true,pagingEnabled:true,pullToRefreshEnabled:true,refreshControlLightMode:true,scrollEnabled:true,sharedCookiesEnabled:true,textInteractionEnabled:true,useSharedProcessPool:true,menuItems:true,suppressMenuItems:true,hasOnFileDownload:true,fraudulentWebsiteWarningEnabled:true,allowFileAccessFromFileURLs:true,allowUniversalAccessFromFileURLs:true,applicationNameForUserAgent:true,basicAuthCredential:true,cacheEnabled:true,incognito:true,injectedJavaScript:true,injectedJavaScriptBeforeContentLoaded:true,injectedJavaScriptForMainFrameOnly:true,injectedJavaScriptBeforeContentLoadedForMainFrameOnly:true,javaScriptCanOpenWindowsAutomatically:true,javaScriptEnabled:true,webviewDebuggingEnabled:true,mediaPlaybackRequiresUserAction:true,messagingEnabled:true,hasOnOpenWindowEvent:true,showsHorizontalScrollIndicator:true,showsVerticalScrollIndicator:true,newSource:true,userAgent:true,injectedJavaScriptObject:true},ConditionallyIgnoredEventHandlers({onContentSizeChange:true,onRenderProcessGone:true,onContentProcessDidTerminate:true,onCustomMenuSelection:true,onFileDownload:true,onLoadingError:true,onLoadingFinish:true,onLoadingProgress:true,onLoadingStart:true,onHttpError:true,onMessage:true,onOpenWindow:true,onScroll:true,onShouldStartLoadWithRequest:true}))};var _default=exports.default=NativeComponentRegistry.get(nativeComponentName,function(){return __INTERNAL_VIEW_CONFIG;});var Commands=exports.Commands={goBack:function goBack(ref){dispatchCommand(ref,"goBack",[]);},goForward:function goForward(ref){dispatchCommand(ref,"goForward",[]);},reload:function reload(ref){dispatchCommand(ref,"reload",[]);},stopLoading:function stopLoading(ref){dispatchCommand(ref,"stopLoading",[]);},injectJavaScript:function injectJavaScript(ref,javascript){dispatchCommand(ref,"injectJavaScript",[javascript]);},requestFocus:function requestFocus(ref){dispatchCommand(ref,"requestFocus",[]);},postMessage:function postMessage(ref,data){dispatchCommand(ref,"postMessage",[data]);},loadUrl:function loadUrl(ref,url){dispatchCommand(ref,"loadUrl",[url]);},clearFormData:function clearFormData(ref){dispatchCommand(ref,"clearFormData",[]);},clearCache:function clearCache(ref,includeDiskFiles){dispatchCommand(ref,"clearCache",[includeDiskFiles]);},clearHistory:function clearHistory(ref){dispatchCommand(ref,"clearHistory",[]);}};
@@ -1,11 +1,8 @@
1
- /// <reference types="react-native/types/modules/Codegen" />
2
1
  import type { TurboModule } from 'react-native';
3
- import { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
2
+ import { Double } from 'react-native/Libraries/Types/CodegenTypes';
4
3
  export interface Spec extends TurboModule {
5
- readonly getConstants: () => {};
6
4
  isFileUploadSupported(): Promise<boolean>;
7
- shouldStartLoadWithLockIdentifier(shouldStart: boolean, lockIdentifier: Int32): void;
5
+ shouldStartLoadWithLockIdentifier(shouldStart: boolean, lockIdentifier: Double): void;
8
6
  }
9
7
  declare const _default: Spec;
10
8
  export default _default;
11
- //# sourceMappingURL=NativeBPCWebView.d.ts.map
@@ -1 +1 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _reactNative=require("react-native");var _default=exports.default=_reactNative.TurboModuleRegistry.getEnforcing('BPCWebView');
1
+ Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _reactNative=require("react-native");var _default=exports.default=_reactNative.TurboModuleRegistry.getEnforcing('BPCWebViewModule');
@@ -4,4 +4,3 @@ declare const WebView: React.ForwardRefExoticComponent<AndroidWebViewProps & Rea
4
4
  isFileUploadSupported: () => Promise<boolean>;
5
5
  };
6
6
  export default WebView;
7
- //# sourceMappingURL=WebView.android.d.ts.map