Skip to content

Commit

Permalink
iOS SDK 5.0.0-alpha.4 Pre-Release
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjuda committed Oct 20, 2017
1 parent 80c126a commit f14ac60
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 5.0.0-alpha.4 (October 20, 2017)

Improvements:

- Estimote Monitoring algorithm that powers Proximity Observer now uses device motion to improve experience.
- Optimized CPU and RAM usage when observing multiple zones.

## 5.0.0-alpha.3 (October 13, 2017)

Bugfixes:
Expand Down
4 changes: 2 additions & 2 deletions EstimoteSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "EstimoteSDK"
s.version = "5.0.0-alpha.3"
s.version = "5.0.0-alpha.4"
s.summary = "iOS library for Estimote devices"
s.homepage = "https://estimote.com"
s.author = { "Estimote, Inc" => "[email protected]" }
s.platform = :ios
s.source = { :git => "https://github.com/Estimote/iOS-SDK.git", :tag => "5.0.0-alpha.3" }
s.source = { :git => "https://github.com/Estimote/iOS-SDK.git", :tag => "5.0.0-alpha.4" }
s.source_files = 'EstimoteSDKv5/EstimoteSDKv5.framework/Versions/A/Headers/*.h'
s.vendored_frameworks = 'EstimoteSDKv5/EstimoteSDKv5.framework'
s.ios.deployment_target = '8.0'
Expand Down
Binary file modified EstimoteSDKv5/EstimoteSDKv5.framework/Versions/A/EstimoteSDKv5
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

NS_ASSUME_NONNULL_BEGIN


/**
Observes and reports proximity of Estimote devices.
Uses Estimote Monitoring under the hood. Encapsulates it under tag-based beacon identification and callback blocks.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// |______|___/\__|_|_| |_| |_|\___/ \__\___| |_____/|_____/|_|\_\
//
//
// Version: 5.0.0-alpha.3
// Version: 5.0.0-alpha.4
// Copyright (c) 2017 Estimote. All rights reserved.

#import "ESTCloudCredentials.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,25 @@ class ViewController: UIViewController {
let blueberryZone = ESTProximityZone(range: ESTProximityRange.custom(desiredMeanTriggerDistance: 0.5)!,
attachmentKey: "blueberry_desk")
blueberryZone.onEnterBlock = { attachment in
print("Enter blueberry 0.5")
self.blueberryDeskLabel.backgroundColor = self.blueberryColor
self.blueberryDeskLabel.textColor = UIColor.white
}
blueberryZone.onExitBlock = { attachment in
print("Exit blueberry 0.5")
self.blueberryDeskLabel.backgroundColor = UIColor.white
self.blueberryDeskLabel.textColor = self.blueberryColor
}

let mintZone = ESTProximityZone(range: ESTProximityRange.custom(desiredMeanTriggerDistance: 0.5)!,
attachmentKey: "mint_desk")
attachmentKey: "mint_desk")
mintZone.onEnterBlock = { attachment in
print("Enter mint 0.5")
self.mintDeskLabel.backgroundColor = self.mintColor
self.mintDeskLabel.textColor = UIColor.white
}
mintZone.onExitBlock = { attachment in
print("Exit mint 0.5")
self.mintDeskLabel.backgroundColor = UIColor.white
self.mintDeskLabel.textColor = self.mintColor
}
Expand All @@ -92,10 +96,12 @@ class ViewController: UIViewController {
let midVenueZone = ESTProximityZone(range: ESTProximityRange.custom(desiredMeanTriggerDistance: 1.5)!,
attachmentKey: "venue")
midVenueZone.onEnterBlock = { attachment in
print("Enter venue 1.5")
self.venueLabel.backgroundColor = self.venueColor
self.venueLabel.textColor = UIColor.white
}
midVenueZone.onExitBlock = { attachment in
print("Exit venue 1.5")
self.venueLabel.backgroundColor = UIColor.white
self.venueLabel.textColor = self.venueColor
}
Expand Down
Binary file modified readme_images/demo_attachments.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f14ac60

Please sign in to comment.