diff --git a/Button.bundle/BTNAlertView~ipad.nib/objects-8.0+.nib b/Button.bundle/BTNAlertView~ipad.nib/objects-8.0+.nib index 24c2a439..2d34ac21 100644 Binary files a/Button.bundle/BTNAlertView~ipad.nib/objects-8.0+.nib and b/Button.bundle/BTNAlertView~ipad.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNAlertView~ipad.nib/runtime.nib b/Button.bundle/BTNAlertView~ipad.nib/runtime.nib index 5bd90103..2ff0f48c 100644 Binary files a/Button.bundle/BTNAlertView~ipad.nib/runtime.nib and b/Button.bundle/BTNAlertView~ipad.nib/runtime.nib differ diff --git a/Button.bundle/BTNAlertView~iphone.nib/objects-8.0+.nib b/Button.bundle/BTNAlertView~iphone.nib/objects-8.0+.nib index 2fd65b05..b88e606d 100644 Binary files a/Button.bundle/BTNAlertView~iphone.nib/objects-8.0+.nib and b/Button.bundle/BTNAlertView~iphone.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNAlertView~iphone.nib/runtime.nib b/Button.bundle/BTNAlertView~iphone.nib/runtime.nib index 28cf3583..997f593b 100644 Binary files a/Button.bundle/BTNAlertView~iphone.nib/runtime.nib and b/Button.bundle/BTNAlertView~iphone.nib/runtime.nib differ diff --git a/Button.bundle/BTNAppCard~ipad.nib/objects-8.0+.nib b/Button.bundle/BTNAppCard~ipad.nib/objects-8.0+.nib deleted file mode 100644 index 4b07db5c..00000000 Binary files a/Button.bundle/BTNAppCard~ipad.nib/objects-8.0+.nib and /dev/null differ diff --git a/Button.bundle/BTNAppCard~ipad.nib/runtime.nib b/Button.bundle/BTNAppCard~ipad.nib/runtime.nib deleted file mode 100644 index 2b19e1ae..00000000 Binary files a/Button.bundle/BTNAppCard~ipad.nib/runtime.nib and /dev/null differ diff --git a/Button.bundle/BTNAppCard~iphone.nib/objects-8.0+.nib b/Button.bundle/BTNAppCard~iphone.nib/objects-8.0+.nib deleted file mode 100644 index 8112e12e..00000000 Binary files a/Button.bundle/BTNAppCard~iphone.nib/objects-8.0+.nib and /dev/null differ diff --git a/Button.bundle/BTNAppCard~iphone.nib/runtime.nib b/Button.bundle/BTNAppCard~iphone.nib/runtime.nib deleted file mode 100644 index 377f9071..00000000 Binary files a/Button.bundle/BTNAppCard~iphone.nib/runtime.nib and /dev/null differ diff --git a/Button.bundle/BTNBaseModalController.nib b/Button.bundle/BTNBaseModalController.nib index 57821072..8da9440d 100644 Binary files a/Button.bundle/BTNBaseModalController.nib and b/Button.bundle/BTNBaseModalController.nib differ diff --git a/Button.bundle/BTNDefaultItemButton~ipad.nib/objects-8.0+.nib b/Button.bundle/BTNDefaultItemButton~ipad.nib/objects-8.0+.nib index 6f4d4d55..dda217cc 100644 Binary files a/Button.bundle/BTNDefaultItemButton~ipad.nib/objects-8.0+.nib and b/Button.bundle/BTNDefaultItemButton~ipad.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNDefaultItemButton~ipad.nib/runtime.nib b/Button.bundle/BTNDefaultItemButton~ipad.nib/runtime.nib index a5ee7266..96337487 100644 Binary files a/Button.bundle/BTNDefaultItemButton~ipad.nib/runtime.nib and b/Button.bundle/BTNDefaultItemButton~ipad.nib/runtime.nib differ diff --git a/Button.bundle/BTNDefaultItemButton~iphone.nib/objects-8.0+.nib b/Button.bundle/BTNDefaultItemButton~iphone.nib/objects-8.0+.nib index 5fcbf10c..fe129a69 100644 Binary files a/Button.bundle/BTNDefaultItemButton~iphone.nib/objects-8.0+.nib and b/Button.bundle/BTNDefaultItemButton~iphone.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNDefaultItemButton~iphone.nib/runtime.nib b/Button.bundle/BTNDefaultItemButton~iphone.nib/runtime.nib index f36f80af..5230161f 100644 Binary files a/Button.bundle/BTNDefaultItemButton~iphone.nib/runtime.nib and b/Button.bundle/BTNDefaultItemButton~iphone.nib/runtime.nib differ diff --git a/Button.bundle/BTNGroupNameCell~ipad.nib/objects-8.0+.nib b/Button.bundle/BTNGroupNameCell~ipad.nib/objects-8.0+.nib index 02828f21..1365996d 100644 Binary files a/Button.bundle/BTNGroupNameCell~ipad.nib/objects-8.0+.nib and b/Button.bundle/BTNGroupNameCell~ipad.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNGroupNameCell~ipad.nib/runtime.nib b/Button.bundle/BTNGroupNameCell~ipad.nib/runtime.nib index 691b2731..80d8d9f8 100644 Binary files a/Button.bundle/BTNGroupNameCell~ipad.nib/runtime.nib and b/Button.bundle/BTNGroupNameCell~ipad.nib/runtime.nib differ diff --git a/Button.bundle/BTNGroupNameCell~iphone.nib/objects-8.0+.nib b/Button.bundle/BTNGroupNameCell~iphone.nib/objects-8.0+.nib index 254e146a..8c711e9a 100644 Binary files a/Button.bundle/BTNGroupNameCell~iphone.nib/objects-8.0+.nib and b/Button.bundle/BTNGroupNameCell~iphone.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNGroupNameCell~iphone.nib/runtime.nib b/Button.bundle/BTNGroupNameCell~iphone.nib/runtime.nib index 755e8e79..76d0bcbb 100644 Binary files a/Button.bundle/BTNGroupNameCell~iphone.nib/runtime.nib and b/Button.bundle/BTNGroupNameCell~iphone.nib/runtime.nib differ diff --git a/Button.bundle/BTNInventoryItemCell~ipad.nib/objects-8.0+.nib b/Button.bundle/BTNInventoryItemCell~ipad.nib/objects-8.0+.nib index 9b192b11..38f53716 100644 Binary files a/Button.bundle/BTNInventoryItemCell~ipad.nib/objects-8.0+.nib and b/Button.bundle/BTNInventoryItemCell~ipad.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNInventoryItemCell~ipad.nib/runtime.nib b/Button.bundle/BTNInventoryItemCell~ipad.nib/runtime.nib index 8e61a198..69c380e0 100644 Binary files a/Button.bundle/BTNInventoryItemCell~ipad.nib/runtime.nib and b/Button.bundle/BTNInventoryItemCell~ipad.nib/runtime.nib differ diff --git a/Button.bundle/BTNInventoryItemCell~iphone.nib/objects-8.0+.nib b/Button.bundle/BTNInventoryItemCell~iphone.nib/objects-8.0+.nib index 78c82172..b4ea21c2 100644 Binary files a/Button.bundle/BTNInventoryItemCell~iphone.nib/objects-8.0+.nib and b/Button.bundle/BTNInventoryItemCell~iphone.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNInventoryItemCell~iphone.nib/runtime.nib b/Button.bundle/BTNInventoryItemCell~iphone.nib/runtime.nib index 963e460b..570021d3 100644 Binary files a/Button.bundle/BTNInventoryItemCell~iphone.nib/runtime.nib and b/Button.bundle/BTNInventoryItemCell~iphone.nib/runtime.nib differ diff --git a/Button.bundle/BTNInventoryListCell~ipad.nib/objects-8.0+.nib b/Button.bundle/BTNInventoryListCell~ipad.nib/objects-8.0+.nib index 215d4467..c2ac4c73 100644 Binary files a/Button.bundle/BTNInventoryListCell~ipad.nib/objects-8.0+.nib and b/Button.bundle/BTNInventoryListCell~ipad.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNInventoryListCell~ipad.nib/runtime.nib b/Button.bundle/BTNInventoryListCell~ipad.nib/runtime.nib index d6806f6a..98760b7b 100644 Binary files a/Button.bundle/BTNInventoryListCell~ipad.nib/runtime.nib and b/Button.bundle/BTNInventoryListCell~ipad.nib/runtime.nib differ diff --git a/Button.bundle/BTNInventoryListCell~iphone.nib/objects-8.0+.nib b/Button.bundle/BTNInventoryListCell~iphone.nib/objects-8.0+.nib index 273b86ee..c8a3f025 100644 Binary files a/Button.bundle/BTNInventoryListCell~iphone.nib/objects-8.0+.nib and b/Button.bundle/BTNInventoryListCell~iphone.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNInventoryListCell~iphone.nib/runtime.nib b/Button.bundle/BTNInventoryListCell~iphone.nib/runtime.nib index 6ddb6c1f..4b113c70 100644 Binary files a/Button.bundle/BTNInventoryListCell~iphone.nib/runtime.nib and b/Button.bundle/BTNInventoryListCell~iphone.nib/runtime.nib differ diff --git a/Button.bundle/BTNInventoryPreviewView~ipad.nib/objects-8.0+.nib b/Button.bundle/BTNInventoryPreviewView~ipad.nib/objects-8.0+.nib index ac08e1ae..ea14be23 100644 Binary files a/Button.bundle/BTNInventoryPreviewView~ipad.nib/objects-8.0+.nib and b/Button.bundle/BTNInventoryPreviewView~ipad.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNInventoryPreviewView~ipad.nib/runtime.nib b/Button.bundle/BTNInventoryPreviewView~ipad.nib/runtime.nib index a91a4d5d..329509c9 100644 Binary files a/Button.bundle/BTNInventoryPreviewView~ipad.nib/runtime.nib and b/Button.bundle/BTNInventoryPreviewView~ipad.nib/runtime.nib differ diff --git a/Button.bundle/BTNInventoryPreviewView~iphone.nib/objects-8.0+.nib b/Button.bundle/BTNInventoryPreviewView~iphone.nib/objects-8.0+.nib index 305000e8..237f6822 100644 Binary files a/Button.bundle/BTNInventoryPreviewView~iphone.nib/objects-8.0+.nib and b/Button.bundle/BTNInventoryPreviewView~iphone.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNInventoryPreviewView~iphone.nib/runtime.nib b/Button.bundle/BTNInventoryPreviewView~iphone.nib/runtime.nib index 40e2a741..b788a780 100644 Binary files a/Button.bundle/BTNInventoryPreviewView~iphone.nib/runtime.nib and b/Button.bundle/BTNInventoryPreviewView~iphone.nib/runtime.nib differ diff --git a/Button.bundle/BTNInventoryView~ipad.nib/objects-8.0+.nib b/Button.bundle/BTNInventoryView~ipad.nib/objects-8.0+.nib index e578108b..f94816ab 100644 Binary files a/Button.bundle/BTNInventoryView~ipad.nib/objects-8.0+.nib and b/Button.bundle/BTNInventoryView~ipad.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNInventoryView~ipad.nib/runtime.nib b/Button.bundle/BTNInventoryView~ipad.nib/runtime.nib index 8f1d9578..924a6c03 100644 Binary files a/Button.bundle/BTNInventoryView~ipad.nib/runtime.nib and b/Button.bundle/BTNInventoryView~ipad.nib/runtime.nib differ diff --git a/Button.bundle/BTNInventoryView~iphone.nib/objects-8.0+.nib b/Button.bundle/BTNInventoryView~iphone.nib/objects-8.0+.nib index dca18d06..8e681b25 100644 Binary files a/Button.bundle/BTNInventoryView~iphone.nib/objects-8.0+.nib and b/Button.bundle/BTNInventoryView~iphone.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNInventoryView~iphone.nib/runtime.nib b/Button.bundle/BTNInventoryView~iphone.nib/runtime.nib index 5e845166..fcc284be 100644 Binary files a/Button.bundle/BTNInventoryView~iphone.nib/runtime.nib and b/Button.bundle/BTNInventoryView~iphone.nib/runtime.nib differ diff --git a/Button.bundle/BTNLocationRequestView~ipad.nib/objects-8.0+.nib b/Button.bundle/BTNLocationRequestView~ipad.nib/objects-8.0+.nib index ca597aae..9d65728a 100644 Binary files a/Button.bundle/BTNLocationRequestView~ipad.nib/objects-8.0+.nib and b/Button.bundle/BTNLocationRequestView~ipad.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNLocationRequestView~ipad.nib/runtime.nib b/Button.bundle/BTNLocationRequestView~ipad.nib/runtime.nib index 71f2dc4b..33baad64 100644 Binary files a/Button.bundle/BTNLocationRequestView~ipad.nib/runtime.nib and b/Button.bundle/BTNLocationRequestView~ipad.nib/runtime.nib differ diff --git a/Button.bundle/BTNLocationRequestView~iphone.nib/objects-8.0+.nib b/Button.bundle/BTNLocationRequestView~iphone.nib/objects-8.0+.nib index 73af8eb0..e9569c0b 100644 Binary files a/Button.bundle/BTNLocationRequestView~iphone.nib/objects-8.0+.nib and b/Button.bundle/BTNLocationRequestView~iphone.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNLocationRequestView~iphone.nib/runtime.nib b/Button.bundle/BTNLocationRequestView~iphone.nib/runtime.nib index f8033f86..5c6d959a 100644 Binary files a/Button.bundle/BTNLocationRequestView~iphone.nib/runtime.nib and b/Button.bundle/BTNLocationRequestView~iphone.nib/runtime.nib differ diff --git a/Button.bundle/Button-Info.plist b/Button.bundle/Button-Info.plist index 6b945555..19a45835 100644 Binary files a/Button.bundle/Button-Info.plist and b/Button.bundle/Button-Info.plist differ diff --git a/Button.bundle/ic_compass.png b/Button.bundle/ic_compass.png index e34a566d..55491e2d 100644 Binary files a/Button.bundle/ic_compass.png and b/Button.bundle/ic_compass.png differ diff --git a/Button.bundle/ic_compass@2x.png b/Button.bundle/ic_compass@2x.png index 94b34e21..c545e15e 100644 Binary files a/Button.bundle/ic_compass@2x.png and b/Button.bundle/ic_compass@2x.png differ diff --git a/Button.bundle/ic_compass@3x.png b/Button.bundle/ic_compass@3x.png index 04ab44c0..4e697827 100644 Binary files a/Button.bundle/ic_compass@3x.png and b/Button.bundle/ic_compass@3x.png differ diff --git a/Button.bundle/ic_disclosure@2x.png b/Button.bundle/ic_disclosure@2x.png index 15ad0cac..d5494323 100644 Binary files a/Button.bundle/ic_disclosure@2x.png and b/Button.bundle/ic_disclosure@2x.png differ diff --git a/Button.bundle/ic_disclosure@3x.png b/Button.bundle/ic_disclosure@3x.png index 15ad0cac..d5494323 100644 Binary files a/Button.bundle/ic_disclosure@3x.png and b/Button.bundle/ic_disclosure@3x.png differ diff --git a/Button.bundle/ic_dismiss.png b/Button.bundle/ic_dismiss.png index 42613aba..025f76b4 100644 Binary files a/Button.bundle/ic_dismiss.png and b/Button.bundle/ic_dismiss.png differ diff --git a/Button.bundle/ic_dismiss@2x.png b/Button.bundle/ic_dismiss@2x.png index 838e3b20..498063e8 100644 Binary files a/Button.bundle/ic_dismiss@2x.png and b/Button.bundle/ic_dismiss@2x.png differ diff --git a/Button.bundle/ic_dismiss@3x.png b/Button.bundle/ic_dismiss@3x.png index 52ae7705..eb2d4e2d 100644 Binary files a/Button.bundle/ic_dismiss@3x.png and b/Button.bundle/ic_dismiss@3x.png differ diff --git a/Button.bundle/tx_ride.png b/Button.bundle/tx_ride.png deleted file mode 100644 index 4231ec31..00000000 Binary files a/Button.bundle/tx_ride.png and /dev/null differ diff --git a/Button.bundle/tx_ride@2x.png b/Button.bundle/tx_ride@2x.png deleted file mode 100644 index cb5a8351..00000000 Binary files a/Button.bundle/tx_ride@2x.png and /dev/null differ diff --git a/Button.bundle/tx_ride@3x.png b/Button.bundle/tx_ride@3x.png deleted file mode 100644 index a14cf89d..00000000 Binary files a/Button.bundle/tx_ride@3x.png and /dev/null differ diff --git a/Button.framework/Versions/A/Button b/Button.framework/Versions/A/Button index fb83572c..2dca4bc0 100644 Binary files a/Button.framework/Versions/A/Button and b/Button.framework/Versions/A/Button differ diff --git a/Button.framework/Versions/A/Headers/Button.h b/Button.framework/Versions/A/Headers/Button.h index 49de6005..17d7ed74 100644 --- a/Button.framework/Versions/A/Headers/Button.h +++ b/Button.framework/Versions/A/Headers/Button.h @@ -21,17 +21,17 @@ /** Configures a Button instance with the provided applicationId @param applicationId Your applicationId (required) - @param completionBlock block to execute when completed (optional) + @param completionHandler A block to be executed upon completion. (optional) **/ - (void)configureWithApplicationId:(NSString *)applicationId - completion:(void(^)(NSError *error))completionBlock; + completion:(void(^)(NSError *error))completionHandler; /** Checks whether Button has an action available for a buttonId and contextually relevant data. @param buttonId The identifier for a button (e.g. btn-xxxxxxxxxxxx). @param context A BTNContext object providing context about your user's current activity. - @param completionHandler A block to be executed upon completion of preparation. + @param completionHandler A block to be executed upon completion. */ - (void)willDisplayButtonWithId:(NSString *)buttonId context:(BTNContext *)context @@ -61,8 +61,19 @@ /** - The Button referrer token `btn_ref` indicating the last referrer. + Checks for any deferred deep links. + @param completionBlock A block to be executed once the check has completed. + If deeplinkURL is not nil, your application should open the url and update the UI accordingly. + @note This should be called after -configureWithApplicationId:completion: */ +- (void)checkForDeeplinkWithCompletion:(void(^)(NSURL *deeplinkURL))completionBlock; + + +/** + Returns the current referrerToken for the last inbound link from + the Button marketplace or nil if none is present. + @return String value of the last inbound referrerToken + **/ - (NSString *)referrerToken; diff --git a/Button.podspec b/Button.podspec index fd227f75..a91d3d2a 100644 --- a/Button.podspec +++ b/Button.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Button" - s.version = "4.0.1" + s.version = "4.1.0" s.summary = "Button iOS SDK." s.description = <<-DESC diff --git a/Examples/Objective-C/Button-CocoaPods/Podfile.lock b/Examples/Objective-C/Button-CocoaPods/Podfile.lock index b6e127ce..a2bc7666 100644 --- a/Examples/Objective-C/Button-CocoaPods/Podfile.lock +++ b/Examples/Objective-C/Button-CocoaPods/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - Button (4.0.1) + - Button (4.1.0) DEPENDENCIES: - Button (from `../../../`) @@ -9,6 +9,6 @@ EXTERNAL SOURCES: :path: ../../../ SPEC CHECKSUMS: - Button: 8a5a4a7610b1a860b08a1371c12ff183470116a6 + Button: f9017378d2838ba3fec70ac043dcd00067434c15 COCOAPODS: 0.39.0 diff --git a/Examples/Swift/Button-CocoaPods/Podfile.lock b/Examples/Swift/Button-CocoaPods/Podfile.lock index b6e127ce..a2bc7666 100644 --- a/Examples/Swift/Button-CocoaPods/Podfile.lock +++ b/Examples/Swift/Button-CocoaPods/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - Button (4.0.1) + - Button (4.1.0) DEPENDENCIES: - Button (from `../../../`) @@ -9,6 +9,6 @@ EXTERNAL SOURCES: :path: ../../../ SPEC CHECKSUMS: - Button: 8a5a4a7610b1a860b08a1371c12ff183470116a6 + Button: f9017378d2838ba3fec70ac043dcd00067434c15 COCOAPODS: 0.39.0