• This repository has been archived on 09/Mar/2019
  • Stars
    star
    181
  • Rank 212,110 (Top 5 %)
  • Language
    Objective-C
  • License
    Apache License 2.0
  • Created over 10 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Generic iBeacon Management and Utilities

KCSIBeacon Apache License

Generic iBeacon Management and Utilities

Installation

Version Platform

KCSIBeacon is available as a CocoaPods to install add to your podfile:

pod "KCSIBeacon"

Usage

Setup

  1. Add to project with CocoaPods

  2. Import

      #import "KCSIBeacon.h"
    
  3. Set up your class to conform to KCSBeaconManagerDelegate

  4. Create an instance of KCSBeaconManager

     self.beaconManager = [[KCSBeaconManager alloc] init];
     self.beaconManager.delegate = self;
    
  5. Start Monitoring Beacon Regions, e.g.

     [self.beaconManager startMonitoringForRegion:@"41AF5763-174C-4C2C-9E4A-C99EAB4AE668" identifier:@"ipad" major:@(10) minor:@(1)];
     [self.beaconManager startMonitoringForRegion:@"F7826DA6-4FA2-4E98-8024-BC5B71E0893E" identifier:@"kontakt"]; //monitors all major & minor
    
  6. Implement protocol methods to receive interesting events:

    • Ranging events, region enter/exit, and if there is a new nearest beacon.

    • e.g:

      • (void)newNearestBeacon2:(CLBeacon )beacon { //show a modal for new beacon if ([beacon.proximityUUID isEqual:kUUID] && [beacon.major intValue] == 1) { NearbyBeaconViewController nearby = [[NearbyBeaconViewController alloc] initWithNibName:@"NearbyBeaconViewController" bundle:nil]; [self presentViewController:nearby animated:YES completion:nil]; } }

Documentation

Example project

System Requirements

  • iOS 7 or later (uses iBeacons)

License

Copyright (c) 2015 Kinvey, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

More Repositories

1

node-background-task

Run Node.js tasks on multiple instances.
JavaScript
67
star
2

js-sdk

Kinvey JS SDKs
JavaScript
25
star
3

ember-cli-fontcustom

An Ember CLI addon that builds custom web fonts from SVG source files.
JavaScript
18
star
4

kinvey-nodejs

Kinvey JavaScript Library for Node.js.
16
star
5

nativescript-sdk

Kinvey JS SDK for NativeScript Applications
JavaScript
15
star
6

swift-sdk

SDK for native macOS, iOS, tvOS, or watchOS applications
Swift
7
star
7

kinvey-cli

JavaScript
7
star
8

html5-sdk

Kinvey JavaScript SDK for HTML5 applications.
7
star
9

flex-sdk

JavaScript
6
star
10

dotnet-sdk

C# SDKs for .NET and Xamarin applications.
C#
6
star
11

broccoli-fontcustom

Generate custom icon webfonts using Font Custom and Broccoli
JavaScript
5
star
12

android-sdk

SDK for Java and Android applications
Kotlin
4
star
13

angular-sdk

JavaScript SDK for Angular applications.
3
star
14

angular2-sdk

Kinvey Javascript SDK for Angular 2
3
star
15

stats-logger

Simple stats module that allows for capture of stats to multiple providers/backends
JavaScript
3
star
16

fhir-flex-reference

JavaScript
3
star
17

titanium-sdk

JavaScript SDK for Titanium applications.
JavaScript
3
star
18

grunt-sprockets-directives

JavaScript
3
star
19

phonegap-sdk

JavaScript SDK for PhoneGap applications.
2
star
20

Kinvey-Business-Logic-SDK

Kinvey's Business Logic SDK
Java
2
star
21

kinvey-researchkit

ResearchKit wrapper for Kinvey
Swift
2
star
22

kinvey-code-task-runner

JavaScript
1
star
23

business-logic-testing-library

CoffeeScript
1
star
24

kinvey-carekit

An iOS CareKit wrapper that uses Kinvey as the backend.
Swift
1
star
25

kinvey-kendo-data-source

Data Source component for JS apps using Kendo
JavaScript
1
star
26

sample-flex-long-running

A sample project implementing a long-running Flex Service.
JavaScript
1
star
27

node-sdk

Kinvey JavaScript SDK for NodeJS applications.
1
star