Skip to content

update Android doc to use OnBackPressedDispatcher instead of deprecated onBackPressed#4663

Merged
cortinico merged 2 commits into
react:mainfrom
alanleedev:update_integration_with_android_fragment
Jul 10, 2025
Merged

update Android doc to use OnBackPressedDispatcher instead of deprecated onBackPressed#4663
cortinico merged 2 commits into
react:mainfrom
alanleedev:update_integration_with_android_fragment

Conversation

@alanleedev

@alanleedev alanleedev commented Jun 24, 2025

Copy link
Copy Markdown
Contributor

update Android doc to use OnBackPressedDispatcher instead of deprecated onBackPressed

@netlify

netlify Bot commented Jun 24, 2025

Copy link
Copy Markdown

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit f4501f5
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/685a347c50c62b000863ef0a
😎 Deploy Preview https://deploy-preview-4663--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@alanleedev alanleedev requested a review from cortinico June 24, 2025 04:49

@DhruvTheDev1 DhruvTheDev1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job updating the deprecated lines.
For Kotlin - replaced to onBackPressedDispatcher.onBackPressed()
For Java - replaced to getOnBackPressedDispatcher().onBackPressed();

@cortinico cortinico merged commit 67ee8dd into react:main Jul 10, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants