Comments (14)
I just ran into this issue and have two comments regarding this:
Great! We will add info about carthage. Thanks.
I'm assuming @konradrodzik added the following line to the readme:
- Make sure that you have Carthage installed on your system.
This only implies that Carthage is required for manual installs. If going via the automatic approach (via rnpm) there is no mention of the Carthage requirement.
I suggest that the readme change to reflect the following:
Automatic
brew install carthage
npm install --save react-native-ble-plx
react-native link
Lastly, the npm|yarn install succeeds even without carthage on the system. This should probably be changed to cause the install to fail if carthage is not installed locally.
from react-native-ble-plx.
Did you done 'npm install' being in 'examples/ReactBLEScanner' directory?
from react-native-ble-plx.
Yes, tried it three times with your version 0.1.5 and twice with 0.1.3. Did I skip anything else? I just downloaded the ZIP, navigated to 'examples/ReactBLEScanner', ran 'npm install', opened the xcode file and built it to run on my iPhone.
from react-native-ble-plx.
That should be it. Just checked 0.1.5 version and npm install did the whole work.
I was able to compile and run on my iphone.
Whats is your XCode version and could you past here the whole console output from npm install?
when you run npm install it will compile 'react-native-ble-plx' library.
We are using 'carthage' there, so it needs to be installed in your system.
Please follow instructions from
https://github.com/Carthage/Carthage
Let me know if that helps.
from react-native-ble-plx.
That's it! Installing Carthage fixed the problem. Maybe you should mention in the readme that Carthage is required. Thank you!
from react-native-ble-plx.
Great! We will add info about carthage. Thanks.
from react-native-ble-plx.
@konradrodzik im using ubuntu, to build an android react native app. I'm getting the same error.
Carthage isn't only for IOS?
from react-native-ble-plx.
@jcrjaci could you give us full log from your android problem?
Carthage is needed for iOS projects.
from react-native-ble-plx.
@konradrodzik problem solved.
Stupid error.
I missed the import
import com.polidea.reactnativeble.BlePackage;
in the mainApplication.java.
The import is missing in Read.me too.
from react-native-ble-plx.
Thanks, we will check it : )
from react-native-ble-plx.
@konradrodzik btw, nothing about the issue, but if you know to answer me i appreciate.
I only test the basics of the library.
like find dispositive and connect to them.
But now i need to send them hexadecimal commands, and read the answer.
i see that i need to convert my commands to base64.
but this should work right?
i didn't test yet
from react-native-ble-plx.
@jcrjaci We don't force users how they want to operate on values. You can add additional dependency: for example 'buffer' library which will let you just do that.
from react-native-ble-plx.
You can see in the example app how 'Buffer' can be used:
https://github.com/Polidea/react-native-ble-plx/blob/0eb39ce1c7f39fde5d5eafd4e39b6dad21c147e0/examples/ReactBLEScanner/app/characteristics/CharacteristicDetailsComponent.js
from react-native-ble-plx.
It's very important that you first install the "Carthage" and then install the "react-native-ble-plx", otherwise you will see the same error massage "BleClientManager not found."
from react-native-ble-plx.
Related Issues (20)
- unable to read property list from file: /Users/testuser/Desktop/bluetooth-ble/ios/bluetoothble/Info.plist: The operation couldnโt be completed. (XCBUtil.PropertyListConversionError error 2.) HOT 3
- I can write data to the device, but I cannot receive data. HOT 3
- ๐ Making methods async and/or arrow functions in v3.2.0 is a breaking change HOT 4
- BleError: Device Is Not Connected HOT 5
- Android: scan not returning devices HOT 15
- ๐ iOS example app does not want to start HOT 1
- ๐ empty known devices list on Android HOT 4
- IOS Service UUID does not getting HOT 7
- Support sharing JSON data between devices HOT 2
- ๐ The onstatechange was not fired if the app's blue permission was disabled HOT 5
- ๐ IOS\Android disconnecting from bluetooth device after connecting if we don't write characteristics after 30 seconds. HOT 4
- ๐ BluetoothLE is in unknown state, but the state is PoweredOn HOT 7
- Auto-disconnection in some Android devices HOT 5
- ๐ Scanning devices, it only finds my ble beacon on Android 11 (it doesn't on iOS 17.5.1 and Android 14) HOT 2
- I have connected to the IoT device, but I still cannot get the data sent by the IoT device. Does it not support the Bluetooth serial port? HOT 1
- Read characteristic in background? HOT 2
- isDeviceConnected return BleErrorCode.DeviceDisconnected instead of false๐ HOT 2
- ๐ManufacturerData on iOS returning null, in Android is correctly setted HOT 20
- Issue with [BleError: Operation was cancelled] on iOS 17 HOT 10
- ๐ Module does not work with Android Auto, when there is no Activity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-ble-plx.