From e733334f305c6c8f53e6a00b2e4c598333c3a523 Mon Sep 17 00:00:00 2001 From: Kateryna Semenova Date: Tue, 31 Oct 2023 12:37:10 -0700 Subject: [PATCH] Update PasskeyWebListener.kt --- CredentialManagerWebView/PasskeyWebListener.kt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CredentialManagerWebView/PasskeyWebListener.kt b/CredentialManagerWebView/PasskeyWebListener.kt index 8f14081..7c01232 100644 --- a/CredentialManagerWebView/PasskeyWebListener.kt +++ b/CredentialManagerWebView/PasskeyWebListener.kt @@ -23,9 +23,8 @@ This web listener looks for the 'postMessage()' call on the javascript web code, receives it, it will handle it in the manner dictated in this local codebase. This allows for javascript on the web to interact with the local setup on device that contains more complex logic. -The embedded javascript can be found in src ('credmanweb') / javascript / encode.js. -The setup for this script was made easier hanks to prior similar logic from agl@google.com. It can -be modified depending on the use case. If you wish to minify, please use the following command +The embedded javascript can be found in CredentialManagerWebView/javascript/encode.js. +It can be modified depending on the use case. If you wish to minify, please use the following command to call the toptal minifier API. ``` cat encode.js | grep -v '^let __webauthn_interface__;$' | \ @@ -237,4 +236,4 @@ class PasskeyWebListener( const val TAG = "PasskeyWebListener" } -} \ No newline at end of file +}