Just a week ago, Google finally released the latest Android version – Android 8.0 Oreo, as widely suspected. As the announcement of Android Oreo coincided with the solar eclipse in the US, Google launched a teaser campaign and stated that it brings some super (sweet) new powers. Today, we are happy to bring you the great news that Android 8.0 (Oreo) is officially available for automated testing at Bitbar Device Cloud, empowering you to enlarge your Android device coverage for optimizing Android app quality and user experience on the latest Android operating system.
Instant Access to Nexus 5X 8.0 and more at Bitbar Device Cloud
Android Oreo introduces some great APIs and new features like Picture-in-Picture (PiP), smarter notifications and emoji set. It also comes with significant changes that can affect Android app behavior even if you don’t do any changes to your app. To help you ensure app quality on Android Oreo at earliest, we have released a few Nexus 5X devices with Android 8.0 for compatibility testing. Not yet Bitbar Device Cloud user? sign up now to verify your mobile app quality.
The latest update of Android OS distribution shows that the share of Android 7.0 (Nougat) has increased 2% to 13.5% of total Android devices. Though it’s still a small number, it actually implies that more Android users are gradually moving to a newer Android version. More importantly, this fact calls an action to every Android developer to hone the app quality on Android 7 devices, including Google Pixels, Samsung Galaxy S8 & S8+, and etc.
If you have verified your Android tests on the previous Android O Developer Preview versions, then you can move your tests to our cloud immediately by subscribing to one of our plans.
What to Test with Android Oreo
With the arrival of Android 8.0, as aforementioned, major changes have been introduced to the Android platform that might affect your application’s behavior or break the compatibility you’ve optimized, even if you do not change your
targetSdkVersion. For this reason, it is critical to review the key changes below and test any fixes that you implement to accommodate the changes.
1) Less frequent background location updates: If your app receives location updates from a background service, it receives less frequent updates on Android Oreo compared to older versions of Android. Specifically, a background service cannot receive location updates more than a few times per hour. However, while your app is in the foreground, the rate of location updates is unchanged. Reference: https://developer.android.com/preview/features/background-location-limits.html
net.hostname no longer supported: Querying the
net.hostname system property produces a null result.
3) New exception from
send(DatagramPacket) method throws a
SocketException if the previously executed
connect(InetAddress, int) method failed. Reference: https://developer.android.com/preview/behavior-changes.html#networking-all
AbstractCollection.retainAll(null) now always throw a
NullPointerException, while previously the
NullPointerException was not thrown when the collection was empty. This change makes the behavior consistent with the documentation.
Currency.getDisplayName(null) throws a
One Last Great News
By saying ready for testing on Android 8.0, we don’t just mean we have the device available, but we have also verified the compatibility with Android Instrumentation tests (Espresso and UI Automator) as well as Appium test framework. If you are currently using a different framework for Android app testing, make sure you can still test the compatibility of Android Oreo so that you don’t leave your Android Oreo users hanging with no revenue left on the table.
You can now add Android Oreo devices to your testing matrix. We will be adding other models supporting Android 8.0 to the Bitbar Device Cloud soon. Sign up now if you haven’t tried out automated testing at Bitbar Testing.
Happy Testing at Bitbar Device Cloud!
Get to know the essential aspects in terms of choosing cloud-based or in-house testing solution for your needs.Download