Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/youqam/bluetooth-beacons-scanner
Scan for nearby Bluetooth low energy beacons using Android & iOS
https://github.com/youqam/bluetooth-beacons-scanner
andorid angular9 bluetooth-low-energy ibeacon ionic5 ios
Last synced: 2 months ago
JSON representation
Scan for nearby Bluetooth low energy beacons using Android & iOS
- Host: GitHub
- URL: https://github.com/youqam/bluetooth-beacons-scanner
- Owner: YouQam
- License: mit
- Created: 2020-07-02T11:01:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-03T03:25:04.000Z (over 2 years ago)
- Last Synced: 2023-03-07T01:17:12.467Z (almost 2 years ago)
- Topics: andorid, angular9, bluetooth-low-energy, ibeacon, ionic5, ios
- Language: TypeScript
- Homepage:
- Size: 2.65 MB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bluetooth-Beacons-Scanner
This application scans for nearby bluetooth low energy beacons. It was built using ionic cross-platform framework. The implementation has been tested on both android & iOS devices.## App Demo
Android | iOS
:-------------------------:|:-------------------------:
||
## Installation and Usage
- Clone / download the repo
- Run `npm install`
- Build & deploy to Android
- Prerequisites
- Java JDK 8
- Android Studio
- Run the following CLI commands
- `ionic build`
- `ionic cordova platform add android`
- `ionic cordova run android` #To run on an android studio emulator
- `ionic cordova run android --device` #To run on a device- Build & deploy to iOS:
- Prerequisites
- macOS
- Xcode, install it from the App Store
- iOS Developer account, sign up on [developer.apple.com](https://developer.apple.com/), it's free
- Run the following CLI command
- `ionic cordova build ios --prod`## Note
In the project, I'm using estimote beacon with `UUID` = `b9407f30-f5f8-466e-aff9-25556b57fe6d`. In case you are using another company's product, just modify the UUID in path `src/app/home/home.page.ts````
uuid = ;
```## Troubleshooting
If all goes well it will start scanning for nearby beacons after pressing play button, but if you run into:
```
Cannot read property 'locationManager' of undefined
```
This is due to instability of the iBeacon plugin. To overcome the issue, replace some files with the ones you have in the project, [see here](https://github.com/YouQam/ionic5ibeacon).## Licence
MIT