Hi Android Developers,
Welcome to the SDK Runtime Recap! In this issue, we're covering a new default z-ordering, customized viewability signals, lifecycle-unaware activity launchers, simplified dependencies in our samples, and the SDK Runtime for Android video series.
🚀 New features and Jetpack releases
Jetpack UI Library (androidx.privacysandbox.ui) - v.1.0.0 - alpha15 release notes
We have changed the default Z-ordering of SandboxedSdkView and SandboxedSdkUi to “below”, placing the remote UI below the app’s window.
Note that if the Z-order of SandboxedSdkView or SandboxedSdkUi is “above”, only the Runtime-Enabled SDK will receive gestures.
Determine which signals are collected by the SessionObserver in each session using the new signalOptions field in the SessionObserverFactory.
The initial set of signals is defined in SandboxedUiAdapterSignalOptions.
If you don't set any signal options, you will only receive a signal when the session is opened and closed.
To receive viewability signals, you will need to specify setOf(SandboxedUiAdapterSignalOptions.GEOMETRY) as the signal options on your SessionObserverFactory.
Jetpack Activity Library (androidx.privacysandbox.ui) - v 1.0.0 - alpha02 release notes
You can now launch SDK-owned activities from activities that aren’t lifecycle-aware by creating the activity launcher from any activity that doesn’t implement LifecycleOwner interface.
Keep in mind that you will have to manually dispose of this activity launcher in the activity used to call it.
The release notes contain all the details of the API changes included.
[Video series] SDK Runtime for Android is out now
Watch Episode 1: Introduction to the SDK Runtime to learn more about why safeguarding user data is something you should care about, how the SDK Runtime helps, and what the benefits are for app and SDK developers.
Full series to be published in goo.gle/AndroidSDKRuntime
[Code sample update] Version Catalog added to the existing sample
Our GitHub sample now uses a Version Catalog as a step towards simplifying dependency management.
Note that you still need to include the explicit versions of the libraries used in gradle.properties
Hi there,
It has come to our attention that some of the links included in our recent newsletter weren’t resolving properly.
Our apologies for the inconvenience!
The corrected links to access these resources are listed below:
[Jetpack releases]
[Code Sample]
[Developer Site]
Thanks for your understanding!
We’re looking forward to your feedback as you explore these updates.