keymanapp / keymanapp/keyman

bug(android): onBackPressed() deprecated in Android 13+

Open
#13,309 0 comments 0 reactions 1 assignee Claimed by @jahorton View on GitHub
android/ bug
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

Google deprecated onBackPressed() for "[predictive back navigation](https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture)"

> intercepting back events from KeyEvent.KEYCODE_BACK is no longer supported.

This article has tips on migrating

https://medium.com/mobile-app-development-publication/migrate-to-android-13-predictive-back-soon-before-its-too-late-e1e1723f392

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.