Upgrade to Pro — share decks privately, control downloads, hide ads and more …

privacysandbox

ymsk11
June 09, 2023
700

 privacysandbox

社内LT会の資料です

ymsk11

June 09, 2023
Tweet

Transcript

  1. 10 things to know about the Privacy Sandbox on Android

    https://io.google/2023/program/fc59358a-e959-42e8-8043-93775cfd7191
  2. この動画で話されていたこと Recap What's New! How to get Involved! Status update

    Beta and Jetpack As an ad tech Partner Feedback SDK Extensions As an app developer SDK Runtime SDK Shim Library APP <> Web Measurement Measurement Simulation Libary Topics Classifier Colab
  3. Beta and Jetpack Developer Preview と同時に、Privacy Sandbox Beta が リリース

    Jetpack ライブラリを利用して、Privacy Sandbox を利 用することができる
  4. PrivacySandboxKotlin https://github.com/android/privacy-sandbox-samples jetpack-main branch 試した環境 Android Studio Hedgehog | 2023.1.1

    Canary 4 https://github.com/android/privacy-sandbox- samples/issues/43 Android 14 Beta / Emulator TiramisuPrivacySandbox
  5. Load SDK mSdkSandboxManager.loadSdk( SDK_NAME, Bundle(), { obj: Runnable -> obj.run()

    }, callback ) Request WebView mSdkSandboxManager.requestSurfacePackage( SDK_NAME, params, { obj: Runnable -> obj.run() }, RequestSurfacePackageCallbackImpl() ) https://github.com/android/privacy-sandbox- samples/blob/a138f15fdaabe914d16c955a610fd798436e8d a3/PrivacySandboxKotlin/client- app/src/main/java/com/example/client/MainActivity.kt
  6. Privacy Sandbox に SDK Extensions 経由でアクセスす る build.gradle android {

    compileSdk = 33 compileSdkExtension = 5 } 端末の SDK Extensions のバージョンをチェック SdkExtensions.getExtensionVersion(SdkExtensions.AD_SERVICES) >= 3