Closed kephakhang closed 3 years ago
안녕하세요. 신한페이에서 수정해주지 않는 이상, 개선하기 어렵다고 생각됩니다. 해당 문제는 신한페이측에 레포트해주시면 좋겠습니다. 감사합니다. https://ifuwanna.tistory.com/223
또는 ionic 웹뷰의 쿠키 관련 설정의 문제일 수 있습니다. 부트페이에서는 네이티브 기준 아래의 설정을 진행합니다.
CookieManager.getInstance().setAcceptCookie(true);
WebSettings s = getSettings();
if (Build.VERSION.SDK_INT >= 21) {
s.setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW);
CookieManager.getInstance().setAcceptCookie(true);
CookieManager.getInstance().setAcceptThirdPartyCookies(this, true);
}
https://github.com/bootpay/client_android_java/blob/master/bootpay/src/main/java/kr/co/bootpay/BootpayWebView.java 참조하셔서 관련 설정이 있다면, 적용해보셔도 좋겠습니다.
위 코드도 적용하였습니다. 이니시스 PG 뷰는 잘 떠서 신한페이판 결제를 선택하면 신한페이판 app 이 떠야 하는데 다른 앱이 뜨네요...????
2020-07-20 22:14:50.297 29127-29143/? D/GOS:MainIntentService: onHandleIntent(). PACKAGE_CHANGED. changeType : 2, packageName : io.bory.speechmate
2020-07-20 22:14:50.361 29127-29143/? D/GOS:DataManager: onPackageInstallStarted(). packageName : io.bory.speechmate
2020-07-20 22:14:50.361 29127-29143/? D/GOS:DataManager: addPkgDataFromServer(), packageName : io.bory.speechmate
2020-07-20 22:14:50.369 29127-29143/? D/GOS:PkgData: PkgData(), pkgName: io.bory.speechmate
2020-07-20 22:14:50.369 29127-29143/? D/GOS:PkgData: setCustomFeatureFlag, pkgName: io.bory.speechmate, old featureFlag: 342277969731031827, new featureFlag: 342277969731031827
2020-07-20 22:14:50.374 29127-29143/? D/GOS:PkgData: PkgData(), pkgName: io.bory.speechmate
2020-07-20 22:14:50.376 29127-29143/? D/GOS:PkgData: setCustomFeatureFlag, pkgName: io.bory.speechmate, old featureFlag: 342277969731031827, new featureFlag: 342277969731031827
2020-07-20 22:14:54.257 25472-29147/? I/Finsky: [1186] aerv.b(3): Verify: Verification package=io.bory.speechmate, id=11 response=0
2020-07-20 22:15:15.081 3649-3690/? I/MSTG: io.bory.speechmate is installing..
2020-07-20 22:15:15.204 3649-3690/? I/PackageManager.DexOptimizer: Running dexopt (dexoptNeeded=1) on: /data/app/vmdl2043117083.tmp/base.apk pkg=io.bory.speechmate isa=arm64 dexoptFlags=boot_complete,debuggable,public target-filter=quicken oatDir=/data/app/vmdl2043117083.tmp/oat sharedLibraries=null
2020-07-20 22:15:23.660 3649-3690/? I/PackageManager.DexOptimizer: do mInstaller.syncDexopt : io.bory.speechmate
2020-07-20 22:15:23.667 3649-3690/? W/SELinux: SELinux: set fc_digest(/data/app/io.bory.speechmate-S1Lwg3Bm8Mv5t35ZNG-biA==)
2020-07-20 22:15:23.687 3649-3669/? I/ActivityManager: Force stopping io.bory.speechmate appid=10245 user=-1: installPackageLI
2020-07-20 22:15:24.023 3649-3690/? I/PackageManager: Package io.bory.speechmate codePath changed from /data/app/io.bory.speechmate-888ail5tk2fniRILYoUrmQ== to /data/app/io.bory.speechmate-S1Lwg3Bm8Mv5t35ZNG-biA==; Retaining data and using new
2020-07-20 22:15:24.023 3649-3690/? W/SELinuxMMAC: assignseinfovalue, SplashScreen.hide()
as soon as your web app is loaded (or increase the timeout).Read more at https://capacitorjs.com/docs/apis/splash-screen#hiding-the-splash-screen
2020-07-20 22:15:39.985 29532-29831/io.bory.speechmate D/OpenGLRenderer: eglDestroySurface = 0x7a0da2cdd0
2020-07-20 22:15:40.019 3649-4191/? V/WindowManager: Relayout Window{595573c u0 io.bory.speechmate/io.bory.speechmate.MainActivity}: viewVisibility=4 req=1080x1920 WM.LayoutParams{(0,0)(fillxfill) gr=#11 sim=#20 ty=2 fl=#81810100 fmt=-3 vsysui=0x600 colorMode=0 naviIconColor=0}
2020-07-20 22:15:40.021 3649-4191/? I/WindowManager: Destroying surface Surface(name=io.bory.speechmate/io.bory.speechmate.MainActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2501 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:985 com.android.server.wm.WindowState.destroyOrSaveSurfaceUnchecked:3680 com.android.server.wm.WindowState.destroySurface:3628 com.android.server.wm.WindowManagerService.tryStartExitingAnimation:2683 com.android.server.wm.WindowManagerService.relayoutWindow:2467 com.android.server.wm.Session.relayout:253 android.view.IWindowSession$Stub.onTransact:288
2020-07-20 22:15:40.021 3205-3227/? I/SurfaceFlinger: id=1462 Removed io.bory.speechmate/io.bory.speechmate.MainActivity#0 (4/8)
2020-07-20 22:15:40.022 3205-3227/? I/SurfaceFlinger: id=1462 Removed io.bory.speechmate/io.bory.speechmate.MainActivity#0 (-2/8)
2020-07-20 22:15:40.026 3205-3205/? I/Layer: id=1462 onRemoved io.bory.speechmate/io.bory.speechmate.MainActivity#0
2020-07-20 22:15:40.043 29532-29532/io.bory.speechmate D/ViewRootImpl@5b4e063[MainActivity]: Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x5 surface={valid=false 0} changed=true
2020-07-20 22:15:40.045 29532-29532/io.bory.speechmate D/ViewRootImpl@5b4e063[MainActivity]: dispatchDetachedFromWindow
2020-07-20 22:15:40.045 29532-29532/io.bory.speechmate D/InputEventReceiver: channel '595573c io.bory.speechmate/io.bory.speechmate.MainActivity (client)' ~ Disposing input event receiver.
2020-07-20 22:15:40.045 29532-29532/io.bory.speechmate D/InputEventReceiver: channel '595573c io.bory.speechmate/io.bory.speechmate.MainActivity (client)' ~NativeInputEventReceiver.
2020-07-20 22:15:40.253 3649-5420/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.android.vending/com.google.android.finsky.packagemanager.impl.PackageMonitorReceiverImpl$RegisteredReceiver
2020-07-20 22:15:40.268 29127-29127/? D/GOS:PkgData: PkgData(), pkgName: io.bory.speechmate
2020-07-20 22:15:40.268 29127-29127/? D/GOS:PkgData: setCustomFeatureFlag, pkgName: io.bory.speechmate, old featureFlag: 342277969731031827, new featureFlag: 342277969731031827
2020-07-20 22:15:40.271 3649-3663/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.google.android.gms/.games.chimera.GamesSystemBroadcastReceiverProxy
2020-07-20 22:15:40.272 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.google.android.gms/.gass.chimera.PackageChangeBroadcastReceiver
2020-07-20 22:15:40.273 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
2020-07-20 22:15:40.273 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.apps.gsa.googlequicksearchbox.GelStubAppWatcher
2020-07-20 22:15:40.325 3649-3663/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.samsung.android.SettingsReceiver/.networkconnect.NetworkConnectReceiver
2020-07-20 22:15:40.346 29633-29633/? D/AssistantMenuReceiver: [c] PACKAGE_ADDED : io.bory.speechmate
2020-07-20 22:15:40.467 29832-29832/? D/KnoxPackageStateReceiver: received intent Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 cmp=com.samsung.android.knox.containeragent/.KnoxPackageStateReceiver (has extras) }
2020-07-20 22:15:40.487 3649-4191/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.samsung.android.messaging/com.samsung.android.msgcommservice.plugin.PluginPackageEventReceiver
2020-07-20 22:15:40.585 3649-5420/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.samsung.android.themecenter/com.samsung.android.thememanager.ThemeManagerReceiver
2020-07-20 22:15:40.590 29948-29948/? D/KnoxPackageReceiver: received intent Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 cmp=com.samsung.knox.securefolder/.containeragent.detector.KnoxPackageStateReceiver (has extras) }
2020-07-20 22:15:40.591 29948-29948/? D/KnoxPackageReceiver: packageName:io.bory.speechmate
2020-07-20 22:15:40.598 3649-5418/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.sec.android.app.safetyassurance/.emergencyreporthelper.EmergencyReportStartMonitorReceiver
2020-07-20 22:15:40.599 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.sec.android.app.samsungapps/.receiver.PackageAddedReceiver
2020-07-20 22:15:40.600 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.sec.android.app.sbrowser/.webcontentsprovider.WebContentsProviderReceiver
2020-07-20 22:15:40.605 30014-30014/? D/PacakageChanageReceiver: The DATA: package:io.bory.speechmate
2020-07-20 22:15:40.611 3649-5418/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.sec.imsservice/com.sec.internal.tapi.service.receiver.PackageEventReceiver
2020-07-20 22:15:40.612 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.sec.imsservice/com.sec.internal.ims.imsservice.ImsIntentReceiver
2020-07-20 22:15:40.612 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.wssnps/.stubdownload.smlNpsPackageReceiver
2020-07-20 22:15:40.616 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.nhn.android.band/.base.receiver.AppInstallReceiver
2020-07-20 22:15:40.620 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.shcard.smartpay/.receiver.PackageStateInfoReceiver
2020-07-20 22:15:40.644 30064-30091/? D/AcmsJobIntentService: App added - package name: io.bory.speechmate
2020-07-20 22:15:40.644 3649-4395/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.google.android.apps.photos/.account.full.FetchAccountPropertiesAppUpgradeBroadcastReceiver
2020-07-20 22:15:40.645 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.google.android.apps.photos/.account.full.SyncAccountsForLoginBroadcastReceiver
2020-07-20 22:15:40.646 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.google.android.apps.photos/.notificationchannels.AppUpdateBroadcastReceiver
2020-07-20 22:15:40.646 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.google.android.gms/.gass.chimera.PackageChangeBroadcastReceiver
2020-07-20 22:15:40.647 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
2020-07-20 22:15:40.648 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.apps.gsa.googlequicksearchbox.GelStubAppWatcher
2020-07-20 22:15:40.669 29127-30143/? D/GOS:MainIntentService: onHandleIntent(). PACKAGE_CHANGED. changeType : 8, packageName : io.bory.speechmate
2020-07-20 22:15:40.674 29127-30143/? D/GOS:DataManager: onPackageUpdated(). packageName: io.bory.speechmate, versionCode: 1
2020-07-20 22:15:40.676 29127-30143/? D/GOS:PkgData: PkgData(), pkgName: io.bory.speechmate
2020-07-20 22:15:40.676 29127-30143/? D/GOS:PkgData: setCustomFeatureFlag, pkgName: io.bory.speechmate, old featureFlag: 342277969731031827, new featureFlag: 342277969731031827
2020-07-20 22:15:40.742 29703-29703/? D/EdgeLightingSettingManager: replaceSilentInstalledPackage : false, packageName = io.bory.speechmate
2020-07-20 22:15:41.180 29532-29532/io.bory.speechmate I/Capacitor/Console: File: http://localhost/vendor-es2015.js - Line 63753 - Msg: Angular is running in development mode. Call enableProdMode() to enable production mode.
2020-07-20 22:15:41.213 29532-29690/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/5-es2015.js
2020-07-20 22:15:41.216 29532-29693/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/common-es2015.js
2020-07-20 22:15:41.218 29532-29691/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/37-es2015.js
2020-07-20 22:15:41.270 29532-29693/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-main-main-module-es2015.js
2020-07-20 22:15:41.331 29532-29690/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/swipe-back-0a6a44c8-js-es2015.js
2020-07-20 22:15:41.643 3649-4395/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.samsung.android.themecenter/com.samsung.android.thememanager.ThemeManagerReceiver
2020-07-20 22:15:41.644 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.sec.android.app.billing/.iap.receiver.IapReceiver
2020-07-20 22:15:41.645 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.sec.android.app.samsungapps/.receiver.PackageAddedReceiver
2020-07-20 22:15:41.645 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.sec.android.app.samsungapps/com.samsung.android.iap.receiver.IapReceiver
2020-07-20 22:15:41.645 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.sec.android.app.sbrowser/.webcontentsprovider.WebContentsProviderReceiver
2020-07-20 22:15:41.646 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.sec.android.daemonapp/com.samsung.android.weather.daemon.receiver.ClearDataReceiver
2020-07-20 22:15:41.652 30014-30014/? D/PacakageChanageReceiver: The DATA: package:io.bory.speechmate
2020-07-20 22:15:41.656 3649-4395/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.sec.imsservice/com.sec.internal.tapi.service.receiver.PackageEventReceiver
2020-07-20 22:15:41.657 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.sec.imsservice/com.sec.internal.ims.imsservice.ImsIntentReceiver
2020-07-20 22:15:41.658 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.mgoogle.android.gms/org.microg.nlp.PackageReceiver
2020-07-20 22:15:41.659 3649-3669/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:io.bory.speechmate flg=0x4000010 (has extras) } to com.shcard.smartpay/.receiver.PackageStateInfoReceiver
2020-07-20 22:15:41.671 29532-29693/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-login-login-module-es2015.js
2020-07-20 22:15:41.844 29532-29690/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-signup-select-select-module-es2015.js
2020-07-20 22:15:41.886 29532-29684/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-signup-mom-mom-module-es2015.js
2020-07-20 22:15:41.891 29532-29691/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-signup-therapist-therapist-module-es2015.js
2020-07-20 22:15:42.042 29532-29693/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-parent-parent-module-es2015.js
2020-07-20 22:15:42.094 29532-29690/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-patient-patient-module-es2015.js
2020-07-20 22:15:42.131 29532-29690/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-patient-therapist-mapping-therapist-mapping-module-es2015.js
2020-07-20 22:15:42.168 29532-29557/io.bory.speechmate I/zygote64: Do full code cache collection, code=124KB, data=85KB
2020-07-20 22:15:42.170 29532-29557/io.bory.speechmate I/zygote64: After code cache collection, code=119KB, data=62KB
2020-07-20 22:15:42.405 29532-29684/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/default~pages-buy-buy-module~pages-schedule-schedule-module-es2015.js
2020-07-20 22:15:42.467 29532-29684/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-schedule-schedule-module-es2015.js
2020-07-20 22:15:42.550 29532-29532/io.bory.speechmate I/Capacitor/Console: File: capacitor-runtime.js - Line 2188 - Msg: deviceready has not fired after 5 seconds.
2020-07-20 22:15:42.557 29532-29532/io.bory.speechmate I/Capacitor/Console: File: capacitor-runtime.js - Line 2181 - Msg: Channel not fired: onIonicProReady
2020-07-20 22:15:42.565 29532-29690/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-mapping-mapping-module-es2015.js
2020-07-20 22:15:42.701 29532-29691/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-therapist-therapist-module-es2015.js
2020-07-20 22:15:42.708 29532-29693/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-sido-sido-module-es2015.js
2020-07-20 22:15:42.861 29532-29693/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-therapist-patient-mapping-patient-mapping-module-es2015.js
2020-07-20 22:15:42.871 29532-29691/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/default~pages-inspect-inspect-module~pages-inspect-speak-speak-module-es2015.js
2020-07-20 22:15:42.901 29532-29691/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-inspect-inspect-module-es2015.js
2020-07-20 22:15:43.149 29532-29691/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-stt-stt-module-es2015.js
2020-07-20 22:15:43.260 29532-29689/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-webrtc-webrtc-module-es2015.js
2020-07-20 22:15:43.261 29532-29693/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-buy-buy-module-es2015.js
2020-07-20 22:15:43.360 29532-29689/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/pages-license-license-module-es2015.js
2020-07-20 22:15:43.410 29532-29693/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/20-es2015.js
2020-07-20 22:15:43.417 29532-29691/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/24-es2015.js
2020-07-20 22:15:43.526 29532-29691/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/13-es2015.js
2020-07-20 22:15:43.638 29532-29693/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/assets/png/noimg.png
2020-07-20 22:15:43.684 29532-29689/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/assets/svg/inspection.svg
2020-07-20 22:15:43.687 29532-29691/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/assets/svg/theraphy-run.svg
2020-07-20 22:15:43.711 29532-29689/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/assets/svg/inspection-result.svg
2020-07-20 22:15:43.744 29532-29684/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/svg/menu-sharp.svg
2020-07-20 22:15:43.750 29532-29689/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/svg/close.svg
2020-07-20 22:15:43.753 29532-29693/io.bory.speechmate E/Capacitor: Unable to open asset URL: http://localhost/svg/md-help.svg
2020-07-20 22:15:43.765 29532-29691/io.bory.speechmate E/Capacitor: Unable to open asset URL: http://localhost/svg/md-help.svg
2020-07-20 22:15:43.777 29532-29684/io.bory.speechmate E/Capacitor: Unable to open asset URL: http://localhost/svg/md-help.svg
2020-07-20 22:15:43.792 29532-29684/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/assets/svg/theraphy-result.svg
2020-07-20 22:15:43.810 29532-29684/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/11-es2015.js
2020-07-20 22:15:43.820 29532-29693/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/53-es2015.js
2020-07-20 22:15:43.909 29532-29693/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/assets/font/KoPubDotumMedium_0.ttf
2020-07-20 22:15:43.922 29532-29693/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/assets/font/KoPubDotumBold_0.ttf
2020-07-20 22:15:44.041 29532-29933/io.bory.speechmate V/Capacitor/Plugin: To native (Capacitor plugin): callbackId: 109005450, pluginId: App, methodName: addListener
2020-07-20 22:15:44.042 29532-29933/io.bory.speechmate V/Capacitor: callback: 109005450, pluginId: App, methodName: addListener, methodData: {"eventName":"backButton"}
2020-07-20 22:15:44.047 29532-29684/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/tap-click-252af35a-js-es2015.js
2020-07-20 22:15:44.181 29532-29532/io.bory.speechmate W/Capacitor/Console: File: http://localhost/vendor-es2015.js - Line 70921 - Msg:
It looks like you're using ngModel on the same form field as formControlName.
Support for using the ngModel input property and ngModelChange event with
reactive form directives has been deprecated in Angular v6 and will be removed
in a future version of Angular.
For more information on this, see our API docs here:
https://angular.io/api/forms/FormControlName#use-with-ngmodel
2020-07-20 22:15:44.319 29532-29689/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/favicon.ico 2020-07-20 22:15:44.369 29532-29684/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/favicon.ico 2020-07-20 22:15:44.394 29532-29684/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/favicon.ico 2020-07-20 22:15:44.425 29532-29689/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/favicon.ico 2020-07-20 22:15:44.460 29532-29693/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/status-tap-171795fe-js-es2015.js 2020-07-20 22:15:44.499 29532-29684/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/keyboard-a2b5e51d-js-es2015.js 2020-07-20 22:15:44.544 29532-29689/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/focus-visible-15ada7f7-js-es2015.js 2020-07-20 22:15:44.594 29532-29689/io.bory.speechmate D/Capacitor: Handling local request: http://localhost/29-es2015.js 2020-07-20 22:15:45.529 29532-29532/io.bory.speechmate W/Capacitor/Console: File: http://localhost/vendor-es2015.js - Line 87996 - Msg: Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them. 2020-07-20 22:16:30.513 3649-9413/? D/GameManagerService: identifyGamePackage. io.bory.speechmate 2020-07-20 22:16:30.513 3649-9413/? D/GamePkgDataHelper: getGamePkgData(). io.bory.speechmate 2020-07-20 22:16:30.761 4366-4366/? D/NfcService: Top activity class name = io.bory.speechmate.MainActivity 2020-07-20 22:16:31.648 5094-5935/? I/SAMSUNGPAY: [Hint_cfw] isHomePackageRunning topPkgName = io.bory.speechmate, topClsName = io.bory.speechmate.MainActivity, return false , se : false 2020-07-20 22:16:32.483 3649-9413/? D/GameManagerService: identifyGamePackage. io.bory.speechmate 2020-07-20 22:16:32.483 3649-9413/? D/GamePkgDataHelper: getGamePkgData(). io.bory.speechmate 2020-07-20 22:16:34.025 3649-5419/? D/MARsPolicyManager: onPackageResumedFG pkgName = io.bory.speechmate, userId = 0 2020-07-20 22:16:34.031 7595-7665/? I/TrayUsageStatesWatcher: noteResumeComponent : ComponentInfo{io.bory.speechmate/io.bory.speechmate.MainActivity} 2020-07-20 22:16:34.037 3649-3942/? D/GameManagerService: handleForegroundChange(). pkgName: io.bory.speechmate, clsName: io.bory.speechmate.MainActivity,FgActivityName:io.bory.speechmate/.MainActivity 2020-07-20 22:16:34.049 29532-29532/io.bory.speechmate D/Capacitor: App restarted 2020-07-20 22:16:34.056 29532-29532/io.bory.speechmate D/Capacitor: App started 2020-07-20 22:16:34.059 29532-29532/io.bory.speechmate D/Capacitor/App: Firing change: true 2020-07-20 22:16:34.060 29532-29532/io.bory.speechmate V/Capacitor/App: Notifying listeners for event appStateChange 2020-07-20 22:16:34.060 29532-29532/io.bory.speechmate D/Capacitor/App: No listeners found for event appStateChange 2020-07-20 22:16:34.060 29532-29532/io.bory.speechmate D/Capacitor/App: No listeners found for event appStateChange 2020-07-20 22:16:34.120 29532-29532/io.bory.speechmate D/Capacitor: App resumed 2020-07-20 22:16:34.139 3649-8948/? V/WindowManager: Relayout Window{25253f8 u0 io.bory.speechmate/io.bory.speechmate.MainActivity}: viewVisibility=0 req=1080x1920 WM.LayoutParams{(0,0)(fillxfill) sim=#10 ty=1 fl=#81810100 pfl=0x20000 wanim=0x10302fd vsysui=0x600 needsMenuKey=2 colorMode=0 naviIconColor=0} 2020-07-20 22:16:34.142 3205-3205/? I/SurfaceFlinger: id=1463 createSurf (1080x1920),1 flag=404, io.bory.speechmate/io.bory.speechmate.MainActivity#0 2020-07-20 22:16:34.167 29532-29532/io.bory.speechmate V/Surface: sf_framedrop debug : 0x4f4c, game : false, logging : 0 2020-07-20 22:16:34.170 29532-29532/io.bory.speechmate D/ViewRootImpl@1e8bdad[MainActivity]: Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x7 surface={valid=true 523918852096} changed=true 2020-07-20 22:16:34.197 29532-29831/io.bory.speechmate D/mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface *, egl_color_buffer_format , EGLBoolean) returns 0x3000, [1080x1920]-format:1 2020-07-20 22:16:34.198 29532-29831/io.bory.speechmate D/OpenGLRenderer: eglCreateWindowSurface = 0x7a0da2cdd0 2020-07-20 22:16:34.237 29532-29532/io.bory.speechmate V/Capacitor/Network: Notifying listeners for event networkStatusChange 2020-07-20 22:16:34.237 29532-29532/io.bory.speechmate D/Capacitor/Network: No listeners found for event networkStatusChange 2020-07-20 22:16:34.337 3649-4718/? V/WindowManager: finishDrawingLocked: mDrawState=COMMIT_DRAW_PENDING Window{25253f8 u0 io.bory.speechmate/io.bory.speechmate.MainActivity} in Surface(name=io.bory.speechmate/io.bory.speechmate.MainActivity) 2020-07-20 22:16:34.341 29532-29532/io.bory.speechmate D/ViewRootImpl@1e8bdad[MainActivity]: MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1080, 1920) ci=Rect(0, 72 - 0, 0) vi=Rect(0, 72 - 0, 0) or=1 2020-07-20 22:16:34.353 3649-3680/? I/ActivityManager: Displayed io.bory.speechmate/.MainActivity: +1m2s927ms (total +5m4s79ms) 2020-07-20 22:16:34.394 3205-3205/? D/SurfaceFlinger: Display[0] configurations (* current):
SameSite
attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None
and Secure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
2020-07-20 22:17:17.000 29532-29532/io.bory.speechmate W/Capacitor/Console: File: http://localhost/buy - Line 0 - Msg: A cookie associated with a cross-site resource at http://mobile.inicis.com/ was set without the SameSite
attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None
and Secure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
2020-07-20 22:17:17.233 29532-29532/io.bory.speechmate W/Capacitor/Console: File: http://localhost/buy - Line 0 - Msg: A cookie associated with a cross-site resource at http://ksmobile.inicis.com/ was set without the SameSite
attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None
and Secure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
2020-07-20 22:17:23.515 29532-29532/io.bory.speechmate D/ViewRootImpl@1e8bdad[MainActivity]: ViewPostIme pointer 0
2020-07-20 22:17:23.593 29532-29532/io.bory.speechmate D/ViewRootImpl@1e8bdad[MainActivity]: ViewPostIme pointer 1
2020-07-20 22:17:23.687 29532-29532/io.bory.speechmate D/InputMethodManager: HSIFW - flag : 0 Pid : 29532
2020-07-20 22:17:26.133 29532-29532/io.bory.speechmate D/ViewRootImpl@1e8bdad[MainActivity]: ViewPostIme pointer 0
2020-07-20 22:17:26.210 29532-29532/io.bory.speechmate D/ViewRootImpl@1e8bdad[MainActivity]: ViewPostIme pointer 1
2020-07-20 22:17:26.355 29532-29532/io.bory.speechmate D/InputMethodManager: HSIFW - flag : 0 Pid : 29532
2020-07-20 22:17:28.256 29532-29532/io.bory.speechmate D/ViewRootImpl@1e8bdad[MainActivity]: ViewPostIme pointer 0
2020-07-20 22:17:28.363 29532-29532/io.bory.speechmate D/ViewRootImpl@1e8bdad[MainActivity]: ViewPostIme pointer 1
2020-07-20 22:17:28.449 29532-29532/io.bory.speechmate W/Capacitor/Console: File: https://stdux.inicis.com/mobile/resources/js/jquery/jquery-1.11.0.min.js - Line 4 - Msg: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
2020-07-20 22:17:28.742 29532-29532/io.bory.speechmate D/InputMethodManager: HSIFW - flag : 0 Pid : 29532
2020-07-20 22:17:28.967 29532-29532/io.bory.speechmate W/Capacitor/Console: File: http://localhost/buy - Line 0 - Msg: A cookie associated with a resource at http://vbv.shinhancard.com/ was set with SameSite=None
but without Secure
. A future release of Chrome will only deliver cookies marked SameSite=None
if they are also marked Secure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5633521622188032.
2020-07-20 22:17:29.083 29532-29532/io.bory.speechmate W/Capacitor/Console: File: https://vbv.shinhancard.com/mobile/MBITFX000.jsp;JSESSIONID=tPR6eMU8FxnnnEsh9fdc1bgrjb9q3aY66tJFjFL5qror1zQoVp9UDabrKIRWWyN5.prvbvap3_servlet_vbvssl2 - Line 23 - Msg: The key "target-densitydpi" is not supported.
2020-07-20 22:17:29.188 29532-29557/io.bory.speechmate I/zygote64: Do partial code cache collection, code=249KB, data=169KB
2020-07-20 22:17:29.189 29532-29557/io.bory.speechmate I/zygote64: After code cache collection, code=249KB, data=169KB
2020-07-20 22:17:29.189 29532-29557/io.bory.speechmate I/zygote64: Increasing code cache capacity to 1024KB
2020-07-20 22:17:29.597 29532-29532/io.bory.speechmate W/Capacitor/Console: File: http://localhost/buy - Line 0 - Msg: A cookie associated with a cross-site resource at http://www.shinhancard.com/ was set without the SameSite
attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None
and Secure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
2020-07-20 22:17:29.647 29532-29532/io.bory.speechmate W/Capacitor/Console: File: http://localhost/buy - Line 0 - Msg: A cookie associated with a cross-site resource at http://shinhancard.com/ was set without the SameSite
attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None
and Secure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
2020-07-20 22:17:31.090 29532-29532/io.bory.speechmate D/ViewRootImpl@1e8bdad[MainActivity]: ViewPostIme pointer 0
2020-07-20 22:17:31.185 29532-29532/io.bory.speechmate D/ViewRootImpl@1e8bdad[MainActivity]: ViewPostIme pointer 1
2020-07-20 22:17:31.203 29532-29532/io.bory.speechmate D/InputMethodManager: HSIFW - flag : 0 Pid : 29532
2020-07-20 22:17:31.317 29532-29532/io.bory.speechmate D/InputMethodManager: HSIFW - flag : 0 Pid : 29532
2020-07-20 22:17:31.620 29532-29532/io.bory.speechmate D/Capacitor: App paused
2020-07-20 22:17:31.660 29532-29532/io.bory.speechmate D/ViewRootImpl@822e68c[MainActivity]: dispatchDetachedFromWindow
2020-07-20 22:17:31.660 29532-29532/io.bory.speechmate D/InputEventReceiver: channel '8ef61a io.bory.speechmate/io.bory.speechmate.MainActivity (client)' ~ Disposing input event receiver.
2020-07-20 22:17:31.660 29532-29532/io.bory.speechmate D/InputEventReceiver: channel '8ef61a io.bory.speechmate/io.bory.speechmate.MainActivity (client)' ~NativeInputEventReceiver.
2020-07-20 22:17:31.742 29532-29831/io.bory.speechmate D/OpenGLRenderer: eglDestroySurface = 0x7a0da2cdd0
2020-07-20 22:17:31.764 3649-5419/? V/WindowManager: Relayout Window{25253f8 u0 io.bory.speechmate/io.bory.speechmate.MainActivity}: viewVisibility=8 req=1080x1920 WM.LayoutParams{(0,0)(fillxfill) sim=#10 ty=1 fl=#81810100 pfl=0x20000 wanim=0x10302fd vsysui=0x600 needsMenuKey=2 colorMode=0 naviIconColor=0}
2020-07-20 22:17:31.774 29532-29532/io.bory.speechmate D/ViewRootImpl@1e8bdad[MainActivity]: Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x5 surface={valid=false 0} changed=true
2020-07-20 22:17:31.776 29532-29532/io.bory.speechmate D/ViewRootImpl@1e8bdad[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0
2020-07-20 22:17:31.776 3205-3205/? D/SurfaceFlinger: Display[0] configurations (* current):영업일에 부트페이 홈페이지 우측하단을 통해서 채팅으로 문의를 주세요!
아래 클래스에서 intent 를 파싱하는 custom 함수를 추가했습니다. PG 연동 되는 것 확인했습니다.
package com.getcapacitor;
import android.app.Dialog; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.media.MediaCas; import android.net.Uri; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.view.KeyEvent; import android.webkit.WebResourceRequest; import android.webkit.WebResourceResponse; import android.webkit.WebView; import android.webkit.WebViewClient;
import com.getcapacitor.listener.EventListener;
import java.net.URISyntaxException;
public class BridgeWebViewClient extends WebViewClient { private Bridge bridge;
public BridgeWebViewClient(Bridge bridge) {
this.bridge = bridge;
}
private Dialog dialog; // private ConnectivityManager connManager;
// private AlertDialog networkErrorDialog;
private static final int CLOSE = -3; private static final int ERROR = -2; private static final int CANCEL = -1; private static final int READY = 0; private static final int CONFIRM = 1; private static final int DONE = 2;
// private Locale locale = Locale.getDefault();
private boolean isLoaded = false;
private Handler eventHandler = new Handler(Looper.getMainLooper()) { @Override public void handleMessage(Message msg) { super.handleMessage(msg); String data = msg.obj.toString(); switch (msg.what) { case CLOSE: onCloseHandled(data); break; case ERROR: onErrorHandled(data); break; case CANCEL: onCancelHandled(data); break; case CONFIRM: onConfirmeHandled(data); break; case READY: onReadyHandled(data); case DONE: onDoneHandled(data); break; } } };
private EventListener listener;
private void onCloseHandled(String data) { if (listener != null) listener.onClose(data); if (dialog != null) dialog.dismiss(); }
private void onErrorHandled(String data) { if (listener != null) listener.onError(data); }
private void onCancelHandled(String data) { if (listener != null) listener.onCancel(data); }
private void onConfirmeHandled(String data) { if (listener != null) listener.onConfirm(data); }
private void onReadyHandled(String data) { if (listener != null) listener.onReady(data); }
private void onDoneHandled(String data) { if (listener != null) listener.onDone(data); }
@Override public void onPageFinished(WebView view, String url) { super.onPageFinished(view, url); // if (request == null) return; //// if ("about:blank".equals(url)) { //// loadUrl(BOOTPAY); //// return; //// } /* if (!isLoaded) { isLoaded = true; setDevice(); setAnalyticsData();
// setDevelopMode(); // useOneStoreApi();
// Log.d("bootpay", "onPageFinished");
loadParams(
request(
price(),
easyPayUserToken(),
applicationId(),
name(),
pg(),
// userPhone(), agree(), method(), methods(), items(), params(), accountExpireAt(), orderId(), useOrderId(), userJson(), extraJson() ), error(), cancel(), ready(), confirm(), close(), done() );
}
*/
}
@Override public WebResourceResponse shouldInterceptRequest(WebView view, WebResourceRequest request) { return bridge.getLocalServer().shouldInterceptRequest(request); }
@Override public boolean shouldOverrideUrlLoading(WebView view, WebResourceRequest request) { Uri uri = request.getUrl(); String url = uri.toString(); //Intent intent = new Intent(Intent.ACTION_VIEW, uri) ; Intent intent = parse(url) ;
if (isIntent(url)) {
if (isExistInfo(intent, view.getContext()) || isExistPackage(intent, view.getContext()))
return start(intent, view.getContext());
else
return gotoMarket(intent, view.getContext());
} else if (isMarket(url)) {
if (!(isExistInfo(intent, view.getContext()) || isExistPackage(intent, view.getContext())))
return gotoMarket(intent, view.getContext());
else
return true;
} else if (isSpecialCase(url)) {
if (isExistInfo(intent, view.getContext()) || isExistPackage(intent, view.getContext()))
return start(intent, view.getContext());
else
return gotoMarket(intent, view.getContext());
}
//return url.contains("vguardend");
return bridge.launchIntent(uri);
}
// @Override // public boolean shouldOverrideUrlLoading(WebView view, String url) { // return bridge.launchIntent(Uri.parse(url)); // }
private Boolean isSpecialCase(String url) { return url.matches("^shinhan\S+$") || url.startsWith("kftc-bankpay://") || url.startsWith("v3mobileplusweb://") || url.startsWith("hdcardappcardansimclick://") || url.startsWith("mpocket.online.ansimclick://"); }
private Intent parse(String url) { try { Intent intent = Intent.parseUri(url, Intent.URI_INTENT_SCHEME); if(intent.getPackage() == null) { if (url == null) return intent; if (url.startsWith("shinhan-sr-ansimclick")) intent.setPackage("com.shcard.smartpay"); else if (url.startsWith("kftc-bankpay")) intent.setPackage("com.kftc.bankpay.android"); else if (url.startsWith("ispmobile")) intent.setPackage("kvp.jjy.MispAndroid320"); else if (url.startsWith("hdcardappcardansimclick")) intent.setPackage("com.hyundaicard.appcard"); else if (url.startsWith("kb-acp")) intent.setPackage("com.kbcard.kbkookmincard"); else if (url.startsWith("mpocket.online.ansimclick")) intent.setPackage("kr.co.samsungcard.mpocket"); else if (url.startsWith("lotteappcard")) intent.setPackage("com.lcacApp"); else if (url.startsWith("cloudpay")) intent.setPackage("com.hanaskcard.paycla"); else if (url.startsWith("nhappvardansimclick")) intent.setPackage("nh.smart.nhallonepay"); else if (url.startsWith("citispay")) intent.setPackage("kr.co.citibank.citimobile"); else if (url.startsWith("kakaotalk")) intent.setPackage("com.kakao.talk"); } return intent; } catch (URISyntaxException e) { e.printStackTrace(); return null; } }
private Boolean isIntent(String url) { // return url.matches("^intent:?\w*://\S+$"); return url.startsWith("intent:"); }
private Boolean isMarket(String url) { return url.matches("^market://\S+$"); }
private Boolean isExistInfo(Intent intent, Context context) { try { return intent != null && context.getPackageManager().getPackageInfo(intent.getPackage(), PackageManager.GET_ACTIVITIES) != null; } catch (PackageManager.NameNotFoundException e) { e.printStackTrace(); return false; } }
private Boolean isExistPackage(Intent intent, Context context) { return intent != null && intent.getPackage() != null && context.getPackageManager().getLaunchIntentForPackage(intent.getPackage()) != null; }
private boolean start(Intent intent, Context context) { context.startActivity(intent); return true; }
private boolean gotoMarket(Intent intent, Context context) { final String appPackageName = intent.getPackage(); if(appPackageName == null) { context.startActivity(new Intent(Intent.ACTION_VIEW, intent.getData())); return true; } try { context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=" + appPackageName))); } catch (android.content.ActivityNotFoundException anfe) { context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://play.google.com/store/apps/details?id=" + appPackageName))); } return true; }
// boolean back() { // if (canGoBack()) goBack(); // else if(dialog != null) dialog.dismiss(); // return true; // } //
@Override public boolean shouldOverrideKeyEvent(WebView view, KeyEvent event) { if (event.getKeyCode() == KeyEvent.KEYCODE_BACK) bridge.onBackPressed(); return super.shouldOverrideKeyEvent(view, event); }
@Override public boolean shouldOverrideUrlLoading(WebView view, String url) { Intent intent = parse(url);
// Log.d("bootpay url", url);
if (isIntent(url)) {
if (isExistInfo(intent, view.getContext()) || isExistPackage(intent, view.getContext()))
return start(intent, view.getContext());
else
return gotoMarket(intent, view.getContext());
} else if (isMarket(url)) {
if (!(isExistInfo(intent, view.getContext()) || isExistPackage(intent, view.getContext())))
return gotoMarket(intent, view.getContext());
else
return true;
} else if (isSpecialCase(url)) {
if (isExistInfo(intent, view.getContext()) || isExistPackage(intent, view.getContext()))
return start(intent, view.getContext());
else
return gotoMarket(intent, view.getContext());
}
//return url.contains("vguardend");
Uri uri = Uri.parse(url) ;
return bridge.launchIntent(uri);
}
}
담당자 분이 참고해야할 소스를 잘 알려주셔서 수정해 보니 PG 연동이 잘 됩니다.
ionic capacitor(구 cordova) webView 에 BootPayWebView 에 있는 기능을 추가했습니다.
안녕하세요 Agnular/Ionic 으로 BootPay 연동해서 개발하고 있습니다.
데스크탑 앱에서는 이니시스 PG 에서 신한페이 선택시 아래와 같이 Warning 이 뜨지만 앱 결제는 폰에서 하기 때문게 결제가 잘 됩니다.
그런데 Ionic/capacitor 를 이용해서 Android app 으로 빌드해서 app 으로 실행하면 Android-Stuido 로 디버깅 해보면 아래와 같은 오류 메세지가 뜨면서 신한페이Fan 결제 앱을 띄우지 못하고 엉뚱한 앱을 팝업 시키는 오류가 발생하고 있습니다.
SameSite=None
but withoutSecure
. 이슈와 관련하여 크롬에서 Secure 옵션이 쿠키에 추가되지 않으면 오류가 발생한다고 나오는데요http://vbv.shinhancard.com/ 사이트에서 쿠키 설정이 옛날 방식(
SameSite=None
but withoutSecure
)으로 되어 있어서 그런 것인가요? 어느 부분을 개발하고 있는 클라이언트 app 에서 수정해야 할지 못찾고 있어서 문의 드립니다.Angular/Ionic/Capacitor 기반 Hybrid-App 으로 Android 에서 빌드 했습니다.
[오류 메세지] A cookie associated with a resource at http://vbv.shinhancard.com/ was set with
SameSite=None
but withoutSecure
. A future release of Chrome will only deliver cookies markedSameSite=None
if they are also markedSecure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5633521622188032.