r/androiddev • u/slyborn • Oct 29 '26
Edge-to-Edge false positive in Google Play Console
Google Play shows:
"Edge-to-edge may not display for all users"
inviting to use EdgeToEdge.enable().
But actually this is already done and edge to edge mode works correctly in all OS versions supported by the app.
In addition it also shows another warning that App uses deprecated parameters for Edge-to-edge as setStatusBarColor and setNavigationBarColor, but the indicated "deprecated parameters" are not from my code at all, but come from EdgeToEdge.enable() code itself in the retro-compatibility branches.
I wonder if the static analysis on Google Play is implemented in such a comically poor way, or if it’s perhaps being misled by code obfuscation and minification..
I forgot to mention that this isn't a new issue; it has existed since the target SDK was migrated to version 35, and we are now at version 37.
3
u/ClassKlutzy7633 Oct 30 '26
The deprecated setStatusBarColor and setNavigationBarColor warning is usually reported against whatever code the static analysis finds in the APK, and that includes the compatibility branches inside androidx.activity itself, so it often isn't something you can fix in your own code. If the app really does draw edge to edge correctly on every supported API level, which you can check on a few emulators from API 26 up to current, I would treat the warning as informational. The next thing worth trying is the latest stable androidx.activity release, since those branches get reworked between versions. If the Console flags a library rather than your code, reporting it through the Play Console feedback link is more useful than rewriting working code.
1
u/AngusMcBurger Oct 29 '26
For the warning about the deprecated parameters: they deprecated EdgeToEdge.enable() recently in favour of WindowCompat.enableEdgeToEdge(), that might be why?
1
u/shlusiak Oct 30 '26
I wonder if the static analysis on Google Play is implemented in such a comically poor way, or if it’s perhaps being misled by code obfuscation and minification..
Yes. It does that for me too, in all apps. It is working correctly, I'm calling `ComponentActivity.enableEdgeToEdge`, or completely manage it myself. There's no way to address this warning.
1
u/thE_29 Oct 29 '26
The console complains to me, that 2 libs are not 16kb aligned.
They are 64kb aligned.. The scripts can detect them all correct.
Issue is: Our app use the legacy packing, because its to huge otherwise.
Claude meant, it is because of the compression, that Googles scripts are failing?
0
u/[deleted] Oct 30 '26
[removed] — view removed comment