More Google rules

New rules (especially for apps)… is this on anyone’s radar? Not GPGS or Google SSO - this is a new API

more info

From the details page:

Games are currently out of scope from this requirement. Developers should expect dedicated guidance and tailored solutions for complex gaming authentication use cases coming in 2027.

I have concern about the R8 optimization score, which Solar2D currently not use the R8 tool or something for this.

Console shows a 1% optimization score.

Although I have a large and complex game and DEX size is showing 20MB… I imagine a huge amount of that is plugins so the 10MB limit for apps might be tight!

Is it not just a case of having Solar2d Gradle run the optimiser they want people to use? Is something solar2d doing incompatible with the tools?

Code Shrinking with R8

I haven’t tested this yet, so it’s unknown; this is essentially a matter of applying the tool, but compatibility cannot be guaranteed. In addition to the Android Java code portion of the engine potentially being affected, there may also be collateral effects from unsupported third-party SDKs. Of course, it’s also possible that everything will work fine.

You will need to achieve a minimum of 25% optimization, obfuscation and shrinking for any app uploads to Play Console. We understand not every app or game makes heavy use of DEX code, and so this requirement will only be enforced where you have non-negligible DEX sizes.

If I understand correctly, according to the documentation, if the DEX file size is 50 MB or less (for games; 10 MB or less for apps), there are no optimization score requirements.