privacysandbox 활동
최근 업데이트 | 안정화 버전 | 출시 후보 버전 | 베타 버전 | 알파 버전 |
---|---|---|---|---|
2025년 3월 26일 | - | - | - | 1.0.0-alpha02 |
종속 항목 선언
privacysandbox-activity의 종속 항목을 추가하려면 프로젝트에 Google Maven 저장소를 추가해야 합니다. 자세한 내용은 Google Maven 저장소를 읽어보세요.
다음과 같이 앱 또는 모듈의 build.gradle
파일에 필요한 아티팩트의 종속 항목을 추가합니다.
Groovy
dependencies { // Use to implement privacysandbox activitys // TODO: Confirm these dependencies implementation "androidx.privacysandbox.activity:activity:1.0.0-alpha02" // Use to implement privacysandbox activity complications // TODO: Confirm these dependencies implementation "androidx.privacysandbox.activity:activity-complications-data-source:1.0.0-alpha02" // (Kotlin-specific extensions) // TODO: Confirm these dependencies implementation "androidx.privacysandbox.activity:activity-complications-data-source-ktx:1.0.0-alpha02" // Use to implement a activity style and complication editor // TODO: Confirm these dependencies implementation "androidx.privacysandbox.activity:activity-editor:1.0.0-alpha02" // Can use to render complications. // TODO: Confirm these dependencies // This library is optional and activitys may have custom implementation for rendering // complications. // TODO: Confirm these dependencies implementation "androidx.privacysandbox.activity:activity-complications-rendering:1.0.0-alpha02" }
Kotlin
dependencies { // Use to implement privacysandbox activitys // TODO: Confirm these dependencies implementation("androidx.privacysandbox.activity:activity:1.0.0-alpha02") // Use to implement privacysandbox activity complications // TODO: Confirm these dependencies implementation "androidx.privacysandbox.activity:activity-complications-data-source:1.0.0-alpha02" // (Kotlin-specific extensions) // TODO: Confirm these dependencies implementation "androidx.privacysandbox.activity:activity-complications-data-source-ktx:1.0.0-alpha02" // Use to implement a activity style and complication editor // TODO: Confirm these dependencies implementation("androidx.privacysandbox.activity:activity-editor:1.0.0-alpha02") // Can use to render complications. // TODO: Confirm these dependencies // This library is optional and activitys may have custom implementation for rendering // complications. // TODO: Confirm these dependencies implementation "androidx.privacysandbox.activity:activity-complications-rendering:1.0.0-alpha02" }
종속 항목에 관한 자세한 내용은 빌드 종속 항목 추가를 참고하세요.
의견
제출하신 의견은 Jetpack을 개선하는 데 도움이 됩니다. 새로운 문제를 발견하거나 라이브러리 개선을 위한 아이디어가 있다면 Google에 알려 주세요. 새 문제를 제출하기 전에 이 라이브러리의 기존 문제를 살펴보시기 바랍니다. 별표 버튼을 클릭하여 기존 문제에 투표할 수 있습니다.
자세한 내용은 Issue Tracker 문서를 참고하세요.
버전 1.0
버전 1.0.0-alpha02
2025년 3월 26일
androidx.privacysandbox.activity:activity-client:1.0.0-alpha02
, androidx.privacysandbox.activity:activity-core:1.0.0-alpha02
및 androidx.privacysandbox.activity:activity-provider:1.0.0-alpha02
이 출시되었습니다. 버전 1.0.0-alpha02에는 이 커밋이 포함되어 있습니다.
새로운 기능
- 이제 수명 주기를 인식하지 않는 활동(
LifecycleOwner
인터페이스를 구현하지 않는 활동)에 SDK 활동 런처를 만들 수 있습니다. 이러한 런처는 호출자가 수동으로 삭제해야 합니다.
API 변경사항
- 수명 주기를 인식하지 않는 활동의 런처 클래스인
LocalUnmanagedSdkActivityLauncher
및createUnmanagedSdkActivityLauncher
와 이러한 런처를 만드는 메서드를 추가했습니다. - 수명 주기를 인식하지 못하는 유형의 런처와의 차이를 강조하기 위해
LocalSdkActivityLauncher
의 이름을LocalManagedSdkActivityLauncher
로 변경했습니다.
버전 1.0.0-alpha01
2023년 11월 15일
androidx.privacysandbox.activity:activity-client:1.0.0-alpha01
, androidx.privacysandbox.activity:activity-core:1.0.0-alpha01
및 androidx.privacysandbox.activity:activity-provider:1.0.0-alpha01
이 출시되었습니다. 버전 1.0.0-alpha01에 포함된 커밋을 확인하세요.
새로운 기능
- 전용 개인 정보 보호 샌드박스 활동 라이브러리를 도입합니다.
- SDK 런타임에서 활동을 실행하기 위한 인터페이스가 포함되어 있습니다. 이 인터페이스는 이전에 개인 정보 보호 샌드박스 UI 라이브러리에서 정의되었습니다.