앱 라이선스
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Google Play가 제공하는 라이선스 서비스로 Google Play에 게시하는 애플리케이션에 라이선스 정책을 시행할 수 있습니다. Google Play 라이선스를 사용하면 애플리케이션에서 런타임에 Google Play에 쿼리하여 현재 사용자의 라이선스 상태를 가져온 다음 적절히 추가 사용을 허용하거나 허용하지 않을 수 있습니다.
이 서비스를 사용하면 애플리케이션별로 유연한 라이선스 정책을 적용할 수 있어서 각 애플리케이션이 가장 적합한 방식으로 라이선스를 시행할 수 있습니다. 필요한 경우, 애플리케이션은 Google Play에서 가져온 라이선스 상태에 기반하여 맞춤 제약 조건을 적용할 수 있습니다.
예를 들어 애플리케이션은 라이선스 상태를 확인한 다음 특정 유효 기간 동안 라이선스를 부여받지 않고 사용자가 실행하는 것을 허용하는 맞춤 제약 조건을 적용할 수 있습니다. 애플리케이션은 다른 제약 조건에 더해 애플리케이션의 사용을 특정 기기로 제한할 수도 있습니다.
라이선스 서비스는 애플리케이션 액세스를 제어하는 안전한 수단입니다. 애플리케이션에서 라이선스 상태를 확인하면 Google Play 서버는 애플리케이션과 고유하게 연결된 키 쌍을 사용하여 라이선스 상태 응답에 서명합니다. 애플리케이션이 공개 키를 컴파일된 .apk
파일에 저장하는 것이 가능하더라도 신뢰할 수 있는 서버에서 라이선스 상태 응답을 확인하는 것이 훨씬 더 안전합니다.
Google Play를 통해 게시하는 모든 애플리케이션은 Google Play 라이선스 서비스를 사용할 수 있습니다. 특별 계정이나 등록은 필요하지 않습니다. 또한 서비스가 전용 프레임워크 API를 사용하지 않으므로 최소 API 수준 3 이상을 사용하는 모든 애플리케이션에 라이선스를 추가할 수 있습니다.
참고: Google Play 라이선스 서비스는 기본적으로 현재 사용자가 실제로 Google Play에서 애플리케이션을 결제했는지 확인하려는 유료 애플리케이션을 대상으로 합니다. 하지만 무료 앱을 포함한 모든 애플리케이션에서 라이선스 서비스를 사용하여 APK 확장 파일을 다운로드할 수 있습니다. 이 경우 앱에서 라이선스 서비스로 전송하는 요청은 사용자가 앱을 결제했는지 확인하는 것이 아니라 확장 파일의 URL을 요청하는 것입니다. 애플리케이션의 확장 파일 다운로드에 관한 자세한 내용은 APK 확장 파일 가이드를 참조하세요.
Google Play의 애플리케이션 라이선스 서비스에 관해 자세히 알아보고 애플리케이션에 통합하려면 다음 문서를 읽어보세요.
- 라이선스
개요
- 서비스가 어떻게 작동하는지, 일반적인 라이선스 구현은 어떤 모습인지 설명합니다.
- 라이선스
설정
- 앱에 라이선스를 추가하기 위해 Google Play 계정, 개발 환경 및 테스트 환경을 설정하는 방법을 설명합니다.
- 앱에 서버 측 라이선스
확인 추가
- 애플리케이션에 서버 측 라이선스 확인을 추가하는 단계별 안내를 제공합니다.
- 라이선스
참조
- 라이선스 라이브러리의 클래스 및 서비스 응답 코드에 관한 세부정보를 제공합니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[null,null,["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# App Licensing\n\nGoogle Play offers a licensing service that lets you enforce licensing policies for\napplications that you publish on Google Play. With Google Play Licensing, your application can\nquery Google Play at run time to obtain the licensing status for the current user, then allow or\ndisallow further use as appropriate.\n\nUsing the service, you can apply a flexible licensing policy on an application-by-application\nbasis---each application can enforce licensing in the way most appropriate for it. If necessary,\nan application can apply custom constraints based on the licensing status obtained from Google Play.\nFor example, an application can check the licensing status and then apply custom constraints\nthat allow the user to run it unlicensed for a specific validity period. An application can also\nrestrict use of the application to a specific device, in addition to any other constraints.\n\nThe licensing service is a secure means of controlling access to your applications. When an\napplication checks the licensing status, the Google Play server signs the licensing status\nresponse using a key pair that is uniquely associated with the application. Although it's possible\nfor your application to store the public key in its compiled `.apk` file, it's much\nsafer to verify the licensing status response on a server that you trust.\n\nAny application that you publish through Google Play can use the Google Play Licensing\nservice. No special account or registration is needed. Additionally, because the service uses no\ndedicated framework APIs, you can add licensing to any application that uses a minimum API level of\n3 or higher.\n\n**Note:** The Google Play Licensing service is primarily intended\nfor paid applications that wish to verify that the current user did in fact pay for the application\non Google Play. However, any application (including free apps) may use the licensing service\nto initiate the download of an APK expansion file. In which case, the request that your application\nsends to the licensing service is not to check whether the user paid for the app, but to request the\nURL of the expansion files. For information about downloading expansion files for your application,\nread the guide to [APK Expansion Files](/google/play/expansion-files).\n\nTo learn more about Google Play's application licensing service and start integrating it into\nyour applications, read the following documents:\n\n**[Licensing\nOverview](/google/play/licensing/overview)**\n: Describes how the service works and what a typical licensing implementation looks\n like.\n\n**[Setting Up for\nLicensing](/google/play/licensing/setting-up)**\n: Explains how to set up your Google Play account, development environment, and\n testing environment in order to add licensing to your app.\n\n**[Adding\nServer-Side License Verification to Your App](/google/play/licensing/server-side-verification)**\n: Provides a step-by-step guide to add server-side licensing verification to your application.\n\n**[Licensing\nReference](/google/play/licensing/licensing-reference)**\n: Provides detailed information about the licensing library's classes and the service response\n codes."]]