react-native-webview-bootpay 11.22.87 → 11.26.19
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.
- package/README.md +10 -10
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/results.bin +1 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebChromeClient$1.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebChromeClient.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebView$1.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebView$BPCWebViewBridge.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebView$ProgressChangedFilter.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebView.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebViewClient.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebViewFileProvider.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebViewManager$1.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebViewManager$2.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebViewManager$3.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebViewManager$4.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebViewManager.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebViewModule$1.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebViewModule$2.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebViewModule$MimeType.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebViewModule$ShouldOverrideUrlLoadingLock$ShouldOverrideCallbackState.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebViewModule$ShouldOverrideUrlLoadingLock.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebViewModule.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BPCWebViewPackage.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BasicAuthCredential.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/BuildConfig.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/URLUtil.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/WebViewConfig.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopHttpErrorEvent$Companion.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopHttpErrorEvent.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopLoadingErrorEvent$Companion.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopLoadingErrorEvent.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopLoadingFinishEvent$Companion.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopLoadingFinishEvent.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopLoadingProgressEvent$Companion.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopLoadingProgressEvent.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopLoadingStartEvent$Companion.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopLoadingStartEvent.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopMessageEvent$Companion.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopMessageEvent.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopRenderProcessGoneEvent$Companion.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopRenderProcessGoneEvent.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopShouldStartLoadWithRequestEvent$Companion.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/debug/kr/co/bootpay/webview/events/TopShouldStartLoadWithRequestEvent.dex +0 -0
- package/android/build/.transforms/547b28b34bd585663252523c1a7a53e6/transformed/desugar_graph.bin +0 -0
- package/android/build/.transforms/88c49d67076e4458a9ddee82f875eb6a/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/c0e86b44db04fcaf424a5b7ce79324f4/results.bin +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +2 -0
- package/android/build/intermediates/javac/debug/classes/kr/co/bootpay/webview/BPCWebChromeClient$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/kr/co/bootpay/webview/BPCWebChromeClient.class +0 -0
- package/android/build/intermediates/javac/debug/classes/kr/co/bootpay/webview/BPCWebView$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/kr/co/bootpay/webview/BPCWebView$BPCWebViewBridge.class +0 -0
- package/android/build/intermediates/javac/debug/classes/kr/co/bootpay/webview/BPCWebView$ProgressChangedFilter.class +0 -0
- package/android/build/intermediates/javac/debug/classes/kr/co/bootpay/webview/BPCWebView.class +0 -0
- package/android/build/intermediates/javac/debug/classes/kr/co/bootpay/webview/BPCWebViewClient.class +0 -0
- package/android/build/intermediates/javac/debug/classes/kr/co/bootpay/webview/BPCWebViewManager$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/kr/co/bootpay/webview/BPCWebViewManager$2.class +0 -0
- package/android/build/intermediates/javac/debug/classes/kr/co/bootpay/webview/BPCWebViewManager$3.class +0 -0
- package/android/build/intermediates/javac/debug/classes/kr/co/bootpay/webview/BPCWebViewManager$4.class +0 -0
- package/android/build/intermediates/javac/debug/classes/kr/co/bootpay/webview/BPCWebViewManager.class +0 -0
- package/android/build/intermediates/javac/debug/classes/kr/co/bootpay/webview/URLUtil.class +0 -0
- package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +1 -1
- package/android/build/intermediates/runtime_library_classes_dir/debug/META-INF/react-native-webview-bootpay_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebChromeClient$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebChromeClient.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebView$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebView$BPCWebViewBridge.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebView$ProgressChangedFilter.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebView.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebViewClient.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebViewFileProvider.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebViewManager$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebViewManager$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebViewManager$3.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebViewManager$4.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebViewManager.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebViewModule$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebViewModule$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebViewModule$MimeType.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebViewModule$ShouldOverrideUrlLoadingLock$ShouldOverrideCallbackState.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebViewModule$ShouldOverrideUrlLoadingLock.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebViewModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BPCWebViewPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BasicAuthCredential.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/URLUtil.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/WebViewConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopHttpErrorEvent$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopHttpErrorEvent.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopLoadingErrorEvent$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopLoadingErrorEvent.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopLoadingFinishEvent$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopLoadingFinishEvent.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopLoadingProgressEvent$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopLoadingProgressEvent.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopLoadingStartEvent$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopLoadingStartEvent.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopMessageEvent$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopMessageEvent.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopRenderProcessGoneEvent$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopRenderProcessGoneEvent.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopShouldStartLoadWithRequestEvent$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/kr/co/bootpay/webview/events/TopShouldStartLoadWithRequestEvent.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.values.at +0 -0
- package/android/{.gradle/6.8/executionHistory/executionHistory.bin → build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab_i} +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +1 -1
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-webview-bootpay_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/BPCWebViewPackage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopHttpErrorEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopHttpErrorEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopLoadingErrorEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopLoadingErrorEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopLoadingFinishEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopLoadingFinishEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopLoadingProgressEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopLoadingProgressEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopLoadingStartEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopLoadingStartEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopMessageEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopMessageEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopRenderProcessGoneEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopRenderProcessGoneEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopShouldStartLoadWithRequestEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kr/co/bootpay/webview/events/TopShouldStartLoadWithRequestEvent.class +0 -0
- package/android/build.gradle +1 -1
- package/android/gradle.properties +2 -2
- package/android/src/main/AndroidManifest.xml +1 -1
- package/android/src/main/java/kr/co/bootpay/webview/BPCWebChromeClient.java +145 -53
- package/android/src/main/java/kr/co/bootpay/webview/BPCWebView.java +0 -1
- package/android/src/main/java/kr/co/bootpay/webview/BPCWebViewClient.java +6 -11
- package/android/src/main/java/kr/co/bootpay/webview/BPCWebViewManager.java +65 -13
- package/android/src/main/java/kr/co/bootpay/webview/URLUtil.java +179 -0
- package/apple/BPCWebView.h +3 -1
- package/apple/BPCWebView.m +112 -68
- package/ios/BPCWebView.xcodeproj/project.pbxproj +95 -132
- package/ios/BPCWebView.xcodeproj/project.xcworkspace/contents.xcworkspacedata +1 -1
- package/ios/BPCWebView.xcodeproj/project.xcworkspace/xcuserdata/ehowlsla.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/BPCWebView.xcodeproj/xcuserdata/ehowlsla.xcuserdatad/xcschemes/xcschememanagement.plist +0 -15
- package/lib/WebView.android.js +1 -1
- package/lib/WebView.ios.js +1 -1
- package/lib/WebView.macos.js +6 -6
- package/lib/WebView.windows.js +2 -2
- package/lib/WebViewNativeComponent.macos.d.ts +2 -2
- package/lib/WebViewNativeComponent.macos.js +2 -2
- package/lib/WebViewShared.d.ts +1 -1
- package/lib/WebViewShared.d.ts.map +1 -1
- package/lib/WebViewTypes.d.ts +12 -3
- package/lib/WebViewTypes.d.ts.map +1 -1
- package/package.json +5 -5
- package/react-native-webview-bootpay.podspec +1 -2
- package/android/.gradle/6.8/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/6.8/fileChanges/last-build.bin +0 -0
- package/android/.gradle/6.8/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/6.8/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/6.8/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/configuration-cache/gc.properties +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/compiler.xml +0 -6
- package/android/.idea/gradle.xml +0 -19
- package/android/.idea/jarRepositories.xml +0 -30
- package/android/.idea/libraries/Gradle__androidx_annotation_annotation_1_1_0.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_1_0_2_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_arch_core_core_common_2_0_0.xml +0 -11
- package/android/.idea/libraries/Gradle__androidx_arch_core_core_runtime_2_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_asynclayoutinflater_asynclayoutinflater_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_autofill_autofill_1_1_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_collection_collection_1_0_0.xml +0 -11
- package/android/.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_core_core_1_1_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_cursoradapter_cursoradapter_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_customview_customview_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_documentfile_documentfile_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_drawerlayout_drawerlayout_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_fragment_fragment_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_interpolator_interpolator_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_legacy_legacy_support_core_ui_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_legacy_legacy_support_core_utils_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_common_2_0_0.xml +0 -11
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_2_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_core_2_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_runtime_2_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_2_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_loader_loader_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_localbroadcastmanager_localbroadcastmanager_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_print_print_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_slidingpanelayout_slidingpanelayout_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_swiperefreshlayout_swiperefreshlayout_1_0_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_1_0_1_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_animated_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_versionedparcelable_versionedparcelable_1_1_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_viewpager_viewpager_1_0_0_aar.xml +0 -13
- package/android/.idea/libraries/Gradle__androidx_webkit_webkit_1_4_0_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__com_facebook_fbjni_fbjni_java_only_0_2_2.xml +0 -13
- package/android/.idea/libraries/Gradle__com_facebook_fresco_drawee_2_5_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_fbcore_2_5_0_aar.xml +0 -18
- package/android/.idea/libraries/Gradle__com_facebook_fresco_fresco_2_5_0_aar.xml +0 -18
- package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_2_5_0_aar.xml +0 -18
- package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_base_2_5_0_aar.xml +0 -18
- package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_native_2_5_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_okhttp3_2_5_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_memory_type_ashmem_2_5_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_memory_type_java_2_5_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_memory_type_native_2_5_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_nativeimagefilters_2_5_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_nativeimagetranscoder_2_5_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_fresco_ui_common_2_5_0_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_infer_annotation_infer_annotation_0_18_0.xml +0 -13
- package/android/.idea/libraries/Gradle__com_facebook_react_react_native_0_68_2_aar.xml +0 -16
- package/android/.idea/libraries/Gradle__com_facebook_soloader_annotation_0_10_3.xml +0 -13
- package/android/.idea/libraries/Gradle__com_facebook_soloader_nativeloader_0_10_3.xml +0 -13
- package/android/.idea/libraries/Gradle__com_facebook_soloader_soloader_0_10_3_aar.xml +0 -15
- package/android/.idea/libraries/Gradle__com_facebook_yoga_proguard_annotations_1_19_0.xml +0 -13
- package/android/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_3_0_2.xml +0 -13
- package/android/.idea/libraries/Gradle__com_squareup_okhttp3_okhttp_4_9_2.xml +0 -13
- package/android/.idea/libraries/Gradle__com_squareup_okhttp3_okhttp_urlconnection_4_9_2.xml +0 -13
- package/android/.idea/libraries/Gradle__com_squareup_okio_okio_2_9_0.xml +0 -13
- package/android/.idea/libraries/Gradle__javax_inject_javax_inject_1.xml +0 -13
- package/android/.idea/libraries/Gradle__org_jetbrains_annotations_13_0.xml +0 -13
- package/android/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_annotations_jvm_1_3_72.xml +0 -13
- package/android/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_4_10.xml +0 -13
- package/android/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_common_1_4_10.xml +0 -13
- package/android/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_jdk7_1_4_10.xml +0 -13
- package/android/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_jdk8_1_4_10.xml +0 -13
- package/android/.idea/misc.xml +0 -9
- package/android/.idea/modules/android.iml +0 -133
- package/android/.idea/modules.xml +0 -8
- package/android/.idea/vcs.xml +0 -6
- package/android/build/.transforms/28ceacf58c1f53104331b6d3900dca4f/transformed/classes/classes.dex +0 -0
- package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +0 -2
- package/android/build/kotlin/compileDebugKotlin/localstate/build-history.bin +0 -0
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/android/gradlew +0 -185
- package/android/gradlew.bat +0 -89
- package/android/local.properties +0 -8
- /package/android/build/.transforms/{28ceacf58c1f53104331b6d3900dca4f → 88c49d67076e4458a9ddee82f875eb6a}/results.bin +0 -0
- /package/android/build/intermediates/incremental/{packageDebugResources → debug/packageDebugResources}/merger.xml +0 -0
package/apple/BPCWebView.h
CHANGED
|
@@ -37,7 +37,6 @@ shouldStartLoadForRequest:(NSMutableDictionary<NSString *, id> *_Nonnull)request
|
|
|
37
37
|
|
|
38
38
|
@interface BPCWebView : RCTView
|
|
39
39
|
|
|
40
|
-
@property NSString* beforeUrl;
|
|
41
40
|
@property (nonatomic, weak) id<BPCWebViewDelegate> _Nullable delegate;
|
|
42
41
|
@property (nonatomic, copy) NSDictionary * _Nullable source;
|
|
43
42
|
@property (nonatomic, assign) BOOL messagingEnabled;
|
|
@@ -102,6 +101,8 @@ shouldStartLoadForRequest:(NSMutableDictionary<NSString *, id> *_Nonnull)request
|
|
|
102
101
|
@property (nonatomic, assign) BPCWebViewPermissionGrantType mediaCapturePermissionGrantType;
|
|
103
102
|
#endif
|
|
104
103
|
|
|
104
|
+
@property (nonatomic, copy) NSString * _Nullable beforeUrl;
|
|
105
|
+
|
|
105
106
|
+ (void)setClientAuthenticationCredential:(nullable NSURLCredential*)credential;
|
|
106
107
|
+ (void)setCustomCertificatesForHost:(nullable NSDictionary *)certificates;
|
|
107
108
|
- (void)postMessage:(NSString *_Nullable)message;
|
|
@@ -116,6 +117,7 @@ shouldStartLoadForRequest:(NSMutableDictionary<NSString *, id> *_Nonnull)request
|
|
|
116
117
|
- (void)pullToRefresh:(UIRefreshControl *_Nonnull)refreshControl;
|
|
117
118
|
#endif
|
|
118
119
|
|
|
120
|
+
|
|
119
121
|
- (void) webViewRN:(WKWebView *)webView
|
|
120
122
|
decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction
|
|
121
123
|
decisionHandler:(void (^)(WKNavigationActionPolicy))decisionHandler;
|
package/apple/BPCWebView.m
CHANGED
|
@@ -19,9 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
static NSTimer *keyboardTimer;
|
|
21
21
|
static NSString *const HistoryShimName = @"ReactNativeHistoryShim";
|
|
22
|
-
// static NSString *const MessageHandlerName = @"ReactNativeWebView";
|
|
23
22
|
static NSString *const MessageHandlerName = @"BootpayRNWebView";
|
|
24
|
-
|
|
25
23
|
static NSURLCredential* clientAuthenticationCredential;
|
|
26
24
|
static NSDictionary* customCertificatesForHost;
|
|
27
25
|
|
|
@@ -66,7 +64,7 @@ NSString *const BPCUSTOM_SELECTOR = @"_BPCUSTOM_SELECTOR_";
|
|
|
66
64
|
@end
|
|
67
65
|
#endif // TARGET_OS_OSX
|
|
68
66
|
|
|
69
|
-
@interface BPCWebView () <WKUIDelegate, WKNavigationDelegate, WKScriptMessageHandler,
|
|
67
|
+
@interface BPCWebView () <WKUIDelegate, WKNavigationDelegate, WKScriptMessageHandler, WKHTTPCookieStoreObserver,
|
|
70
68
|
#if !TARGET_OS_OSX
|
|
71
69
|
UIScrollViewDelegate,
|
|
72
70
|
#endif // !TARGET_OS_OSX
|
|
@@ -236,6 +234,9 @@ RCTAutoInsetsProtocol>
|
|
|
236
234
|
- (void)dealloc
|
|
237
235
|
{
|
|
238
236
|
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
|
237
|
+
if (@available(iOS 11.0, *)) {
|
|
238
|
+
[self.webView.configuration.websiteDataStore.httpCookieStore removeObserver:self];
|
|
239
|
+
}
|
|
239
240
|
}
|
|
240
241
|
|
|
241
242
|
- (void)tappedMenuItem:(NSString *)eventType
|
|
@@ -311,26 +312,57 @@ RCTAutoInsetsProtocol>
|
|
|
311
312
|
*/
|
|
312
313
|
- (WKWebView *)webView:(WKWebView *)webView createWebViewWithConfiguration:(WKWebViewConfiguration *)configuration forNavigationAction:(WKNavigationAction *)navigationAction windowFeatures:(WKWindowFeatures *)windowFeatures
|
|
313
314
|
{
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
popupView.UIDelegate = self;
|
|
324
|
-
|
|
325
|
-
[self addSubview:popupView];
|
|
315
|
+
/*
|
|
316
|
+
if (!navigationAction.targetFrame.isMainFrame) {
|
|
317
|
+
[webView loadRequest:navigationAction.request];
|
|
318
|
+
}
|
|
319
|
+
return nil;
|
|
320
|
+
*/
|
|
321
|
+
NSString *url = navigationAction.request.URL.absoluteString;
|
|
322
|
+
|
|
323
|
+
if (!navigationAction.targetFrame.isMainFrame) {
|
|
326
324
|
|
|
327
|
-
|
|
325
|
+
if ([url hasPrefix:@"https://gw.bootpay.co.kr"] || [url hasPrefix:@"http://gw.bootpay.co.kr"]) {
|
|
326
|
+
// 팝업(새 창) 뜨는 경우 호출됨 (window.open 또는 target="_blank")
|
|
327
|
+
WKWebView *popupView = [[WKWebView alloc] initWithFrame:CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height) configuration:configuration];
|
|
328
|
+
|
|
329
|
+
[popupView autoresizingMask];
|
|
330
|
+
popupView.navigationDelegate = self;
|
|
331
|
+
popupView.UIDelegate = self;
|
|
332
|
+
|
|
333
|
+
[self addSubview:popupView];
|
|
334
|
+
|
|
335
|
+
return popupView;
|
|
336
|
+
} else {
|
|
337
|
+
[webView loadRequest:navigationAction.request];
|
|
338
|
+
return nil;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
return nil;
|
|
328
342
|
}
|
|
329
343
|
|
|
344
|
+
|
|
330
345
|
- (void)webViewDidClose:(WKWebView *)webView {
|
|
331
346
|
[webView removeFromSuperview];
|
|
332
347
|
}
|
|
333
348
|
|
|
349
|
+
/**
|
|
350
|
+
* Enables file input on macos, see https://developer.apple.com/documentation/webkit/wkuidelegate/1641952-webview
|
|
351
|
+
*/
|
|
352
|
+
#if TARGET_OS_OSX
|
|
353
|
+
- (void)webView:(WKWebView *)webView runOpenPanelWithParameters:(WKOpenPanelParameters *)parameters initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(NSArray<NSURL *> *URLs))completionHandler
|
|
354
|
+
{
|
|
355
|
+
NSOpenPanel *openPanel = [NSOpenPanel openPanel];
|
|
356
|
+
openPanel.allowsMultipleSelection = parameters.allowsMultipleSelection;
|
|
357
|
+
[openPanel beginSheetModalForWindow:webView.window completionHandler:^(NSInteger result) {
|
|
358
|
+
if (result == NSModalResponseOK)
|
|
359
|
+
completionHandler(openPanel.URLs);
|
|
360
|
+
else
|
|
361
|
+
completionHandler(nil);
|
|
362
|
+
}];
|
|
363
|
+
}
|
|
364
|
+
#endif //Target_OS_OSX
|
|
365
|
+
|
|
334
366
|
- (WKWebViewConfiguration *)setUpWkWebViewConfig
|
|
335
367
|
{
|
|
336
368
|
WKWebViewConfiguration *wkWebViewConfig = [WKWebViewConfiguration new];
|
|
@@ -827,7 +859,7 @@ RCTAutoInsetsProtocol>
|
|
|
827
859
|
|
|
828
860
|
if(subview == nil) return;
|
|
829
861
|
|
|
830
|
-
NSString* name = [NSString stringWithFormat:@"%@
|
|
862
|
+
NSString* name = [NSString stringWithFormat:@"%@_BPSwizzleHelperWK", subview.class.superclass];
|
|
831
863
|
Class newClass = NSClassFromString(name);
|
|
832
864
|
|
|
833
865
|
if(newClass == nil)
|
|
@@ -1013,7 +1045,7 @@ RCTAutoInsetsProtocol>
|
|
|
1013
1045
|
{
|
|
1014
1046
|
#if !TARGET_OS_OSX
|
|
1015
1047
|
UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"" message:message preferredStyle:UIAlertControllerStyleAlert];
|
|
1016
|
-
[alert addAction:[UIAlertAction actionWithTitle:@"
|
|
1048
|
+
[alert addAction:[UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action) {
|
|
1017
1049
|
completionHandler();
|
|
1018
1050
|
}]];
|
|
1019
1051
|
[[self topViewController] presentViewController:alert animated:YES completion:NULL];
|
|
@@ -1032,18 +1064,18 @@ RCTAutoInsetsProtocol>
|
|
|
1032
1064
|
- (void)webView:(WKWebView *)webView runJavaScriptConfirmPanelWithMessage:(NSString *)message initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(BOOL))completionHandler{
|
|
1033
1065
|
#if !TARGET_OS_OSX
|
|
1034
1066
|
UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"" message:message preferredStyle:UIAlertControllerStyleAlert];
|
|
1035
|
-
[alert addAction:[UIAlertAction actionWithTitle:@"
|
|
1067
|
+
[alert addAction:[UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action) {
|
|
1036
1068
|
completionHandler(YES);
|
|
1037
1069
|
}]];
|
|
1038
|
-
[alert addAction:[UIAlertAction actionWithTitle:@"
|
|
1070
|
+
[alert addAction:[UIAlertAction actionWithTitle:@"Cancel" style:UIAlertActionStyleCancel handler:^(UIAlertAction *action) {
|
|
1039
1071
|
completionHandler(NO);
|
|
1040
1072
|
}]];
|
|
1041
1073
|
[[self topViewController] presentViewController:alert animated:YES completion:NULL];
|
|
1042
1074
|
#else
|
|
1043
1075
|
NSAlert *alert = [[NSAlert alloc] init];
|
|
1044
1076
|
[alert setMessageText:message];
|
|
1045
|
-
[alert addButtonWithTitle:NSLocalizedString(@"
|
|
1046
|
-
[alert addButtonWithTitle:NSLocalizedString(@"
|
|
1077
|
+
[alert addButtonWithTitle:NSLocalizedString(@"OK", @"OK button")];
|
|
1078
|
+
[alert addButtonWithTitle:NSLocalizedString(@"Cancel", @"Cancel button")];
|
|
1047
1079
|
void (^callbacksHandlers)(NSModalResponse response) = ^void(NSModalResponse response) {
|
|
1048
1080
|
completionHandler(response == NSAlertFirstButtonReturn);
|
|
1049
1081
|
};
|
|
@@ -1060,11 +1092,11 @@ RCTAutoInsetsProtocol>
|
|
|
1060
1092
|
[alert addTextFieldWithConfigurationHandler:^(UITextField *textField) {
|
|
1061
1093
|
textField.text = defaultText;
|
|
1062
1094
|
}];
|
|
1063
|
-
UIAlertAction *okAction = [UIAlertAction actionWithTitle:@"
|
|
1095
|
+
UIAlertAction *okAction = [UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action) {
|
|
1064
1096
|
completionHandler([[alert.textFields lastObject] text]);
|
|
1065
1097
|
}];
|
|
1066
1098
|
[alert addAction:okAction];
|
|
1067
|
-
UIAlertAction *cancelAction = [UIAlertAction actionWithTitle:@"
|
|
1099
|
+
UIAlertAction *cancelAction = [UIAlertAction actionWithTitle:@"Cancel" style:UIAlertActionStyleCancel handler:^(UIAlertAction *action) {
|
|
1068
1100
|
completionHandler(nil);
|
|
1069
1101
|
}];
|
|
1070
1102
|
[alert addAction:cancelAction];
|
|
@@ -1083,8 +1115,8 @@ RCTAutoInsetsProtocol>
|
|
|
1083
1115
|
textField.stringValue = defaultText;
|
|
1084
1116
|
[alert setAccessoryView:textField];
|
|
1085
1117
|
|
|
1086
|
-
[alert addButtonWithTitle:NSLocalizedString(@"
|
|
1087
|
-
[alert addButtonWithTitle:NSLocalizedString(@"
|
|
1118
|
+
[alert addButtonWithTitle:NSLocalizedString(@"OK", @"OK button")];
|
|
1119
|
+
[alert addButtonWithTitle:NSLocalizedString(@"Cancel", @"Cancel button")];
|
|
1088
1120
|
[alert beginSheetModalForWindow:[NSApp keyWindow] completionHandler:^(NSModalResponse response) {
|
|
1089
1121
|
if (response == NSAlertFirstButtonReturn) {
|
|
1090
1122
|
completionHandler([textField stringValue]);
|
|
@@ -1131,36 +1163,36 @@ RCTAutoInsetsProtocol>
|
|
|
1131
1163
|
|
|
1132
1164
|
#endif // !TARGET_OS_OSX
|
|
1133
1165
|
|
|
1166
|
+
/**
|
|
1167
|
+
* Decides whether to allow or cancel a navigation.
|
|
1168
|
+
* @see https://fburl.com/42r9fxob
|
|
1169
|
+
*/
|
|
1134
1170
|
|
|
1171
|
+
- (void) webView:(WKWebView *)webView
|
|
1172
|
+
decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction
|
|
1173
|
+
decisionHandler:(void (^)(WKNavigationActionPolicy))decisionHandler
|
|
1174
|
+
{
|
|
1175
|
+
NSString *url = navigationAction.request.URL.absoluteString;
|
|
1135
1176
|
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
// [self updateBlindViewIfNaverLogin:url];
|
|
1145
|
-
|
|
1146
|
-
if([self isItunesURL:url]) {
|
|
1147
|
-
[self startAppToApp:[NSURL URLWithString:url]];
|
|
1148
|
-
decisionHandler(WKNavigationActionPolicyCancel);
|
|
1149
|
-
} else if([url hasPrefix:@"about:blank"]) {
|
|
1150
|
-
decisionHandler(WKNavigationActionPolicyAllow);
|
|
1151
|
-
} else if(![url hasPrefix:@"http"]) {
|
|
1152
|
-
[self startAppToApp:[NSURL URLWithString:url]];
|
|
1153
|
-
decisionHandler(WKNavigationActionPolicyCancel);
|
|
1154
|
-
} else {
|
|
1177
|
+
_beforeUrl = url;
|
|
1178
|
+
|
|
1179
|
+
// [self updateBlindViewIfNaverLogin:url];
|
|
1180
|
+
|
|
1181
|
+
if([self isItunesURL:url]) {
|
|
1182
|
+
[self startAppToApp:[NSURL URLWithString:url]];
|
|
1183
|
+
decisionHandler(WKNavigationActionPolicyCancel);
|
|
1184
|
+
} else if([url hasPrefix:@"about:blank"]) {
|
|
1155
1185
|
decisionHandler(WKNavigationActionPolicyAllow);
|
|
1156
|
-
|
|
1157
|
-
|
|
1186
|
+
} else if(![url hasPrefix:@"http"]) {
|
|
1187
|
+
[self startAppToApp:[NSURL URLWithString:url]];
|
|
1188
|
+
decisionHandler(WKNavigationActionPolicyCancel);
|
|
1189
|
+
} else {
|
|
1190
|
+
[self webViewRN:webView decidePolicyForNavigationAction:navigationAction decisionHandler:decisionHandler];
|
|
1191
|
+
//decisionHandler(WKNavigationActionPolicyAllow);
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1158
1194
|
|
|
1159
1195
|
|
|
1160
|
-
/**
|
|
1161
|
-
* Decides whether to allow or cancel a navigation.
|
|
1162
|
-
* @see https://fburl.com/42r9fxob
|
|
1163
|
-
*/
|
|
1164
1196
|
- (void) webViewRN:(WKWebView *)webView
|
|
1165
1197
|
decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction
|
|
1166
1198
|
decisionHandler:(void (^)(WKNavigationActionPolicy))decisionHandler
|
|
@@ -1185,9 +1217,13 @@ RCTAutoInsetsProtocol>
|
|
|
1185
1217
|
|
|
1186
1218
|
if (_onShouldStartLoadWithRequest) {
|
|
1187
1219
|
NSMutableDictionary<NSString *, id> *event = [self baseEvent];
|
|
1220
|
+
if (request.mainDocumentURL) {
|
|
1221
|
+
[event addEntriesFromDictionary: @{
|
|
1222
|
+
@"mainDocumentURL": (request.mainDocumentURL).absoluteString,
|
|
1223
|
+
}];
|
|
1224
|
+
}
|
|
1188
1225
|
[event addEntriesFromDictionary: @{
|
|
1189
1226
|
@"url": (request.URL).absoluteString,
|
|
1190
|
-
@"mainDocumentURL": (request.mainDocumentURL).absoluteString,
|
|
1191
1227
|
@"navigationType": navigationTypes[@(navigationType)],
|
|
1192
1228
|
@"isTopFrame": @(isTopFrame)
|
|
1193
1229
|
}];
|
|
@@ -1364,23 +1400,26 @@ RCTAutoInsetsProtocol>
|
|
|
1364
1400
|
*/
|
|
1365
1401
|
- (void)webView:(WKWebView *)webView
|
|
1366
1402
|
didFinishNavigation:(WKNavigation *)navigation
|
|
1403
|
+
{
|
|
1404
|
+
if (_ignoreSilentHardwareSwitch) {
|
|
1405
|
+
[self forceIgnoreSilentHardwareSwitch:true];
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
if (_onLoadingFinish) {
|
|
1409
|
+
_onLoadingFinish([self baseEvent]);
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
- (void)cookiesDidChangeInCookieStore:(WKHTTPCookieStore *)cookieStore
|
|
1367
1414
|
{
|
|
1368
1415
|
if(_sharedCookiesEnabled && @available(iOS 11.0, *)) {
|
|
1369
1416
|
// Write all cookies from WKWebView back to sharedHTTPCookieStorage
|
|
1370
|
-
[
|
|
1417
|
+
[cookieStore getAllCookies:^(NSArray* cookies) {
|
|
1371
1418
|
for (NSHTTPCookie *cookie in cookies) {
|
|
1372
1419
|
[[NSHTTPCookieStorage sharedHTTPCookieStorage] setCookie:cookie];
|
|
1373
1420
|
}
|
|
1374
1421
|
}];
|
|
1375
1422
|
}
|
|
1376
|
-
|
|
1377
|
-
if (_ignoreSilentHardwareSwitch) {
|
|
1378
|
-
[self forceIgnoreSilentHardwareSwitch:true];
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
|
-
if (_onLoadingFinish) {
|
|
1382
|
-
_onLoadingFinish([self baseEvent]);
|
|
1383
|
-
}
|
|
1384
1423
|
}
|
|
1385
1424
|
|
|
1386
1425
|
- (void)injectJavaScript:(NSString *)script
|
|
@@ -1597,7 +1636,9 @@ didFinishNavigation:(WKNavigation *)navigation
|
|
|
1597
1636
|
if(!_incognito && !_cacheEnabled) {
|
|
1598
1637
|
wkWebViewConfig.websiteDataStore = [WKWebsiteDataStore nonPersistentDataStore];
|
|
1599
1638
|
}
|
|
1600
|
-
[self syncCookiesToWebView
|
|
1639
|
+
[self syncCookiesToWebView:^{
|
|
1640
|
+
[wkWebViewConfig.websiteDataStore.httpCookieStore addObserver:self];
|
|
1641
|
+
}];
|
|
1601
1642
|
} else {
|
|
1602
1643
|
NSMutableString *script = [NSMutableString string];
|
|
1603
1644
|
|
|
@@ -1684,7 +1725,7 @@ didFinishNavigation:(WKNavigation *)navigation
|
|
|
1684
1725
|
}
|
|
1685
1726
|
|
|
1686
1727
|
|
|
1687
|
-
#pragma mark -
|
|
1728
|
+
#pragma mark - WebView Javascript
|
|
1688
1729
|
|
|
1689
1730
|
-(void) doJavascript:(NSString*) script {
|
|
1690
1731
|
[_webView evaluateJavaScript:script completionHandler:nil];
|
|
@@ -1710,7 +1751,7 @@ didFinishNavigation:(WKNavigation *)navigation
|
|
|
1710
1751
|
- (NSString*) getQueryStringParameter:(NSString*)url :(NSString*)param {
|
|
1711
1752
|
NSMutableDictionary *queryStringDictionary = [[NSMutableDictionary alloc] init];
|
|
1712
1753
|
NSArray *urlComponents = [url componentsSeparatedByString:@"&"];
|
|
1713
|
-
|
|
1754
|
+
|
|
1714
1755
|
for (NSString *keyValuePair in urlComponents)
|
|
1715
1756
|
{
|
|
1716
1757
|
NSArray *pairComponents = [keyValuePair componentsSeparatedByString:@"="];
|
|
@@ -1721,13 +1762,13 @@ didFinishNavigation:(WKNavigation *)navigation
|
|
|
1721
1762
|
return value;
|
|
1722
1763
|
}
|
|
1723
1764
|
}
|
|
1724
|
-
|
|
1765
|
+
|
|
1725
1766
|
return @"";
|
|
1726
1767
|
}
|
|
1727
1768
|
|
|
1728
1769
|
- (void) startAppToApp:(NSURL*) url {
|
|
1729
1770
|
UIApplication *application = [UIApplication sharedApplication];
|
|
1730
|
-
|
|
1771
|
+
|
|
1731
1772
|
if (@available(iOS 10.0, *)) {
|
|
1732
1773
|
[application openURL:url options:@{} completionHandler: ^(BOOL success) {
|
|
1733
1774
|
if(success == false) {
|
|
@@ -1743,7 +1784,7 @@ didFinishNavigation:(WKNavigation *)navigation
|
|
|
1743
1784
|
- (void) startItunesToInstall:(NSURL*) url {
|
|
1744
1785
|
NSString *sUrl = url.absoluteString;
|
|
1745
1786
|
NSString *itunesUrl = @"";
|
|
1746
|
-
|
|
1787
|
+
|
|
1747
1788
|
if([sUrl hasPrefix: @"kfc-bankpay"]) {
|
|
1748
1789
|
itunesUrl = @"https://apps.apple.com/kr/app/%EB%B1%85%ED%81%AC%ED%8E%98%EC%9D%B4-%EA%B8%88%EC%9C%B5%EA%B8%B0%EA%B4%80-%EA%B3%B5%EB%8F%99-%EA%B3%84%EC%A2%8C%EC%9D%B4%EC%B2%B4-%EA%B2%B0%EC%A0%9C-%EC%A0%9C%EB%A1%9C%ED%8E%98%EC%9D%B4/id398456030";
|
|
1749
1790
|
} else if([sUrl hasPrefix: @"ispmobile"]) {
|
|
@@ -1803,7 +1844,7 @@ didFinishNavigation:(WKNavigation *)navigation
|
|
|
1803
1844
|
} else if([sUrl hasPrefix: @"kbbank"]) {
|
|
1804
1845
|
itunesUrl = @"https://apps.apple.com/kr/app/kb%EC%8A%A4%ED%83%80%EB%B1%85%ED%82%B9/id373742138";
|
|
1805
1846
|
}
|
|
1806
|
-
|
|
1847
|
+
|
|
1807
1848
|
if(itunesUrl.length > 0) {
|
|
1808
1849
|
NSURL *appstore = [NSURL URLWithString: itunesUrl];
|
|
1809
1850
|
[self startAppToApp: appstore];
|
|
@@ -1831,4 +1872,7 @@ didFinishNavigation:(WKNavigation *)navigation
|
|
|
1831
1872
|
[self.scriptDelegate userContentController:userContentController didReceiveScriptMessage:message];
|
|
1832
1873
|
}
|
|
1833
1874
|
|
|
1875
|
+
|
|
1876
|
+
|
|
1834
1877
|
@end
|
|
1878
|
+
|