/SmartLock-Sample

Small project that shows how to integrate and use Google Smart Lock APIs to save user credentials in your app across devices.

Primary LanguageJavaApache License 2.0Apache-2.0

SmartLock-Sample

Small project that shows how to implement and use Smart Lock APIs to save user credentials in your app across devices. This example shows how to use it just saving your own credentials or combining it with your Google Sign In data.

Screenshots:

Sample using your own credentials

Sample using your own credentials

Sample using Google Sign In

Sample using Google Sign In

Further instructions and references:

To test it, you have to obtain your google services json file following this guide: https://developers.google.com/identity/sign-in/android/start (section "Get configuration file"), creating a project in your Google Developer Console.

Smart Lock documentation:

https://developers.google.com/identity/smartlock-passwords/android/

Google samples:

https://github.com/googlesamples/android-credentials/