dotintent / react-native-ble-plx

React Native BLE library
Apache License 2.0
2.94k stars 492 forks source link

Is expo a required dependency to use this library? #1187

Closed EthanYeh closed 1 month ago

EthanYeh commented 1 month ago

Prerequisites

Question

Hi, is it possible to use this library on bare react-native (without expo)? When reading the installation guide in the README, it seems like we need to install the expo package first, and then list this library as a plugin in expo. On the yarn package site, it also lists @expo/config-plugins as a dependency.

A previous related question is here but it received no answer

EmmaZachara commented 1 month ago

Hi @EthanYeh, thanks for your question; we'll get back to you soon.

dominik-czupryna-withintent commented 1 month ago

Hi @EthanYeh

In case of installation on react native CLI, you just installing the package and it’s works. In the case of installation on expo, additional configuration and prebuilding are necessary. That’s why you can find much more information about the expo in the readme.

EthanYeh commented 1 month ago

Ah I see, I'm resolved. Thank you!