Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

React-Native 0.65 compatibility / Forward-port Accessibility to react-native 0.60 API #2

Merged
merged 1 commit into from
Jul 18, 2022

Conversation

aajahid
Copy link
Owner

@aajahid aajahid commented Jul 18, 2022

React-Native 0.59 -> 0.60 changed a lot of the AccessibilityInfo API, and this does a straight forward-port of existing functionality (screen reader status detection) to the new API.

Here is the related PR facebook/react-native-website#835

And the doc with new APIs https://facebook.github.io/react-native/docs/accessibilityinfo

This depends on the PR here for types I believe DefinitelyTyped/DefinitelyTyped#37486

There is an opportunity to also expand API coverage to cover the other new accessibility features react-native exposes but if this is desired it might be best to do it separately? Additionally the majority are iOS-specific so if I proposed that change I'd need some guidance.

Fixes microsoft#1319

@aajahid aajahid merged commit 2570150 into master Jul 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ReactXP not compatible with react-native 0.65 without patch
1 participant