Giter Site home page Giter Site logo

tdcolvin / examplecredentialsignin Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 101 KB

Example use of the Jetpack Credential Manager library. Save user credentials and retrieve saved credentials. This is a companion repo to the blog here: https://medium.com/proandroiddev/using-jetpack-credential-manager-to-save-and-retrieve-passwords-in-app-c8d2793f5c5c

Home Page: https://medium.com/proandroiddev/using-jetpack-credential-manager-to-save-and-retrieve-passwords-in-app-c8d2793f5c5c

Kotlin 100.00%

examplecredentialsignin's People

Contributors

tdcolvin avatar

Stargazers

Rino Russo avatar Pavel Měsíček avatar Zeeshan rasool avatar Constantine Chernenko avatar  avatar woshizilong avatar

Watchers

 avatar

Forkers

woshizilong

examplecredentialsignin's Issues

Skipping password saving since the user is likely prompted with Android Autofill.

          I try your example it work.  I write but not use compose. but still fail in step save credential.

Have any settings with project.?
Credential save error: During save password, found password failure response from one tap 16: Skipping password saving since the user is likely prompted with Android Autofill.-- android.credentials.CreateCredentialException.TYPE_UNKNOWN androidx.credentials.exceptions.CreateCredentialUnknownException: During save password, found password failure response from one tap 16: Skipping password saving since the user is likely prompted with Android Autofill. at androidx.credentials.playservices.controllers.CredentialProviderBaseController$Companion.createCredentialExceptionTypeToException$credentials_play_services_auth_release(CredentialProviderBaseController.kt:108) at androidx.credentials.playservices.controllers.CreatePassword.CredentialProviderCreatePasswordController$resultReceiver$1$onReceiveResult$1.invoke(CredentialProviderCreatePasswordController.kt:82) at androidx.credentials.playservices.controllers.CreatePassword.CredentialProviderCreatePasswordController$resultReceiver$1$onReceiveResult$1.invoke(CredentialProviderCreatePasswordController.kt:82) at androidx.credentials.playservices.controllers.CredentialProviderController.maybeReportErrorFromResultReceiver(CredentialProviderController.kt:157) at androidx.credentials.playservices.controllers.CreatePassword.CredentialProviderCreatePasswordController.access$maybeReportErrorFromResultReceiver(CredentialProviderCreatePasswordController.kt:46) at androidx.credentials.playservices.controllers.CreatePassword.CredentialProviderCreatePasswordController$resultReceiver$1.onReceiveResult(CredentialProviderCreatePasswordController.kt:81) at android.os.ResultReceiver$MyRunnable.run(ResultReceiver.java:50) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7898) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

Originally posted by @tranvantung95 in #1 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.