Resolving React Native — Unable to Resolve ‘AccessibilityInfo’

This is what I’m talking about:

https://reubenab.github.io/blog/2017/08/07/react-native-accessibility-info-module-error

And I would post in the Github issues, but it looks like it was closed.

So here’s my solution (no guarantees) — chances are you are running into this error when you switch or update versions of RN. While you should reset your packager cache a la npm run react-native --reset-cachelike every article and issue on Github for this will tell you, you’ll ALSO need to reset the NATIVE caches for Android and iOS.

On iOS it’s as simple as cmd + shift + k then cmd + b

On Android: cd android ./gradlew clean

Hope that works for you!