Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expo Support #181

Open
ManabBala opened this issue Dec 21, 2023 · 3 comments
Open

Expo Support #181

ManabBala opened this issue Dec 21, 2023 · 3 comments

Comments

@ManabBala
Copy link

ManabBala commented Dec 21, 2023

I am trying to build and IOT app which need to search for all local devices with mdns. i am using expo for this purpose. but i can't implement this zeroconf library in expo development build. does anyone know how to do this? i think it has something to do with the permissions.

Can anyone provide a simple expo example!?

as there is new support for native react library in expo with config-plugin. can anyone try/guide to make a plugin for this library.

@jwverzijden
Copy link

I added the following config to the app.json, following the guide on https://docs.expo.dev/guides/configuring-js-engines.
after installing react-native-v8 and things it seems to work, i'm getting results on android.

{
    "jsEngine": "jsc",
    "plugins": [
      "react-native-v8"
    ]
}

I have not tested this on iOS yet.

@tannersatch
Copy link

I was able to get it working with expo. This was my solution: https://dev.to/bfforward/how-to-use-react-native-zeroconf-with-expo-2kjc

Hope this helps

@ManabBala
Copy link
Author

@tannersatch, wow, thanks for the blog. definitely will be giving it a shot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants