I'm trying to share credential between my application and my website.
I followed this, to ask the user to save his login / password
val createPasswordRequest = CreatePasswordRequest(
id = currentUser.email,
password = currentUser.password,
)
try {
val result = credentialManager.createCredential(
context ?: return@launch,
createPasswordRequest
)
hintManager.saveGooglePasswordSavedInCloud()
} catch (e: CreateCredentialException) {
e.printStackTrace()
}
And did the configuration, for the web
Everything is done, even uploaded a version test on the store. The Play Console say that credential sharing is turned on. App Links Assistant on Android Studio say everything is fine. But when I save login / password with the CredentialManager
on my app, and then go on the website. It say that no credential are linked.