react-native-beacons-manager icon indicating copy to clipboard operation
react-native-beacons-manager copied to clipboard

Simple example not working why ?

Open ghost opened this issue 5 years ago • 4 comments

Simple example it not show or array in data is [ ] import { DeviceEventEmitter } from 'react-native' import Beacons from 'react-native-beacons-manager'

// Tells the library to detect iBeacons Beacons.detectIBeacons()

// Start detecting all iBeacons in the nearby try { await Beacons.startRangingBeaconsInRegion('REGION1') console.log(Beacons ranging started succesfully!) } catch (err) { console.log(Beacons ranging not started, error: ${error}) }

// Print a log of the detected iBeacons (1 per second) DeviceEventEmitter.addListener('beaconsDidRange', (data) => { console.log('Found beacons!', data.beacons) })

ghost avatar Nov 09 '18 14:11 ghost

I have the same issue.

gurzoni avatar May 16 '19 17:05 gurzoni

I also have the same issue after wasting a whole day still stuck

umair-khanzada avatar Oct 31 '19 14:10 umair-khanzada

@bezblue @gurzoni has anyone solved this?

umair-khanzada avatar Oct 31 '19 14:10 umair-khanzada

Finally, I have solved this you can see my solution in #147

umair-khanzada avatar Nov 02 '19 08:11 umair-khanzada