비밀번호용 스마트 잠금을 앱에 통합하기 전에 Android 스튜디오 프로젝트에서 Play 서비스 SDK를 사용 설정하세요. 다음 단계에서는 비밀번호용 스마트 잠금을 앱에 통합하는 방법을 설명합니다.
기본 요건
Android의 비밀번호 대용 Smart Lock에는 다음이 필요합니다.
Android 6.0 이상을 실행하고 Google Play 스토어가 포함된 호환되는 Android 기기 또는 Android 4.2.2 이상을 기반으로 Google API 플랫폼을 실행하고 Google Play 서비스 버전 15.0.0 이상이 있는 AVD가 포함된 에뮬레이터
SDK 도구 구성요소를 포함한 Android SDK의 최신 버전
SDK는 Android 스튜디오의 Android SDK Manager에서 이용할 수 있습니다.
Android 6.0(Marshmallow) 이상을 기준으로 컴파일되도록 구성된 프로젝트
이 가이드는 Android 스튜디오 사용자를 위해 작성되었으며 권장되는 개발 환경입니다.
Android 스튜디오 프로젝트 구성
Android 앱에 비밀번호용 스마트 잠금을 통합하려면 Android 스튜디오 프로젝트에서 Google Play 서비스 라이브러리를 가져와 참조해야 합니다. 애플리케이션 모듈의 build.gradle 파일 dependencies 섹션에 다음 줄을 추가합니다.
[null,null,["최종 업데이트: 2024-12-21(UTC)"],[[["Smart Lock for Passwords is deprecated and developers should migrate to Credential Manager for enhanced security and user experience."],["Credential Manager supports passkeys, passwords, and federated identity authentication, offering a more robust and unified approach to user credentials."],["Integrating Smart Lock for Passwords previously required specific Android device and SDK prerequisites, including compatibility with Android 6.0 or newer and Google Play services."],["Developers needed to configure their Android Studio project by adding the Google Play services library dependency to their build.gradle file before using Smart Lock for Passwords."],["Retrieving and utilizing user credentials for sign-in within the app was the next step after project configuration for Smart Lock for Passwords integration."]]],[]]