Google has launched a new quality section on its Android developer site and up to date the Core App Quality checklist. These strikes proceed Google’s push for higher app high quality, reminiscent of improved privateness and battery life. It additionally reacts to gadget traits, like elevated gesture navigation. Google guarantees quarterly revisions of this guidelines, updates to its different checklists, and extra instruments and greatest practices.
The Core App High quality guidelines contains 5 core high quality standards. Listed here are the updates for Q1/2021, dated February 10, 2021. Because the Internet Archive reveals, the positioning Core App High quality guidelines acquired its main replace on February 12, 2021, with the earlier content material final up to date on February 4, 2021.
For the Visible Expertise, Google means that apps use Material Design Components to get a contemporary look and to assist the dark theme extra simply. Gestures are actually additionally a really useful a part of again navigation. Notification suggestions now embody the channels, priority, groups, timeouts, and recommendation on messaging/social apps.
The brand new Media space of the Functionality part states that movies ought to use HEVC video compression and present picture-in-picture throughout playback. Apps ought to share content material with the Android Sharesheet as a result of they’ve restricted visibility to different put in apps by default in Android 11. And to save lots of battery life, Google discourages working background companies and instead recommends Kotlin coroutines, the WorkManager, and the AlarmManager in Android.
The subsequent criterion is Performance and Stability. Google recommends Android vitals for app metrics logging to builders and reminds them that they will repair Software Not Responding (ANR) errors. A brand new rule makes it clear that apps shouldn’t use non-public Android APIs – those that aren’t within the Android framework package deal index.
To enhance Privateness and Safety, apps ought to ask for as few permissions as potential, present net content material securely, and never observe customers with hardware IDs, such because the IMEI. The brand new Identification space recommends autofill for credentials and different delicate information, OneTap for sign-in, and biometric authentication to guard delicate data.
With the final criterion Google Play, Google merely reiterates present insurance policies and hyperlinks to pointers, reminiscent of content policy and content material score.
The Core App High quality guidelines now recommends utilizing gadget take a look at labs, just like the Firebase Test Lab, for testing on a greater diversity of gadgets. Google additionally emphasizes the significance of at all times testing towards the newest Android model (presently at model 11).
Google plans to replace the opposite app high quality checklists, too: for Tablet, Wear, TV, car, and Build for billions. However it didn’t say when this may occur and if that will comply with a daily schedule, too. The announcement contained no particulars on the “further instruments and greatest practices” or after they would arrive.