Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dipghoshraj/xamarin-beacon

Xamarin-beacon is a xamarin application for ios and android to simulate and scan iBeacons in nearby.
https://github.com/dipghoshraj/xamarin-beacon

altbeacon altbeacon-library android-application beacon beaconapi beaconer beacons ibeacon ios-app xamarin-beacon xamarin-forms

Last synced: about 2 months ago
JSON representation

Xamarin-beacon is a xamarin application for ios and android to simulate and scan iBeacons in nearby.

Awesome Lists containing this project

README

        

# xamarin-beacon

[![Build Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)](https://travis-ci.org/joemccann/dillinger)

Xamarin-beacon is a ibeacon simulation application for android and ios device.

- Scanning the nearby ibeacons
- Broadcast an iBeacon

This application is build upon the Altbeacon libery for the android device and for ios device we have used iOS builtin libery corelocation for scanning and corebluetooth for broadcasting.

### Installation

Xamarin-beacon reqires visual studio(2019 or above) and a physical device this will not work on a emulaor.

- Clone the repository
- Open the solution file (.sln)
- run on the device

### Development

Want to make your changes, Great!

- Ui changes need to do in application folder Page/MainPage.cs
- Ui related functions are on ViewModel/MainPageViewModel.cs
- Beacon functions for android .Android AltBeaconService.cs
- Beacon function for ios .iOS Blescan.cs --> scanner and BleTransmit.cs --> broadcast
- All configuration for the iBeacon function initilized on application class

### For ios add this on info.plist

``` bash
UIBackgroundModes


bluetooth-central


bluetooth-peripheral

NSBluetoothPeripheralUsageDescription
YOUR CUSTOM MESSAGE

NSBluetoothAlwaysUsageDescription
YOUR CUSTOM MESSAGE
```

### Todos

- Need to fix the codeQL work-flow

License
----
MIT

**Free Software, Hell Yeah!**