react-native-webview-bootpay 11.22.8 → 11.22.83

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.
@@ -28,7 +28,7 @@ buildscript {
28
28
  }
29
29
 
30
30
  def getExtOrIntegerDefault(name) {
31
- return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties['ReactNativeWebView_' + name]).toInteger()
31
+ return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties['BootpayRNWebView' + name]).toInteger()
32
32
  }
33
33
 
34
34
  apply plugin: 'com.android.library'
@@ -1,6 +1,6 @@
1
- ReactNativeWebView_kotlinVersion=1.3.50
2
- ReactNativeWebView_webkitVersion=1.4.0
3
- ReactNativeWebView_compileSdkVersion=29
4
- ReactNativeWebView_buildToolsVersion=29.0.3
5
- ReactNativeWebView_targetSdkVersion=28
6
- ReactNativeWebView_minSdkVersion=21
1
+ BootpayRNWebView_kotlinVersion=1.3.50
2
+ BootpayRNWebView_webkitVersion=1.4.0
3
+ BootpayRNWebView_compileSdkVersion=29
4
+ BootpayRNWebView_buildToolsVersion=29.0.3
5
+ BootpayRNWebView_targetSdkVersion=28
6
+ BootpayRNWebView_minSdkVersion=21
@@ -19,7 +19,9 @@
19
19
 
20
20
  static NSTimer *keyboardTimer;
21
21
  static NSString *const HistoryShimName = @"ReactNativeHistoryShim";
22
- static NSString *const MessageHandlerName = @"ReactNativeWebView";
22
+ // static NSString *const MessageHandlerName = @"ReactNativeWebView";
23
+ static NSString *const MessageHandlerName = @"BootpayRNWebView";
24
+
23
25
  static NSURLCredential* clientAuthenticationCredential;
24
26
  static NSDictionary* customCertificatesForHost;
25
27
 
@@ -53,9 +55,9 @@ NSString *const CUSTOM_SELECTOR = @"_CUSTOM_SELECTOR_";
53
55
  @end
54
56
  @implementation BPCWKWebView
