Hi Android Developers,
Welcome back to the SDK Runtime Recap!
After a brief pause in April, we're excited to share the latest highlights from May, including new ways to detect obstructions in remote UI, version compatibility updates, and new learning resources (with a dedicated code sample repository!)
UI Library (androidx.privacysandbox.ui) - v.1.0.0 - alpha16 release notes
You can now measure UI obstructions on SandboxedSdkView. These are reported via SessionObserver.onUiContainerChanged() when you include SandboxedUiAdapterSignalOptions.OBSTRUCTIONS in your signalOptions.
For Compose users, SandboxedSdkUi has been moved from ui-client to a new ui-client-compose library. Remember to update your dependencies to continue using this Composable.
A bug fix now ensures SandboxedSdkView.setAlpha() correctly updates the content view's alpha.
Backward compatibility (androidx.privacysandbox.sdkruntime) - v.1.0.0 - alpha17 release notes
SandboxedSdkProviderCompat.getView()will no longer be supported from the next release onwards. Please consider using the UI library as an alternative.
Make sure to upgrade any dependencies to these backcompat libraries to alpha14 or higher, as alpha13 is no longer supported.
[Code samples] New dedicated repository
We've launched a new standalone GitHub repository for SDK Runtime code samples: privacysandbox/sdk-runtime-samples.
The repository includes an updated README to help you get started with building and consuming privacy-preserving SDKs. Stay tuned, we'll be adding more granular samples soon!
[Learning pathway] Test your SDK Runtime knowledge
Explore the fundamentals of the SDK Runtime with our new learning pathway.
Test your understanding with the accompanying quiz!
[Event] SDK Runtime at I/O 2025
The SDK Runtime was featured in the "What's new in Android" session at I/O 2025, highlighting its ongoing importance in the Android ecosystem.
Explore these updates and share your feedback. Find more resources and connect with the SDK Runtime team on our developer site: goo.gle/sdk-runtime