Raynerv / cordova-proximity-quickstart

An Ionic Framework and Cordova project demonstrating proximity related tasks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cordova Proximity Quickstart

A starting project for the Cordova Proximity Plugin.

  • After launching the app, you can start monitoring or ranging beacons by pressing the similarly named buttons on the second and the third tabs of the application.

  • The messages produced by iOS will get populated on the first tab.

  • To see any of the aforementioned in action, you have to edit the properties of the monitored/ranged beacon either by typing them in on the device's keyboard, or modifying the default values in the source code (see the .html files).

Usage

After a clean checkout, make sure to add one or all of the supported platforms and the plugin itself before running.

# Install NPM dependencies
npm install

# Running a gulp task which will run bower
gulp install

# Adds iOS as a platform to your project
cordova platform add ios 

# Installs the proximity plugin from GitHub
cordova plugin add https://github.com/petermetz/cordova-plugin-ibeacon.git

# Opens the project in XCode, where you can run it
open platforms/ios/Cordova\ Proximity\ Quickstart.xcodeproj

About

An Ionic Framework and Cordova project demonstrating proximity related tasks.


Languages

Language:CSS 94.5%Language:JavaScript 3.1%Language:HTML 2.4%