Monday, October 23, 2023
HomeMobileAndroid 14 Beta 3 and Platform Stability

Android 14 Beta 3 and Platform Stability



Posted by Dave Burke, VP of Engineering

Android 14 logo

With at this time’s Android 14 Beta 3 launch, we’re persevering with into the following part of the Android improvement cycle. It builds upon our core themes of privateness, safety, efficiency, developer productiveness, and person customization whereas persevering with to enhance the large-screen system expertise on tablets, foldables, and extra.

Beta 3 takes Android 14 to Platform Stability, which signifies that the developer APIs and all app-facing behaviors at the moment are ultimate so that you can overview and combine into your apps. Thanks for your whole continued suggestions in getting us to this milestone.

There’s loads to discover in Android 14 and take a look at in your apps. As we speak with Beta 3, we’re highlighting new accessibility options corresponding to non-linear font scaling, privateness upgrades together with partial pictures/movies entry, new animation assist in gesture navigation, and options that additional align with the OpenJDK 17 LTS launch.

Platform Stability

With Platform Stability in Beta 3, you may confidently develop and launch any obligatory compatibility updates. Please begin your ultimate compatibility testing now and put together to publish any obligatory updates so you may get invaluable suggestions throughout the the rest of the beta releases. It will assist guarantee a easy app expertise forward of the ultimate launch of Android 14 later this yr.

image of timeline illustrates that we are in June and on track with Platform Stability for Android 14

In the event you develop an SDK, library, device, or recreation engine, it is much more necessary to be testing now so you may launch your suitable updates as quickly as doable to stop your downstream app and recreation builders from being blocked with compatibility points. Additionally, whenever you’ve launched a suitable replace, please make certain to let your builders know.

App Compatibility

Every launch of Android accommodates modifications to the platform that enhance privateness, safety, and the general person expertise. These modifications can have an effect on your apps. Testing your app entails putting in your manufacturing app onto a tool operating Android 14 Beta 3; you should use Google Play or different means. Work by means of all of the app’s flows and search for useful or UI points. Assessment the habits modifications to focus your testing. Modifications which will impression your app embody:

Non-linear font scaling.

Grant partial entry to pictures and movies.

Customers can now grant partial entry to their media library when your app requests any of the visible media permissions (READ_MEDIA_IMAGES or READ_MEDIA_VIDEO) launched in Android 13 (API degree 33). When your app strikes to the background, or when the person actively kills your app, the system treats these as one-time-permissions and finally denies them. In case your app is following permissions finest practices, this alteration should not break your app. Android 14 introduces the READ_MEDIA_VISUAL_USER_SELECTED permission to assist apps higher assist the brand new modifications. For a extra seamless person expertise, we suggest that you simply think about using the photograph picker which gives a protected approach for customers to grant your app entry to chose pictures and movies that doesn’t require any permissions.

Knowledge security data is extra seen.

To reinforce person privateness, Android 14 will increase the variety of locations the place the system reveals the data you have got declared within the Play Console Type. For some permissions, the system runtime permission dialog now features a clickable part that highlights your app’s knowledge sharing practices. This part of the system dialog consists of data, corresponding to why your app could resolve to share knowledge with third events, and hyperlinks customers to the place they’ll management your app’s knowledge entry. We encourage you to overview your app’s location knowledge sharing insurance policies and take a second to make any relevant updates to your app’s Google Play Knowledge security part.

Please overview the habits modifications part to see all the modifications which will impression the compatibility of your app or recreation. In the event you discover any points with libraries and SDKs in your app, attempt updating to the most recent library or SDK model, reaching out to the developer for assist if obligatory.

When you’ve printed the suitable model of your present app, you can begin the course of to replace your app’s targetSdkVersion. Assessment the habits modifications for apps concentrating on Android 14 and think about using the compatibility framework that will help you detect points shortly. Listed here are among the modifications to check for (these apply solely to apps with targetSdkVersion set to API 34 or greater):

Foreground service varieties are required.

OpenJDK 17 updates.

Just a few of the modifications Android 14 makes to refresh core libraries to align with options within the newest OpenJDK LTS releases can have an effect on app compatibility, together with modifications to common expressions, UUID dealing with, and points involving ProGuard and the addition of java.lang.ClassValue.

Safety modifications.

Get began with Android 14

As we speak’s Beta 3 launch has every thing you should attempt the Android 14 options, take a look at your apps, and provides us suggestions. For testing your app with tablets and foldables, you may take a look at with units from our companions, however the best option to get began is utilizing the 64-bit Android Emulator system pictures for the Pixel Pill or Pixel Fold configurations discovered within the newest preview of the Android Studio SDK Supervisor. You too can enroll any supported Pixel system right here, together with the brand new Pixel 7a, to get this and future Android 14 Beta and have drop Beta updates over-the-air.

For the very best improvement expertise with Android 14, we suggest that you simply use the most recent launch of Android Studio Hedgehog. When you’re arrange, listed here are among the issues it’s best to do:

  • Strive the brand new options and APIs. Report points in our tracker on the suggestions web page.
  • Check your present app for compatibility – be taught whether or not your app is affected by default habits modifications in Android 14. Set up your app onto a tool or emulator operating Android 14 and extensively take a look at it.
  • Check your app with opt-in modifications – Android 14 has opt-in habits modifications that solely have an effect on your app when it’s concentrating on the brand new platform. It’s necessary to grasp and assess these modifications early. To make it simpler to check, you may toggle the modifications on and off individually.

We’ll replace the beta system pictures usually all through the Android 14 launch cycle.

If you’re already enrolled within the Android 14 Beta program and your system is supported, Beta 3 will likely be made obtainable to you as an Over The Air replace with out taking any further motion.

For full data on tips on how to get the Beta, go to the Android 14 developer website.

Java and OpenJDK are logos or registered logos of Oracle and/or its associates.





Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments