ArturKalach / react-native-a11y

A11y Library for RN
MIT License
42 stars 5 forks source link

Compatibility with Expo Go #31

Open joaovitorleffa opened 1 year ago

joaovitorleffa commented 1 year ago

Hi,

I have been exploring the possibility of utilizing your library in conjunction with Expo Go, but it seems that the current version does not support this integration. I was wondering if you could kindly shed some light on this matter and explain the reasons behind this limitation.

Thank you very much for your time and attention. I greatly appreciate your hard work and dedication to creating such a valuable library.

ArturKalach commented 1 year ago

Hello @joaovitorleffa, I am sorry for the waiting, there weren't a lot of feedback so I didn't check the issues daily.

I haven't had experience working with Expo Go, and I am not sure whether it is possible to support these features in it.

Could you tell me how this is crucial for you? There are a lot of work in plan, and supporting Expo wasn't in them. If it's possible I would recomend to use ReactNative cli, but if you have good resasons for using Expo let me know and I will try to help

joaovitorleffa commented 1 year ago

Hello @ArturKalach, thanks for the feedback,

Currently, I'm working on a React Native CLI project, but there's a possibility that the project might migrate to Expo Bare Workflow in the future.

I also have no experience with Expo. But after creating this issue, I conducted some research to find possible solutions. It turns out that Expo doesn't support certain libraries. However, there is a workaround using the Expo Dev Client. By following these steps, I was able to successfully use the react-native-a11y library with Expo Go:

  1. Start by building your Expo project using either expo run:ios or expo run:android.
  2. Once the app is built, launch it with the Expo Dev Client by running expo start --dev-client. This will seamlessly integrate your library within the Expo Go environment.

I believe this solution should be sufficient to enable us to use the library with Expo Go.