Skip to content

Commit

Permalink
Beacon framework update
Browse files Browse the repository at this point in the history
  • Loading branch information
jgritman committed Dec 7, 2018
1 parent cc7d565 commit 1487a47
Show file tree
Hide file tree
Showing 67 changed files with 14 additions and 7 deletions.
Binary file modified Beacon.framework/Beacon
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/Assets.car
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/BeaconAttachmentCell.nib
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/BeaconContactFormField.nib
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/BeaconDateCustomField.nib
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/BeaconDatePicker.nib
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/BeaconDropdownCustomField.nib
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/BeaconDropdownPicker.nib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/BeaconMultilineCustomField.nib
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/BeaconNumberCustomField.nib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/BeaconSearchFooterView.nib
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/BeaconSinglelineCustomField.nib
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/HSBeaconLoadingViewController.nib
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/HSBeaconSearchResultsCell.nib
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/HSStatusMessageViewController.nib
Binary file not shown.
Binary file modified Beacon.framework/Beacon.bundle/Info.plist
Binary file not shown.
21 changes: 14 additions & 7 deletions Beacon.framework/Headers/HSBeacon.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,21 @@ NS_ASSUME_NONNULL_BEGIN

/**
Initializes push notifications for the Beacon SDK. This should be called if you
intend to receive push notifications, whether they are handled automatically or
manually.
intend to receive push notifications with a manual setup.
*/
+ (void)initializeBeaconPushNotificationSupport;

/**
Initializes automatic push notification handling for the Beacon SDK. This should
be called if you do not have to handle any push notifications that aren't from
Beacon.
Initializes automatic push notification handling for the Beacon SDK.
This will wrap the following methods on UIApplicationDelegage with method swizzling:
application:didReceiveRemoteNotification:
application:didRegisterForRemoteNotificationsWithDeviceToken:
application:didFailToRegisterForRemoteNotificationsWithError:
In addition, this wraps all of methods on UNUserNotificationCenterDelegate.
@param methodSwizzling Whether to override push notification methods on the
App Delegate.
@param overrideDelegate Whether to override `UNUserNotificationCenter`'s delegate
Expand All @@ -114,7 +119,9 @@ NS_ASSUME_NONNULL_BEGIN
+ (void)initializeAutomaticPushNotificationHandlingWithMethodSwizzling:(BOOL)methodSwizzling overrideUserNotificationCenterDelegate:(BOOL)overrideDelegate;

/**
Sets the push notification device token.
This lets Beacon know about the user's notification token, so the Beacon backend can
send push notifications on behalf of the app. You only need to call this for manual
push notification handling.
*/
+ (void)setDeviceToken:(NSData *)deviceToken;

Expand Down
Binary file modified Beacon.framework/Info.plist
Binary file not shown.

0 comments on commit 1487a47

Please sign in to comment.