Skip to content

Commit

Permalink
1.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpatrick committed Oct 17, 2016
1 parent 701d803 commit e59ee24
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 9 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
See the documentation [here](https://www.onradar.com/documentation/sdk).
# Radar

[Radar](https://www.onradar.com) is a full-stack developer toolkit for location tracking and geofencing.

See the full documentation [here](https://www.onradar.com/documentation/sdk).
6 changes: 3 additions & 3 deletions RadarSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = 'RadarSDK'
s.version = '1.0.8'
s.version = '1.0.9'
s.summary = 'iOS toolkit for location tracking and geofencing'
s.homepage = 'https://www.onradar.com'
s.author = { 'Radar Labs, Inc.' => '[email protected]' }
s.platform = :ios
s.source = { :git => 'https://github.com/RadarLabs/RadarSDK-iOS.git', :tag => '1.0.8' }
s.source = { :git => 'https://github.com/RadarLabs/RadarSDK-iOS.git', :tag => '1.0.9' }
s.source_files = 'RadarSDK/RadarSDK.framework/Versions/A/Headers/*.h'
s.vendored_frameworks = 'RadarSDK/RadarSDK.framework'
s.ios.deployment_target = '8.0'
Expand All @@ -15,4 +15,4 @@ Pod::Spec.new do |s|
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/Headers/RadarSDK"' }
s.license = { :type => 'Copyright',
:text => 'Copyright (c) 2016 Radar Labs, Inc. All rights reserved.' }
end
end
17 changes: 12 additions & 5 deletions RadarSDK/RadarSDK.framework/Versions/A/Headers/Radar.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,23 @@

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import "RadarDelegate.h"

@interface Radar : NSObject

/**
@abstract Initializes the Radar SDK.
@warning You must call this method in application:didFinishLaunchingWithOptions: and pass your publishable API key.
@param key Publishable API key (required)
@param key Your publishable API key.
**/
+ (void)initWithKey:(NSString * _Nonnull)publishableKey;

/**
@abstract Sets a delegate for the client-side delivery of events. Note that events can also be delivered server-side via webhooks.
@param delegate A delegate for event delivery.
**/
+ (void)setDelegate:(id<RadarDelegate> _Nonnull)delegate;

/**
@abstract Returns the app's location authorization status.
@return A value indicating the app's location authorization status.
Expand All @@ -35,16 +42,16 @@

/**
@abstract Tracks the user's location once in the foreground.
@param userId Unique ID for the user (required)
@param description Description for the user (optional)
@param userId The external unique ID for the user in your database.
@param description An optional description for the user.
@warning Before calling this method, the user's location authorization status must be kCLAuthorizationStatusAuthorizedWhenInUse or kCLAuthorizationStatusAuthorizedAlways.
**/
+ (void)trackOnceWithUserId:(NSString * _Nonnull)userId description:(NSString * _Nullable)description;

/**
@abstract Starts tracking the user's location in the background.
@param userId Unique ID for the user (required)
@param description Description for the user (optional)
@param userId The external unique ID for the user in your database.
@param description An optional description for the user.
@warning Before calling this method, the user's location authorization status must be kCLAuthorizationStatusAuthorizedAlways.
**/
+ (void)startTrackingWithUserId:(NSString * _Nonnull)userId description:(NSString * _Nullable)description;
Expand Down
4 changes: 4 additions & 0 deletions RadarSDK/RadarSDK.framework/Versions/A/Headers/RadarSDK.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@
#import <Foundation/Foundation.h>

#import <RadarSDK/Radar.h>
#import <RadarSDK/RadarDelegate.h>
#import <RadarSDK/RadarEvent.h>
#import <RadarSDK/RadarUser.h>
#import <RadarSDK/RadarGeofence.h>
Binary file modified RadarSDK/RadarSDK.framework/Versions/A/RadarSDK
Binary file not shown.

0 comments on commit e59ee24

Please sign in to comment.