Skip to content

Commit

Permalink
[stroeer-sdk-release] 2.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Rene Fischer committed Apr 7, 2017
1 parent 77e68f1 commit ffaed42
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 10 deletions.
Empty file modified StroeerProxity.framework/Versions/A/Headers/SPXBeacon.h
100755 → 100644
Empty file.
11 changes: 8 additions & 3 deletions StroeerProxity.framework/Versions/A/Headers/SPXError.h
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


/**
* Possible errors that can occure in the SDK
* Possible errors that can occur in the SDK
*/
typedef NS_ENUM(NSInteger, SPXErrorCode)
{
Expand All @@ -24,7 +24,7 @@ typedef NS_ENUM(NSInteger, SPXErrorCode)
/**
* The api key couldn't be validated or the operation couldn't be finished due to network errors.
*/
SPXErrorCodeNetworkConnection,
SPXErrorCodeNetworkConnection __attribute__ ((deprecated)),

/**
* This error is thrown if the device doesn't fully support ranging or monitoring for beacons.
Expand All @@ -35,11 +35,16 @@ typedef NS_ENUM(NSInteger, SPXErrorCode)
* This error is thrown if the bluetooth is not available.
*/
SPXErrorCodeBluetoothNotAvailable,

/**
* This error is thrown if bluetooth was deactivated on the device during scanning
*/
SPXErrorCodeBluetoothDeactivated,

/**
* This error is thrown if the user has denied the usage of the location services.
*/
SPXErrorCodeLocationUsageDenied
SPXErrorCodeLocationUsageDenied __attribute__ ((deprecated))
};

@interface SPXError : NSObject
Expand Down
32 changes: 25 additions & 7 deletions StroeerProxity.framework/Versions/A/Headers/SPXStroeerProxityAPI.h
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#import <UIKit/UIKit.h>

@class SPXBeacon;
@class SPXLocation;
@class SPXError;

@protocol SPXStroeerProxityAPIDelegate;
Expand Down Expand Up @@ -86,7 +85,7 @@ typedef NS_ENUM(NSInteger, SPXState)
#pragma mark - Scanning

/**
* Determines wheter the device is supported by the SDK or not.
* Determines whether the device is supported by the SDK or not.
*
* @return @p Yes, if the device is supported and can be used for scanning.
*/
Expand Down Expand Up @@ -134,18 +133,29 @@ typedef NS_ENUM(NSInteger, SPXState)
@property (nonatomic, getter=isAnalyticsEnabled) BOOL analyticsEnabled;

/**
* If set, the custom advertising identifier will be added to each analytics event.
* Use this method to specify your own advertising identifier.
* The custom advertising identifier will be added to each analytics event.
* This can be used to identify the user across different apps.
*/
@property (nonatomic, nullable) NSString *customAdvertisingId;

/**
* If set to YES, the The Advertising Identifier (IDFA) from iOS will be added to each analytics event.
* Default value is YES.
* If set to YES, the Advertising Identifier (IDFA) from iOS will be added to each analytics event.
* Default setting within the SDK is YES.
*
* This method returns YES if the user has enabled advertising tracking in the system settings ([[ASIdentifierManager sharedManager] isAdvertisingTrackingEnabled]).
* If the user does not allow advertising tracking, it won't be enabled in the SDK.
*
*
* BOOL res = [[SPXStroeerProxityAPI sharedInstance] setAdvertisingTrackingEnabled:YES];
* setter returns true, if you want to enable feature and limit-ad-tracking is disabled
* setter returns false, if you want to enable feature and limit-ad-tracking is enabled
*
* BOOL res = [[SPXStroeerProxityAPI sharedInstance] setAdvertisingTrackingEnabled:NO];
* setter returns true, if you want to disable feature and/or limit-ad-tracking is disabled
* setter returns false, if you want to disable feature and/or limit-ad-tracking is enabled
*
*
* During the Submitting the App you have to answer questions about the IDFA. Indicate whether your app uses the Advertising Identifier, and if so, in what way.
* If you checked No but Apple determine your app does use IDFA, your app will be put into the Invalid Binary status, and you will be notified by email.
* Similarly, if you checked Yes but your app uses IDFA in ways that don’t match the statements you checked, your app will be rejected by App Review and put into the Rejected status.
Expand All @@ -156,6 +166,14 @@ typedef NS_ENUM(NSInteger, SPXState)
* https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/SubmittingTheApp.html#//apple_ref/doc/uid/TP40011225-CH33-SW8
*/
- (BOOL)setAdvertisingTrackingEnabled:(BOOL)advertisingTrackingEnabled;

/**
* You can check if Advertising Tracking is enabled on the user's device.
*
* returns true, if limit-ad-tracking is disabled
* returns false, if limit-ad-tracking is enabled
*
*/
- (BOOL)isAdvertisingTrackingEnabled;

#pragma mark - Logging
Expand Down Expand Up @@ -198,11 +216,11 @@ typedef NS_ENUM(NSInteger, SPXState)
@optional

/**
* Informs the delegate about an occured error. In case of a critical error (e.g. invalid Api-Key)
* Informs the delegate about an occurred error. In case of a critical error (e.g. invalid Api-Key)
* the SDK will stop scanning automatically.
*
* @param spxAPi The current instance of the api.
* @param error The occured error.
* @param error The occurred error.
*/
- (void)stroeerProxityAPI:(SPXStroeerProxityAPI*)spxAPi didFailWithError:(SPXError*)error;

Expand Down
Empty file modified StroeerProxity.framework/Versions/A/Headers/StroeerProxity.h
100755 → 100644
Empty file.
Binary file modified StroeerProxity.framework/Versions/A/StroeerProxity
100755 → 100644
Binary file not shown.

0 comments on commit ffaed42

Please sign in to comment.