GithubHelp home page GithubHelp logo

Comments (6)

warrenronsiek avatar warrenronsiek commented on July 28, 2024

How do you know this is a problem with RNBLE and not your app configuration? I checked the RNBLE dependencies, and the url module is not one of them. My guess is that unless you know that it is a problem with RNBLE, you are better off asking on StackOverflow.

from react-native-ble.

mosesmc52 avatar mosesmc52 commented on July 28, 2024

Ok

It could be an issue with the app configuration. I created a test app specifically to install and test react-native-ble. Here is my package.js file to display all the dependencies. On the main startup index page of the app I didn't change anything except include the noble library.

{
"name": "rnble_test",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "15.4.2",
"react-native": "0.42.0",
"react-native-ble": "^1.0.7"
},
"devDependencies": {
"babel-jest": "19.0.0",
"babel-preset-react-native": "1.9.1",
"jest": "19.0.2",
"react-test-renderer": "15.4.2"
},
"jest": {
"preset": "react-native"
}
}

from react-native-ble.

warrenronsiek avatar warrenronsiek commented on July 28, 2024

Ah, RNBLE isn't compatible with React Native 0.42.0. Until this pull is merged, you need to downgrade to 0.39.0.

from react-native-ble.

jacobrosenthal avatar jacobrosenthal commented on July 28, 2024

Can anyone confirm that PR is good to go?

from react-native-ble.

jacobrosenthal avatar jacobrosenthal commented on July 28, 2024

merged

from react-native-ble.

mosesmc52 avatar mosesmc52 commented on July 28, 2024

I continued to experience this issue. I found the solution to be inserting this line into my package.js file.

"browser": {
"noble": "react-native-ble"

}

from react-native-ble.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.