11 C
New York
Saturday, March 2, 2024

Android 14 Beta 3 and Platform Balance

[ad_1]


Posted by means of Dave Burke, VP of Engineering

Android 14 logo

With nowadays’s Android 14 Beta 3 unlock, we are proceeding into the following section of the Android building cycle. It builds upon our core subject matters of privateness, safety, efficiency, developer productiveness, and person customization whilst proceeding to beef up the large-screen instrument revel in on drugs, foldables, and extra.

Beta 3 takes Android 14 to Platform Balance, which means that that the developer APIs and all app-facing behaviors at the moment are ultimate so that you can evaluate and combine into your apps. Thanks for your whole persevered comments in getting us to this milestone.

There is a lot to discover in Android 14 and take a look at on your apps. Lately with Beta 3, we’re highlighting new accessibility options corresponding to non-linear font scaling, privateness upgrades together with partial pictures/movies get entry to, new animation enhance in gesture navigation, and options that additional align with the OpenJDK 17 LTS unlock.

Platform Balance

With Platform Balance in Beta 3, you’ll be able to expectantly increase and unlock any vital compatibility updates. Please get started your ultimate compatibility checking out now and get ready to post any vital updates so you’ll be able to get treasured comments all through the rest of the beta releases. This may occasionally assist make certain a clean app revel in forward of the overall unlock of Android 14 later this yr.image of timeline illustrates that we are in June and on track with Platform Stability for Android 14

If you happen to increase an SDK, library, software, or sport engine, it is much more essential to be checking out now so you’ll be able to unlock your suitable updates once imaginable to stop your downstream app and sport builders from being blocked with compatibility problems. Additionally, while you’ve launched a suitable replace, please be sure you let your builders know.

App Compatibility

Every unlock of Android incorporates adjustments to the platform that beef up privateness, safety, and the whole person revel in. Those adjustments can have an effect on your apps. Checking out your app comes to putting in your manufacturing app onto a tool working Android 14 Beta 3; you’ll be able to use Google Play or different method. Paintings via all of the app’s flows and search for practical or UI problems. Assessment the habits adjustments to focal point your checking out. Adjustments that can have an effect on your app come with:

Non-linear font scaling.

Grant partial get entry to to pictures and movies.

Customers can now grant partial get entry to to their media library when your app requests any of the visible media permissions (READ_MEDIA_IMAGES or READ_MEDIA_VIDEO) presented in Android 13 (API stage 33). When your app strikes to the background, or when the person actively kills your app, the device treats those as one-time-permissions and ultimately denies them. In case your app is following permissions very best practices, this modification mustn’t ruin your app. Android 14 introduces the READ_MEDIA_VISUAL_USER_SELECTED permission to assist apps higher enhance the brand new adjustments. For a extra seamless person revel in, we suggest that you simply believe the usage of the picture picker which gives a protected manner for customers to grant your app get entry to to chose pictures and movies that doesn’t require any permissions.

Information protection knowledge is extra visual.

To strengthen person privateness, Android 14 will increase the collection of puts the place the device presentations the tips you’ve gotten declared within the Play Console Shape. For some permissions, the device runtime permission conversation now features a clickable segment that highlights your app’s knowledge sharing practices. This segment of the device conversation comprises knowledge, corresponding to why your app would possibly make a decision to percentage knowledge with 3rd events, and hyperlinks customers to the place they may be able to keep an eye on your app’s knowledge get entry to. We inspire you to study your app’s location knowledge sharing insurance policies and take a second to make any appropriate updates for your app’s Google Play Information protection segment.

Please evaluate the habits adjustments segment to peer all the adjustments that can have an effect on the compatibility of your app or sport. If you happen to to find any problems with libraries and SDKs on your app, take a look at updating to the most recent library or SDK model, attaining out to the developer for assist if vital.

While you’ve revealed the suitable model of your present app, you’ll be able to get started the procedure to replace your app’s targetSdkVersion. Assessment the habits adjustments for apps focused on Android 14 and believe the usage of the compatibility framework that can assist you stumble on problems temporarily. Listed below are one of the vital adjustments to check for (those follow best to apps with targetSdkVersion set to API 34 or upper):

Foreground carrier varieties are required.

OpenJDK 17 updates.

Among the adjustments Android 14 makes to refresh core libraries to align with options in the most recent OpenJDK LTS releases can have an effect on app compatibility, together with adjustments to common expressions, UUID dealing with, and problems involving ProGuard and the addition of java.lang.ClassValue.

Safety adjustments.

Get began with Android 14

Lately’s Beta 3 unlock has the whole lot you wish to have to take a look at the Android 14 options, take a look at your apps, and provides us comments. For checking out your app with drugs and foldables, you’ll be able to take a look at with units from our companions, however one of the simplest ways to get began is the usage of the 64-bit Android Emulator device pictures for the Pixel Pill or Pixel Fold configurations present in the most recent preview of the Android Studio SDK Supervisor. You’ll be able to additionally sign up any supported Pixel instrument right here, together with the brand new Pixel 7a, to get this and long term Android 14 Beta and have drop Beta updates over-the-air.

For the most productive building revel in with Android 14, we propose that you simply use the most recent unlock of Android Studio Hedgehog. While you’re arrange, listed here are one of the vital belongings you must do:

  • Take a look at the brand new options and APIs. Record problems in our tracker at the comments web page.
  • Check your present app for compatibility – be informed whether or not your app is suffering from default habits adjustments in Android 14. Set up your app onto a tool or emulator working Android 14 and widely take a look at it.
  • Check your app with opt-in adjustments – Android 14 has opt-in habits adjustments that best have an effect on your app when it’s focused on the brand new platform. It’s essential to grasp and assess those adjustments early. To show you how to take a look at, you’ll be able to toggle the adjustments off and on in my view.

We’ll replace the beta device pictures frequently during the Android 14 unlock cycle.

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

For entire knowledge on methods to get the Beta, consult with the Android 14 developer web page.

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



[ad_2]

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles