Posted by Fred Chung, Android Developer Connection
Today, we’re releasing Privacy Sandbox in Android Developer Preview 5.
We appreciate most of you trying out the developer preview and reporting issues and sharing your feedback. This feedback has helped us improve the privacy sandbox design. For example, we’ve updated the SDK runtime design to allow the use of the Reflection API, and we’ve published additional design proposals on FLEDGE services, mediation, and application-to-web scaling.
Let’s take a look at the details in this release.
What’s in Developer Preview 5?
Developer Preview 5 includes additional functionality, data validation improvements, and API signature changes to privacy protection APIs and the SDK runtime. See the release notes for details.
Proprietary reporting API
FLEDGE on the Android API
- You can set a daily fetch URL to update custom audience AdData details and other metadata to provide up-to-date information for bids.
- This release includes various API signature changes and additional parameter validation to ensure robustness. See the release notes for details. Be sure to update the sample code and test projects using previous Developer Preview releases.
SDK runtime
- Applications get more control over SDK lifecycle events that are activated at runtime when the SDK is terminated unexpectedly by the platform. Implementing the SdkSandbox LifecycleCallback allows the application to take the appropriate action to recover.
- After successfully installing the SDK, applications now have access to the IBinder interface to facilitate two-way communication with the SDK enabled at runtime.
Topics API
- An updated taxonomy for mobile apps classification.
AdServices Licenses
- App developers must now declare AdServices permissions to access privacy protection APIs. know more.
We will continue to use developer previews to create and implement new features in the coming months. We’ll be publishing more details about the beta and these future releases in the coming months.
Start with Developer Preview 5
With today’s developer preview release, we hope to continue working with the industry and developers to prepare for the privacy sandbox on Android. The release provides the resources you need to start testing features early and share feedback. To start developing, see the instructions for setting up the SDK and system images on an emulator or supported Pixel devices.
For more information on the privacy sandbox in Android Developer Preview, visit the developer site and subscribe to our newsletter for regular updates.