Android 11 will add a new App Compatibility feature to ease testing

Google plans to make testing your apps for compatibility issues much simpler in the next Android release.

The company's annual I/O developer event is an exciting time for techies. Shiny new toys are debuted at I/O for both developers and consumers, but they can also present compatibility problems which can ruin the experience users have with your apps.

Starting with Android 11, Google plans to add an App Compatibility feature which can be found in the developer settings.

The new setting allows developers to simulate platform behaviour changes on a per-app basis without having to send ADB shell commands.

When Google plans to make a major change to how Android works, the company often phases it in across releases. This ensures developers have time to update their apps to either support new features or prevent deprecated APIs from breaking their apps.

XDA-Developers gives the example of Google's decision to limit implicit broadcasts starting in Android 7 Nougat as part of a bid to improve battery life. As of the following version, Android 8 Oreo, Google completely restricted apps from registering implicit broadcast receivers.

In order to test for compatibility problems in the past, developers had to go through the process of using a ADB shell command to simulate the unavailability of implicit broadcasts using: "adb shell cmd appops set RUN_IN_BACKGROUND"

The introduction of a UI in Android itself to simulate such changes is not a necessity but an improvement nonetheless to make developers' lives just a bit easier.

Interested in hearing industry leaders discuss subjects like this and sharing their use-cases? Attend the co-located 5G ExpoIoT Tech Expo, Blockchain Expo, AI & Big Data Expo, and Cyber Security & Cloud Expo World Series with upcoming events in Silicon Valley, London, and Amsterdam.

Rojenx is a leading concept artist who work appears in games and publications

Check out his personal gallery here

This site uses Akismet to reduce spam. Learn how your comment data is processed.