react-native-webview-bootpay 11.22.82 → 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
 
@@ -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
@@ -10,7 +10,7 @@
10
10
  "Thibault Malbranche <malbranche.thibault@gmail.com>"
11
11
  ],
12
12
  "license": "MIT",
13
- "version": "11.22.82",
13
+ "version": "11.22.83",
14
14
  "homepage": "https://www.bootpay.co.kr",
15
15
  "scripts": {
16
16
  "android": "react-native run-android",