Mobile App Development Publication

Sharing iOS, Android and relevant Mobile App Development Technology and Learning

Follow publication

Member-only story

Learning Android Development

The onBackPressed Is Now Deprecated in Android 13 and Might Need Major Changes in Existing Apps

Migrate to Android 13's “Predictive Back” Before It’s Too Late

Photo by Marek Piwnicki on Unsplash

Other than Push Notification Permission, one of the most prominent features introduced in Android 13 is the Predictive Back feature. It is not a feature that is enabled by default, but it will be the future direction of Android beginning Android 13.

Google has warned

Important: We strongly recommend that you implement predictive back navigation as soon as possible. Otherwise, users might experience unexpected behavior in a future release of Android.

If we do have customized back behavior of our App, by overriding the Activitity’s onBackPressed, then it is important to take note of this change, given upgrading it to the latest behavior does require quite a bit of a paradigm shift in how we customize Back in Android, which could result in quite a bit of code change.

So if you do have a big legacy app that has sophisticated customized onBackPressed, it is important to get to work on this migration sooner rather than later.

How I discovered this change needs

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Mobile App Development Publication
Mobile App Development Publication

Published in Mobile App Development Publication

Sharing iOS, Android and relevant Mobile App Development Technology and Learning

Elye - A One Eye Dev By His Grace
Elye - A One Eye Dev By His Grace

Written by Elye - A One Eye Dev By His Grace

Sharing Software Learning, Life and Faith Journey

Responses (8)

Write a response