Skip to content

[0.80] handle onBackPressed() deprecation with targetSdk 36 (2/2) - Dialog #929

@alanleedev

Description

@alanleedev

Target Branch(es)

0.80

Link to commit or PR to be picked

facebook/react-native#51097

Description

When developers starts targeting Sdk 36 (Android 16), predictive back is enforced and KEYCODE_BACK is no longer called.
Adding changes to continue handling back.
(Android 16 is expected to be released around June 2025.)

This PR also may fix issue mentioned here as it uses AndroidX ComponentDialog: facebook/react-native#51319

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Status

    Done / Picked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions