Skip to content

A small Swift project that implements the Gimbal Platform SDK (v1.30.1 11/19/2014).

Notifications You must be signed in to change notification settings

mthongvanh/SwiftGimbal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftGimbal

A small Swift project that implements the Gimbal Platform SDK (v1.30.1 11/19/2014). This app aims to show others how to get the SDK up and running in Swift. It focuses on Proximity detection and employs the FYXVisitDelegate. Arrivals, departures and sightings are handled by the rather simple GimbalBeaconManager.

For further help look for me as unkowed in #iosdev or #iphonedev on irc.freenode.net.

This project has been updated for the iOS 8.3 SDK using Xcode 6.3

To Run SwiftGimbal


This project assumes that you've setup your Gimbal Beacons with the Series 10 (or 20) Recommended configuration. For further information: [Configure a Gimbal Beacon for use with the Gimbal SDK](http://gimbal.com/doc/proximity/ios.html#beacon_configuration).

To successfully range there is no need to modify any code. However, you must complete a few steps outlined in the Gimbal Proximity Quickstart, and you must modify a few files found in the project.

  1. Create a Developer Account in the Gimbal Manager

  2. Create a new Gimbal Application. You must use a new unique Bundle ID for your Gimbal Application. In the Gimbal Manager dashboard, open your application so you see the information below.

    gimbal manager app info

    Things to note: a. Bundle ID b. Gimbal Production API Key c. Application ID d. Gimbal Secret e. Callback urls

  3. Change the project's bundle ID to the same bundle ID of the Gimbal Application

xcode project bundle id

  1. Modify the UserContext.plist by entering your Gimbal API Key

xcode project production api key

  1. Modify the GimbalApplicationInfo.plist by entering your Application ID, Secret and Callback url

xcode project key secret callback

  1. Create the url scheme from the Callback urls.

xcode project url scheme

  1. (Optional) In the Info.plist Change the text in NSLocationAlwaysUsageDescription that will appear when the application prompts the user to allow Location Services to access the user's location.

xcode project location services alert

About

A small Swift project that implements the Gimbal Platform SDK (v1.30.1 11/19/2014).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published