mirror of
https://github.com/status-im/react-native.git
synced 2025-02-27 16:40:38 +00:00
Summary: This PR is based on files ericvicenti gave me. Specifically, he gave me: - AccessibilityInfo.android.js - AccessibilityInfo.ios.js - AccessibilityInfoModule.java Before this change, only a native iOS implementation of AccessibilityInfo existed. This change includes: - A native Android implementation of AccessibilityInfo. - JavaScript wrappers for the AccessibilityInfo module for both iOS and Android. - UIExplorer changes to illustrate how to use AccessibilityInfo on iOS and Android. - Documentation for the AccessibilityInfo APIs. **Test plan (required)** Tested the UIExplorer AccessibilityInfo example on iOS and Android with the screen reader both enabled and disabled. Adam Comella Microsoft Corp. Closes https://github.com/facebook/react-native/pull/12273 Reviewed By: mkonicek Differential Revision: D4527224 Pulled By: ericvicenti fbshipit-source-id: d04638465ccbdbb35ecfc9504daaeb8e33aab57a
Install prerequisites
Before running the website, make sure you've run the following:
git clone https://github.com/facebook/react-native.git
cd react-native
npm install
Run the website server
The first time, get all the website dependencies loaded via
cd website
npm install
Then, run the server via
npm start
open http://localhost:8079/react-native/index.html
Anytime you change the contents, just refresh the page and it's going to be updated.
Publish the website
cd website
npm run publish-website