55
57
  - (void)scrollWheel:(NSEvent *)theEvent {
56
- BPCWebView *rncWebView = (BPCWebView *)[self superview];
57
- RCTAssert([rncWebView isKindOfClass:[rncWebView class]], @"superview must be an BPCWebView");
58
- if (![rncWebView scrollEnabled]) {
58
+ BPCWebView *bpcWebView = (BPCWebView *)[self superview];
59
+ RCTAssert([bpcWebView isKindOfClass:[bpcWebView class]], @"superview must be an BPCWebView");
60
+ if (![bpcWebView scrollEnabled]) {
59
61
  [[self nextResponder] scrollWheel:theEvent];
60
62
  return;
61
63
  }
@@ -0,0 +1,310 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 55;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 810582A62885487900D376EA /* BPCWebView.m in Sources */ = {isa = PBXBuildFile; fileRef = 81058237288543D100D376EA /* BPCWebView.m */; };
11
+ 810582A72885487900D376EA /* BPCWebViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 81058238288543D100D376EA /* BPCWebViewManager.m */; };
12
+ 810582A82885487900D376EA /* BPCWKProcessPoolManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 81058235288543D100D376EA /* BPCWKProcessPoolManager.m */; };
13
+ /* End PBXBuildFile section */
14
+
15
+ /* Begin PBXCopyFilesBuildPhase section */
16
+ 8105829B2885485D00D376EA /* CopyFiles */ = {
17
+ isa = PBXCopyFilesBuildPhase;
18
+ buildActionMask = 2147483647;
19
+ dstPath = "include/$(PRODUCT_NAME)";
20
+ dstSubfolderSpec = 16;
21
+ files = (
22
+ );
23
+ runOnlyForDeploymentPostprocessing = 0;
24
+ };
25
+ /* End PBXCopyFilesBuildPhase section */
26
+
27
+ /* Begin PBXFileReference section */
28
+ 81058235288543D100D376EA /* BPCWKProcessPoolManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = BPCWKProcessPoolManager.m; path = ../apple/BPCWKProcessPoolManager.m; sourceTree = "<group>"; };
29
+ 81058236288543D100D376EA /* BPCWebView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = BPCWebView.h; path = ../apple/BPCWebView.h; sourceTree = "<group>"; };
30
+ 81058237288543D100D376EA /* BPCWebView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = BPCWebView.m; path = ../apple/BPCWebView.m; sourceTree = "<group>"; };
31
+ 81058238288543D100D376EA /* BPCWebViewManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = BPCWebViewManager.m; path = ../apple/BPCWebViewManager.m; sourceTree = "<group>"; };
32
+ 81058239288543D100D376EA /* BPCWebViewManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = BPCWebViewManager.h; path = ../apple/BPCWebViewManager.h; sourceTree = "<group>"; };
33
+ 8105823A288543D100D376EA /* BPCWKProcessPoolManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = BPCWKProcessPoolManager.h; path = ../apple/BPCWKProcessPoolManager.h; sourceTree = "<group>"; };
34
+ 8105829D2885485D00D376EA /* libBPCWebView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libBPCWebView.a; sourceTree = BUILT_PRODUCTS_DIR; };
35
+ /* End PBXFileReference section */
36
+
37
+ /* Begin PBXFrameworksBuildPhase section */
38
+ 8105829A2885485D00D376EA /* Frameworks */ = {
39
+ isa = PBXFrameworksBuildPhase;
40
+ buildActionMask = 2147483647;
41
+ files = (
42
+ );
43
+ runOnlyForDeploymentPostprocessing = 0;
44
+ };
45
+ /* End PBXFrameworksBuildPhase section */
46
+
47
+ /* Begin PBXGroup section */
48
+ 8105822E2885439B00D376EA = {
49
+ isa = PBXGroup;
50
+ children = (
51
+ 81058236288543D100D376EA /* BPCWebView.h */,
52
+ 81058237288543D100D376EA /* BPCWebView.m */,
53
+ 81058239288543D100D376EA /* BPCWebViewManager.h */,
54
+ 81058238288543D100D376EA /* BPCWebViewManager.m */,
55
+ 8105823A288543D100D376EA /* BPCWKProcessPoolManager.h */,
56
+ 81058235288543D100D376EA /* BPCWKProcessPoolManager.m */,
57
+ 810582442885443F00D376EA /* Products */,
58
+ );
59
+ sourceTree = "<group>";
60
+ };
61
+ 810582442885443F00D376EA /* Products */ = {
62
+ isa = PBXGroup;
63
+ children = (
64
+ 8105829D2885485D00D376EA /* libBPCWebView.a */,
65
+ );
66
+ name = Products;
67
+ sourceTree = "<group>";
68
+ };
69
+ /* End PBXGroup section */
70
+
71
+ /* Begin PBXNativeTarget section */
72
+ 8105829C2885485D00D376EA /* BPCWebView */ = {
73
+ isa = PBXNativeTarget;
74
+ buildConfigurationList = 810582A32885485D00D376EA /* Build configuration list for PBXNativeTarget "BPCWebView" */;
75
+ buildPhases = (
76
+ 810582992885485D00D376EA /* Sources */,
77
+ 8105829A2885485D00D376EA /* Frameworks */,
78
+ 8105829B2885485D00D376EA /* CopyFiles */,
79
+ );
80
+ buildRules = (
81
+ );
82
+ dependencies = (
83
+ );
84
+ name = BPCWebView;
85
+ productName = BPCWebView;
86
+ productReference = 8105829D2885485D00D376EA /* libBPCWebView.a */;
87
+ productType = "com.apple.product-type.library.static";
88
+ };
89
+ /* End PBXNativeTarget section */
90
+
91
+ /* Begin PBXProject section */
92
+ 8105822F2885439B00D376EA /* Project object */ = {
93
+ isa = PBXProject;
94
+ attributes = {
95
+ BuildIndependentTargetsInParallel = 1;
96
+ LastSwiftUpdateCheck = 1340;
97
+ LastUpgradeCheck = 1340;
98
+ TargetAttributes = {
99
+ 8105829C2885485D00D376EA = {
100
+ CreatedOnToolsVersion = 13.4.1;
101
+ };
102
+ };
103
+ };
104
+ buildConfigurationList = 810582322885439B00D376EA /* Build configuration list for PBXProject "BPCWebView" */;
105
+ compatibilityVersion = "Xcode 13.0";
106
+ developmentRegion = en;
107
+ hasScannedForEncodings = 0;
108
+ knownRegions = (
109
+ en,
110
+ Base,
111
+ );
112
+ mainGroup = 8105822E2885439B00D376EA;
113
+ productRefGroup = 810582442885443F00D376EA /* Products */;
114
+ projectDirPath = "";
115
+ projectRoot = "";
116
+ targets = (
117
+ 8105829C2885485D00D376EA /* BPCWebView */,
118
+ );
119
+ };
120
+ /* End PBXProject section */
121
+
122
+ /* Begin PBXSourcesBuildPhase section */
123
+ 810582992885485D00D376EA /* Sources */ = {
124
+ isa = PBXSourcesBuildPhase;
125
+ buildActionMask = 2147483647;
126
+ files = (
127
+ 810582A62885487900D376EA /* BPCWebView.m in Sources */,
128
+ 810582A72885487900D376EA /* BPCWebViewManager.m in Sources */,
129
+ 810582A82885487900D376EA /* BPCWKProcessPoolManager.m in Sources */,
130
+ );
131
+ runOnlyForDeploymentPostprocessing = 0;
132
+ };
133
+ /* End PBXSourcesBuildPhase section */
134
+
135
+ /* Begin XCBuildConfiguration section */
136
+ 810582332885439B00D376EA /* Debug */ = {
137
+ isa = XCBuildConfiguration;
138
+ buildSettings = {
139
+ };
140
+ name = Debug;
141
+ };
142
+ 810582342885439B00D376EA /* Release */ = {
143
+ isa = XCBuildConfiguration;
144
+ buildSettings = {
145
+ };
146
+ name = Release;
147
+ };
148
+ 810582A42885485D00D376EA /* Debug */ = {
149
+ isa = XCBuildConfiguration;
150
+ buildSettings = {
151
+ ALWAYS_SEARCH_USER_PATHS = NO;
152
+ CLANG_ANALYZER_NONNULL = YES;
153
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
154
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
155
+ CLANG_ENABLE_MODULES = YES;
156
+ CLANG_ENABLE_OBJC_ARC = YES;
157
+ CLANG_ENABLE_OBJC_WEAK = YES;
158
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
159
+ CLANG_WARN_BOOL_CONVERSION = YES;
160
+ CLANG_WARN_COMMA = YES;
161
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
162
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
163
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
164
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
165
+ CLANG_WARN_EMPTY_BODY = YES;
166
+ CLANG_WARN_ENUM_CONVERSION = YES;
167
+ CLANG_WARN_INFINITE_RECURSION = YES;
168
+ CLANG_WARN_INT_CONVERSION = YES;
169
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
170
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
171
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
172
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
173
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
174
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
175
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
176
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
177
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
178
+ CLANG_WARN_UNREACHABLE_CODE = YES;
179
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
180
+ CODE_SIGN_STYLE = Automatic;
181
+ COPY_PHASE_STRIP = NO;
182
+ DEBUG_INFORMATION_FORMAT = dwarf;
183
+ DEVELOPMENT_TEAM = 7ZCWM83NFK;
184
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
185
+ ENABLE_TESTABILITY = YES;
186
+ FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native/**";
187
+ GCC_C_LANGUAGE_STANDARD = gnu11;
188
+ GCC_DYNAMIC_NO_PIC = NO;
189
+ GCC_NO_COMMON_BLOCKS = YES;
190
+ GCC_OPTIMIZATION_LEVEL = 0;
191
+ GCC_PREPROCESSOR_DEFINITIONS = (
192
+ "DEBUG=1",
193
+ "$(inherited)",
194
+ );
195
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
196
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
197
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
198
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
199
+ GCC_WARN_UNUSED_FUNCTION = YES;
200
+ GCC_WARN_UNUSED_VARIABLE = YES;
201
+ HEADER_SEARCH_PATHS = (
202
+ "$(inherited)",
203
+ "$(SRCROOT)/../node_modules/react-native/React/**",
204
+ "$(SRCROOT)/../../react-native/React/**",
205
+ );
206
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
207
+ MACOSX_DEPLOYMENT_TARGET = 12.3;
208
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
209
+ MTL_FAST_MATH = YES;
210
+ ONLY_ACTIVE_ARCH = YES;
211
+ OTHER_LDFLAGS = "-ObjC";
212
+ PRODUCT_NAME = "$(TARGET_NAME)";
213
+ SDKROOT = iphoneos;
214
+ SKIP_INSTALL = YES;
215
+ TARGETED_DEVICE_FAMILY = 1;
216
+ TVOS_DEPLOYMENT_TARGET = 15.4;
217
+ };
218
+ name = Debug;
219
+ };
220
+ 810582A52885485D00D376EA /* Release */ = {
221
+ isa = XCBuildConfiguration;
222
+ buildSettings = {
223
+ ALWAYS_SEARCH_USER_PATHS = NO;
224
+ CLANG_ANALYZER_NONNULL = YES;
225
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
226
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
227
+ CLANG_ENABLE_MODULES = YES;
228
+ CLANG_ENABLE_OBJC_ARC = YES;
229
+ CLANG_ENABLE_OBJC_WEAK = YES;
230
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
231
+ CLANG_WARN_BOOL_CONVERSION = YES;
232
+ CLANG_WARN_COMMA = YES;
233
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
234
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
235
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
236
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
237
+ CLANG_WARN_EMPTY_BODY = YES;
238
+ CLANG_WARN_ENUM_CONVERSION = YES;
239
+ CLANG_WARN_INFINITE_RECURSION = YES;
240
+ CLANG_WARN_INT_CONVERSION = YES;
241
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
242
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
243
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
244
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
245
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
246
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
247
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
248
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
249
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
250
+ CLANG_WARN_UNREACHABLE_CODE = YES;
251
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
252
+ CODE_SIGN_STYLE = Automatic;
253
+ COPY_PHASE_STRIP = NO;
254
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
255
+ DEVELOPMENT_TEAM = 7ZCWM83NFK;
256
+ ENABLE_NS_ASSERTIONS = NO;
257
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
258
+ FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native/**";
259
+ GCC_C_LANGUAGE_STANDARD = gnu11;
260
+ GCC_NO_COMMON_BLOCKS = YES;
261
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
262
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
263
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
264
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
265
+ GCC_WARN_UNUSED_FUNCTION = YES;
266
+ GCC_WARN_UNUSED_VARIABLE = YES;
267
+ HEADER_SEARCH_PATHS = (
268
+ "$(inherited)",
269
+ "$(SRCROOT)/../node_modules/react-native/React/**",
270
+ "$(SRCROOT)/../../react-native/React/**",
271
+ );
272
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
273
+ MACOSX_DEPLOYMENT_TARGET = 12.3;
274
+ MTL_ENABLE_DEBUG_INFO = NO;
275
+ MTL_FAST_MATH = YES;
276
+ OTHER_LDFLAGS = "-ObjC";
277
+ PRODUCT_NAME = "$(TARGET_NAME)";
278
+ SDKROOT = iphoneos;
279
+ SKIP_INSTALL = YES;
280
+ TARGETED_DEVICE_FAMILY = 1;
281
+ TVOS_DEPLOYMENT_TARGET = 15.4;
282
+ VALIDATE_PRODUCT = YES;
283
+ };
284
+ name = Release;
285
+ };
286
+ /* End XCBuildConfiguration section */
287
+
288
+ /* Begin XCConfigurationList section */
289
+ 810582322885439B00D376EA /* Build configuration list for PBXProject "BPCWebView" */ = {
290
+ isa = XCConfigurationList;
291
+ buildConfigurations = (
292
+ 810582332885439B00D376EA /* Debug */,
293
+ 810582342885439B00D376EA /* Release */,
294
+ );
295
+ defaultConfigurationIsVisible = 0;
296
+ defaultConfigurationName = Release;
297
+ };
298
+ 810582A32885485D00D376EA /* Build configuration list for PBXNativeTarget "BPCWebView" */ = {
299
+ isa = XCConfigurationList;
300
+ buildConfigurations = (
301
+ 810582A42885485D00D376EA /* Debug */,
302
+ 810582A52885485D00D376EA /* Release */,
303
+ );
304
+ defaultConfigurationIsVisible = 0;
305
+ defaultConfigurationName = Release;
306
+ };
307
+ /* End XCConfigurationList section */
308
+ };
309
+ rootObject = 8105822F2885439B00D376EA /* Project object */;
310
+ }
@@ -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,8 @@
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>IDEDidComputeMac32BitWarning</key>
6
+ <true/>
7
+ </dict>
8
+ </plist>
@@ -0,0 +1,29 @@
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>BPCWebView.xcscheme_^#shared#^_</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>2</integer>
11
+ </dict>
12
+ <key>BPcWebView (iOS).xcscheme_^#shared#^_</key>
13
+ <dict>
14
+ <key>orderHint</key>
15
+ <integer>0</integer>
16
+ </dict>
17
+ <key>BPcWebView (macOS).xcscheme_^#shared#^_</key>
18
+ <dict>
19
+ <key>orderHint</key>
20
+ <integer>1</integer>
21
+ </dict>
22
+ <key>Bp.xcscheme_^#shared#^_</key>
23
+ <dict>
24
+ <key>orderHint</key>
25
+ <integer>3</integer>
26
+ </dict>
27
+ </dict>
28
+ </dict>
29
+ </plist>
@@ -575,7 +575,7 @@ export interface IOSWebViewProps extends WebViewSharedProps {
575
575
  * if you require to send message to App , webpage has to explicitly call webkit message handler
576
576
  * and receive it on `onMessage` handler on react native side
577
577
  * @example
578
- * window.webkit.messageHandlers.ReactNativeWebView.postMessage("hello apple pay")
578
+ * window.webkit.messageHandlers.BootpayRNWebView.postMessage("hello apple pay")
579
579
  * @platform ios
580
580
  * The default value is false.
581
581
  */
@@ -982,10 +982,10 @@ export interface WebViewSharedProps extends ViewProps {
982
982
  */
983
983
  onNavigationStateChange?: (event: WebViewNavigation) => void;
984
984
  /**
985
- * Function that is invoked when the webview calls `window.ReactNativeWebView.postMessage`.
985
+ * Function that is invoked when the webview calls `window.BootpayRNWebView.postMessage`.
986
986
  * Setting this property will inject this global into your webview.
987
987
  *
988
- * `window.ReactNativeWebView.postMessage` accepts one argument, `data`, which will be
988
+ * `window.BootpayRNWebView.postMessage` accepts one argument, `data`, which will be
989
989
  * available on the event object, `event.nativeEvent.data`. `data` must be a string.
990
990
  */
991
991
  onMessage?: (event: WebViewMessageEvent) => void;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "react-native-webview-bootpay",
3
3
  "description": "React Native WebView 를 포크떠서 만든 Bootpay WebViewfor iOS, Android, macOS, and Windows",
4
4
  "main": "index.js",
5
- "main-internal": "src/index.ts",
5
+ "main-internal": "index.js",
6
6
  "typings": "index.d.ts",
7
7
  "author": "bootpay <bootpay.co.kr@gmail.com>",
8
8
  "contributors": [
@@ -10,7 +10,7 @@
10
10
  "Thibault Malbranche <malbranche.thibault@gmail.com>"
11
11
  ],
12
12
  "license": "MIT",
13
- "version": "11.22.8",
13
+ "version": "11.22.83",
14
14
  "homepage": "https://www.bootpay.co.kr",
15
15
  "scripts": {
16
16
  "android": "react-native run-android",
@@ -1,273 +0,0 @@
1
- // !$*UTF8*$!
2
- {
3
- archiveVersion = 1;
4
- classes = {
5
- };
6
- objectVersion = 46;
7
- objects = {
8
-
9
- /* Begin PBXBuildFile section */
10
- 3515965E21A3C86000623BFA /* RNCWKProcessPoolManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */; };
11
- E91B351D21446E6C00F9801F /* RNCWebViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351B21446E6C00F9801F /* RNCWebViewManager.m */; };
12
- E91B351E21446E6C00F9801F /* RNCWebView.m in Sources */ = {isa = PBXBuildFile; fileRef = E91B351C21446E6C00F9801F /* RNCWebView.m */; };
13
- /* End PBXBuildFile section */
14
-
15
- /* Begin PBXCopyFilesBuildPhase section */
16
- 58B511D91A9E6C8500147676 /* CopyFiles */ = {
17
- isa = PBXCopyFilesBuildPhase;
18
- buildActionMask = 2147483647;
19
- dstPath = "include/$(PRODUCT_NAME)";
20
- dstSubfolderSpec = 16;
21
- files = (
22
- );
23
- runOnlyForDeploymentPostprocessing = 0;
24
- };
25
- /* End PBXCopyFilesBuildPhase section */
26
-
27
- /* Begin PBXFileReference section */
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
- E91B351921446E6C00F9801F /* RNCWebViewManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RNCWebViewManager.h; path = ../apple/RNCWebViewManager.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
- E91B351B21446E6C00F9801F /* RNCWebViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RNCWebViewManager.m; path = ../apple/RNCWebViewManager.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
- /* End PBXFileReference section */
36
-
37
- /* Begin PBXFrameworksBuildPhase section */
38
- 58B511D81A9E6C8500147676 /* Frameworks */ = {
39
- isa = PBXFrameworksBuildPhase;
40
- buildActionMask = 2147483647;
41
- files = (
42
- );
43
- runOnlyForDeploymentPostprocessing = 0;
44
- };
45
- /* End PBXFrameworksBuildPhase section */
46
-
47
- /* Begin PBXGroup section */
48
- 134814211AA4EA7D00B7C361 /* Products */ = {
49
- isa = PBXGroup;
50
- children = (
51
- 134814201AA4EA6300B7C361 /* libRNCWebView.a */,
52
- );
53
- name = Products;
54
- sourceTree = "<group>";
55
- };
56
- 58B511D21A9E6C8500147676 = {
57
- isa = PBXGroup;
58
- children = (
59
- E91B351A21446E6C00F9801F /* RNCWebView.h */,
60
- E91B351C21446E6C00F9801F /* RNCWebView.m */,
61
- E91B351921446E6C00F9801F /* RNCWebViewManager.h */,
62
- E91B351B21446E6C00F9801F /* RNCWebViewManager.m */,
63
- 3515965F21A3C87E00623BFA /* RNCWKProcessPoolManager.h */,
64
- 3515965D21A3C86000623BFA /* RNCWKProcessPoolManager.m */,
65
- 134814211AA4EA7D00B7C361 /* Products */,
66
- );
67
- indentWidth = 2;
68
- sourceTree = "<group>";
69
- tabWidth = 2;
70
- };
71
- /* End PBXGroup section */
72
-
73
- /* Begin PBXNativeTarget section */
74
- 58B511DA1A9E6C8500147676 /* RNCWebView */ = {
75
- isa = PBXNativeTarget;
76
- buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNCWebView" */;
77
- buildPhases = (
78
- 58B511D71A9E6C8500147676 /* Sources */,
79
- 58B511D81A9E6C8500147676 /* Frameworks */,
80
- 58B511D91A9E6C8500147676 /* CopyFiles */,
81
- );
82
- buildRules = (
83
- );
84
- dependencies = (
85
- );
86
- name = RNCWebView;
87
- productName = RCTDataManager;
88
- productReference = 134814201AA4EA6300B7C361 /* libRNCWebView.a */;
89
- productType = "com.apple.product-type.library.static";
90
- };
91
- /* End PBXNativeTarget section */
92
-
93
- /* Begin PBXProject section */
94
- 58B511D31A9E6C8500147676 /* Project object */ = {
95
- isa = PBXProject;
96
- attributes = {
97
- LastUpgradeCheck = 0830;
98
- ORGANIZATIONNAME = Facebook;
99
- TargetAttributes = {
100
- 58B511DA1A9E6C8500147676 = {
101
- CreatedOnToolsVersion = 6.1.1;
102
- };
103
- };
104
- };
105
- buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNCWebView" */;
106
- compatibilityVersion = "Xcode 3.2";
107
- developmentRegion = en;
108
- hasScannedForEncodings = 0;
109
- knownRegions = (
110
- en,
111
- );
112
- mainGroup = 58B511D21A9E6C8500147676;
113
- productRefGroup = 58B511D21A9E6C8500147676;
114
- projectDirPath = "";
115
- projectRoot = "";
116
- targets = (
117
- 58B511DA1A9E6C8500147676 /* RNCWebView */,
118
- );
119
- };
120
- /* End PBXProject section */
121
-
122
- /* Begin PBXSourcesBuildPhase section */
123
- 58B511D71A9E6C8500147676 /* Sources */ = {
124
- isa = PBXSourcesBuildPhase;
125
- buildActionMask = 2147483647;
126
- files = (
127
- E91B351D21446E6C00F9801F /* RNCWebViewManager.m in Sources */,
128
- E91B351E21446E6C00F9801F /* RNCWebView.m in Sources */,
129
- 3515965E21A3C86000623BFA /* RNCWKProcessPoolManager.m in Sources */,
130
- );
131
- runOnlyForDeploymentPostprocessing = 0;
132
- };
133
- /* End PBXSourcesBuildPhase section */
134
-
135
- /* Begin XCBuildConfiguration section */
136
- 58B511ED1A9E6C8500147676 /* Debug */ = {
137
- isa = XCBuildConfiguration;
138
- buildSettings = {
139
- ALWAYS_SEARCH_USER_PATHS = NO;
140
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
141
- CLANG_CXX_LIBRARY = "libc++";
142
- CLANG_ENABLE_MODULES = YES;
143
- CLANG_ENABLE_OBJC_ARC = YES;
144
- CLANG_WARN_BOOL_CONVERSION = YES;
145
- CLANG_WARN_CONSTANT_CONVERSION = YES;
146
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
147
- CLANG_WARN_EMPTY_BODY = YES;
148
- CLANG_WARN_ENUM_CONVERSION = YES;
149
- CLANG_WARN_INFINITE_RECURSION = YES;
150
- CLANG_WARN_INT_CONVERSION = YES;
151
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
152
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
153
- CLANG_WARN_UNREACHABLE_CODE = YES;
154
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
155
- COPY_PHASE_STRIP = NO;
156
- ENABLE_STRICT_OBJC_MSGSEND = YES;
157
- ENABLE_TESTABILITY = YES;
158
- GCC_C_LANGUAGE_STANDARD = gnu99;
159
- GCC_DYNAMIC_NO_PIC = NO;
160
- GCC_NO_COMMON_BLOCKS = YES;
161
- GCC_OPTIMIZATION_LEVEL = 0;
162
- GCC_PREPROCESSOR_DEFINITIONS = (
163
- "DEBUG=1",
164
- "$(inherited)",
165
- );
166
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
167
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
168
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
169
- GCC_WARN_UNDECLARED_SELECTOR = YES;
170
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
171
- GCC_WARN_UNUSED_FUNCTION = YES;
172
- GCC_WARN_UNUSED_VARIABLE = YES;
173
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
174
- MTL_ENABLE_DEBUG_INFO = YES;
175
- ONLY_ACTIVE_ARCH = YES;
176
- SDKROOT = iphoneos;
177
- };
178
- name = Debug;
179
- };
180
- 58B511EE1A9E6C8500147676 /* Release */ = {
181
- isa = XCBuildConfiguration;
182
- buildSettings = {
183
- ALWAYS_SEARCH_USER_PATHS = NO;
184
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
185
- CLANG_CXX_LIBRARY = "libc++";
186
- CLANG_ENABLE_MODULES = YES;
187
- CLANG_ENABLE_OBJC_ARC = YES;
188
- CLANG_WARN_BOOL_CONVERSION = YES;
189
- CLANG_WARN_CONSTANT_CONVERSION = YES;
190
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
191
- CLANG_WARN_EMPTY_BODY = YES;
192
- CLANG_WARN_ENUM_CONVERSION = YES;
193
- CLANG_WARN_INFINITE_RECURSION = YES;
194
- CLANG_WARN_INT_CONVERSION = YES;
195
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
196
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
197
- CLANG_WARN_UNREACHABLE_CODE = YES;
198
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
199
- COPY_PHASE_STRIP = YES;
200
- ENABLE_NS_ASSERTIONS = NO;
201
- ENABLE_STRICT_OBJC_MSGSEND = YES;
202
- GCC_C_LANGUAGE_STANDARD = gnu99;
203
- GCC_NO_COMMON_BLOCKS = YES;
204
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
205
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
206
- GCC_WARN_UNDECLARED_SELECTOR = YES;
207
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
208
- GCC_WARN_UNUSED_FUNCTION = YES;
209
- GCC_WARN_UNUSED_VARIABLE = YES;
210
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
211
- MTL_ENABLE_DEBUG_INFO = NO;
212
- SDKROOT = iphoneos;
213
- VALIDATE_PRODUCT = YES;
214
- };
215
- name = Release;
216
- };
217
- 58B511F01A9E6C8500147676 /* Debug */ = {
218
- isa = XCBuildConfiguration;
219
- buildSettings = {
220
- FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native/**";
221
- HEADER_SEARCH_PATHS = (
222
- "$(inherited)",
223
- "$(SRCROOT)/../node_modules/react-native/React/**",
224
- "$(SRCROOT)/../../react-native/React/**",
225
- );
226
- LIBRARY_SEARCH_PATHS = "$(inherited)";
227
- OTHER_LDFLAGS = "-ObjC";
228
- PRODUCT_NAME = RNCWebView;
229
- SKIP_INSTALL = YES;
230
- };
231
- name = Debug;
232
- };
233
- 58B511F11A9E6C8500147676 /* Release */ = {
234
- isa = XCBuildConfiguration;
235
- buildSettings = {
236
- FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../node_modules/react-native/**";
237
- HEADER_SEARCH_PATHS = (
238
- "$(inherited)",
239
- "$(SRCROOT)/../node_modules/react-native/React/**",
240
- "$(SRCROOT)/../../react-native/React/**",
241
- );
242
- LIBRARY_SEARCH_PATHS = "$(inherited)";
243
- OTHER_LDFLAGS = "-ObjC";
244
- PRODUCT_NAME = RNCWebView;
245
- SKIP_INSTALL = YES;
246
- };
247
- name = Release;
248
- };
249
- /* End XCBuildConfiguration section */
250
-
251
- /* Begin XCConfigurationList section */
252
- 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNCWebView" */ = {
253
- isa = XCConfigurationList;
254
- buildConfigurations = (
255
- 58B511ED1A9E6C8500147676 /* Debug */,
256
- 58B511EE1A9E6C8500147676 /* Release */,
257
- );
258
- defaultConfigurationIsVisible = 0;
259
- defaultConfigurationName = Release;
260
- };
261
- 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNCWebView" */ = {
262
- isa = XCConfigurationList;
263
- buildConfigurations = (
264
- 58B511F01A9E6C8500147676 /* Debug */,
265
- 58B511F11A9E6C8500147676 /* Release */,
266
- );
267
- defaultConfigurationIsVisible = 0;
268
- defaultConfigurationName = Release;
269
- };
270
- /* End XCConfigurationList section */
271
- };
272
- rootObject = 58B511D31A9E6C8500147676 /* Project object */;
273
- }