Skip to content

Commit

Permalink
Offline monitoring and pagination for fetching attachments.
Browse files Browse the repository at this point in the history
  • Loading branch information
chwastek committed May 9, 2018
1 parent a24e74e commit d9a906b
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.13.0] - 2018-05-09

### Added
- Estimote Monitoring is supporting pagination. Previously you could fetch only up to 100 attachments.
- Local persistance for cloud attachments. Now the `EPXProximityObserver` will fetch data from the cloud on every `startObserving()` if the network is available. If not, it will use the locally persisted data. This way you can start scan without the internet access, provided that you have launched it at least once when network was available.

## [0.12.0] - 2018-04-11

Expand Down
Binary file not shown.
Binary file modified EstimoteProximitySDK/EstimoteProximitySDK.framework/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ - (void)viewDidLoad {
// TODO: The demo assumes proper settings configuration in Estimote Cloud. Make sure that:
// - you have at least 2 beacons assigned to your Estimote Cloud account
// - one of the beacons has an attachment `{"desk":"blueberry","venue":"office"}`
// - another beacon has an attachment `{"desk":"blueberry","venue":"office"}`
// - another beacon has an attachment `{"desk":"mint","venue":"office"}`

self.proximityObserver = [[EPXProximityObserver alloc] initWithCredentials:credentials errorBlock:^(NSError * _Nonnull error) {
NSLog(@"Ooops! %@", error);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ViewController: UIViewController {
// TODO: The demo assumes proper settings configuration in Estimote Cloud. Make sure that:
// - you have at least 2 beacons assigned to your Estimote Cloud account
// - one of the beacons has an attachment `{"desk":"blueberry","venue":"office"}`
// - another beacon has an attachment `{"desk":"blueberry","venue":"office"}`
// - another beacon has an attachment `{"desk":"mint","venue":"office"}`

self.proximityObserver = EPXProximityObserver(credentials: credentials, errorBlock: { error in
print("Ooops! \(error)")
Expand Down

0 comments on commit d9a906b

Please sign in to comment.