{"id":15040721,"url":"https://github.com/android/privacy-sandbox-samples","last_synced_at":"2025-04-12T23:32:51.005Z","repository":{"id":37535910,"uuid":"480989366","full_name":"android/privacy-sandbox-samples","owner":"android","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-27T16:58:53.000Z","size":1042,"stargazers_count":148,"open_issues_count":8,"forks_count":66,"subscribers_count":69,"default_branch":"main","last_synced_at":"2025-04-04T03:04:09.053Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/android.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-12T22:16:49.000Z","updated_at":"2025-03-31T16:34:59.000Z","dependencies_parsed_at":"2023-02-08T13:30:31.543Z","dependency_job_id":"ece2472b-c9b9-4b16-9c17-43230f2c994a","html_url":"https://github.com/android/privacy-sandbox-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fprivacy-sandbox-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fprivacy-sandbox-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fprivacy-sandbox-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fprivacy-sandbox-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/android","download_url":"https://codeload.github.com/android/privacy-sandbox-samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647257,"owners_count":21139081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T20:44:58.239Z","updated_at":"2025-04-12T23:32:50.985Z","avatar_url":"https://github.com/android.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"SDK Runtime and Privacy Preserving APIs Repository\n==================================================\n\nThis repository contains a set of individual Android Studio projects to help you get started writing apps using the SDK Runtime and Privacy Preserving APIs (PPAPIs).\n\nBranches\n-----------\nDue to the dynamic nature of this project, there are three branches provided.\nPlease ensure you are using the correct branch for your needs.\n\n* [main](https://github.com/android/privacy-sandbox-samples) - contains sample\n  applications targeting Beta releases.\n* [dev-preview-main](https://github.com/android/privacy-sandbox-samples/tree/dev-preview-main) - contains\nsample applications targeting Developer Preview releases. This provides early access to new features for early testing.\n* [jetpack-main](https://github.com/android/privacy-sandbox-samples/tree/jetpack-main) - contains\nversions of the sample applications that utilize Jetpack libraries to interface with the Privacy Sandbox.\n\nThe Privacy Sandbox on Android is currently in Alpha and it is not recommended to deploy or use these samples other than to test your own infrastructure.\n\nNote: It is recommended to use [Android Studio\nCanary](https://developer.android.com/studio/preview). As we work to support the\nlatest features for Privacy Sandbox, there may be some issues using Stable\nreleases.\n\nRead below for a description of each sample.\n\n\nSamples\n----------\n\n* **[TopicsKotlin](TopicsKotlin)** (Kotlin) - Demonstrates how to initialize and call the Topics API. \n\n* **[TopicsJava](TopicsJava)** (Java) - Demonstrates how to initialize and call the Topics API. \n\n* **[Fledge](Fledge)** - Contains components for demonstrating FLEDGE APIs.\n  * **[FledgeKotlin](Fledge/FledgeKotlin)** (Kotlin) - Demonstrates how to initialize and call the FLEDGE APIs. \n\n  * **[FledgeJava](Fledge/FledgeJava)** (Java) - Demonstrates how to initialize and call the FLEDGE API. \n\n  * **[FledgeServerSpec](Fledge/FledgeServerSpec)** (OpenApi 3.1) - Sample FLEDGE server specs that can be used generate mock servers for delivering Javascript files to FLEDGE and receiving impression reports.  \n\n* **[PrivacySandboxKotlin](PrivacySandboxKotlin)** (Kotlin) - Demonstrates how to create an SDK that will run in a separate process. This sample contains both an app, and an SDK to show the interaction between them.\n\n* **[PrivacySandboxJava](PrivacySandboxJava)** (Java) - Demonstrates how to create an SDK that will run in a separate process. This sample contains both an app, and an SDK to show the interaction between them.\n\n* **[AttributionReporting](AttributionReporting)** - Contains components for demonstrating Attribution Reporting API.\n   * **[MeasurementAdTechServer](AttributionReporting/MeasurementAdTechServer)** (Kotlin) - Sample AdTech server to facilitate demonstration of Measurement APIs by the measurement sample app.\n\n   * **[MeasurementAdTechServerSpec](AttributionReporting/MeasurementAdTechServerSpec)** (OpenApi 3.1) - Sample AdTech server spec that can be used generate a mock server for interaction with measurement sample app.\n\n   * **[MeasurementSampleApp](AttributionReporting/MeasurementSampleApp)** (Kotlin) - Demonstrates how to initialize and use Attribution Reporting API\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroid%2Fprivacy-sandbox-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandroid%2Fprivacy-sandbox-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroid%2Fprivacy-sandbox-samples/lists"}