Google Play Data safety is the Android-side trust label. It tells visitors what data the app collects, shares, and how it protects that data before install.
Who has to complete it
Google says all developers with an app published on Google Play must complete the Data safety form, including apps on closed, open, or production testing tracks. Internal testing-only apps are treated differently.
SDKs count
Data collected or shared by third-party libraries and SDKs still needs to be reflected in the declaration. The form is about the app package users receive, not only the code you wrote yourself.
One global form
Google describes the Data safety section as a global representation for the package. If any distributed version collects a data type, treat that as part of the declaration unless Google's stated exceptions apply.
Source notes
This post was checked against Google Play Console Help for the Data safety form and Google Play user-facing Data safety guidance.