-
-
Notifications
You must be signed in to change notification settings - Fork 38
Does it work with Expo? #53
Comments
I guess first the config plugin should be created for that... https://docs.expo.dev/config-plugins/plugins-and-mods/ Because the same case exists react-native-ble-plx library. In order to use the library on expo, we need to add a config plugin in app.json file like this: |
Hey, did you figure how to make it run on expo? @leodevbro |
Here is another conversation about it: Unfortunately it seems we have no progress on it. |
@JoseOliveira-sensefinity @leodevbro It works for me but with an additional EAS setup and build In my project, I've already had EAS setup so It worked, but I didn't try to use it only with a simple Expo project... In some cases, certain modules or libraries may not be compatible with Expo or may not be supported within the Expo environment. When facing these limitations, "EAS Build" can be a valuable tool to address these issues. |
Hi @jole141, How did you? i use bare workflow too but didn't work, doesn't this require an expo module? Can you share the steps with us? |
@yusufipsum Oh sorry, I've just realized that I started this thread but in the end I've used "react-native-ble-advertise": "^0.4.0", Usage example (somewhere in my RN code):
This library has some "type" problems but with I don't have time right now, but I'll try to setup a simple Expo project with an EAS build to do a project example. |
I have created a simple Expo tutorial: |
@jole141, Dear Josip, even if this tutorial will turn out to be not fully successful, I still strongly appreciate your effort and your kindness to help us. For sure I am going to try your tutorial very soon. |
One question: so, the react-native-ble-advertise library has |
@leodevbro hello, i am the author of react-native-ble-advertise no the library doesn't have a ble scanning functionality since i use react-native-ble-manager for ble scanning, and created react-native-ble-advertise for missing functionality in our app. prior to today i did not know that you can use BLE with Expo, i thought it was only possible through RN CLI. now thanks to @jole141 tutorial, i was able to use both react-native-ble-advertise and react-native-ble-manager in expo if you are interested i can create a example using both libraries |
@barakataboujreich, Oh, sure, that would be super I think. I will be super thankful. |
@leodevbro you can find the tutorial here expo-ble-scan-advertise-example |
Thanks, I'll check it out and do some experiments with it 🚀🚀🚀🚀 |
I mean, should I start a new RN project using Expo or using RN CLI? As far as I know, Expo has some limitations of accessing device modules like Camera, Bluetooth.
The text was updated successfully, but these errors were encountered: