thunderbird / thunderbird/thunderbird-android

Android 16+ — Add support for the predictive back gesture

Open Beginner friendly
#6,476 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tb-team type: enhancement
Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

Checklist
  • I have used the search function to see if someone else has already submitted the same feature request.
  • I will describe the problem with as much detail as possible.
  • This issue only contains a request for one single feature, not multiple (related) features.
App version

6.312

Problem you are trying to solve

Android 13 (API level 33) introduces a predictive back gesture for Android devices such as phones, large screens, and foldables.

Suggested solution

I believe K-9 Mail uses default back navigation, so enabling this functionality should be as simple as opting in by updating AndroidManifest.xml, in the <application> tag, set the android:enableOnBackInvokedCallback flag to true.

See https://developer.android.com/guide/navigation/predictive-back-gesture#opt-predictive

Screenshots / Drawings / Technical details

Here's how predictive back looks:

predictive back animation

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with AndroidManifest.xml and the application tag, then compare the requested opt-in with Android's predictive back gesture documentation. Enable the callback as described and verify that predictive back navigation works on an Android 16+ device or emulator.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.