Skip to content

Commit

Permalink
Release v5.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Button Bot authored and wessmith committed May 9, 2017
1 parent 93815f1 commit 574f637
Show file tree
Hide file tree
Showing 23 changed files with 35 additions and 7 deletions.
Binary file modified Button.bundle/BTNAuthViewController.nib
Binary file not shown.
Binary file modified Button.bundle/BTNBaseModalController.nib
Binary file not shown.
Binary file modified Button.bundle/BTNDefaultItemButton.nib
Binary file not shown.
Binary file modified Button.bundle/BTNGroupNameCell.nib
Binary file not shown.
Binary file modified Button.bundle/BTNInstallBannerView.nib
Binary file not shown.
Binary file modified Button.bundle/BTNInteractiveButtonContentView.nib
Binary file not shown.
Binary file modified Button.bundle/BTNInteractiveButtonInventoryCell.nib
Binary file not shown.
Binary file modified Button.bundle/BTNInventoryItemCell.nib
Binary file not shown.
Binary file modified Button.bundle/BTNInventoryListCell.nib
Binary file not shown.
Binary file modified Button.bundle/BTNInventoryPreviewView.nib
Binary file not shown.
Binary file modified Button.bundle/BTNInventoryView.nib
Binary file not shown.
Binary file modified Button.bundle/BTNLocationRequestView.nib
Binary file not shown.
Binary file modified Button.bundle/BTNNavigationHeaderView.nib
Binary file not shown.
Binary file modified Button.bundle/BTNSandboxAppStoreController.nib
Binary file not shown.
Binary file modified Button.bundle/BTNSimulatorInstallView.nib
Binary file not shown.
Binary file modified Button.bundle/BTNTextBannerView.nib
Binary file not shown.
Binary file modified Button.bundle/BTNWebViewSheetController.nib
Binary file not shown.
Binary file modified Button.bundle/Info.plist
Binary file not shown.
Binary file modified Button.framework/Versions/A/Button
Binary file not shown.
28 changes: 28 additions & 0 deletions Button.framework/Versions/A/Headers/Button.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
Fetches an app action 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 publisherReference A token to be associated with all downstream orders, transactions and webhooks. (Max 100 chars.)
@param completionHandler A block to be executed upon completion.
@discussion The completion handler takes two parameters
Expand All @@ -82,6 +83,15 @@
For example, calling this method again with the same `buttonId` and `context` will return a previously fetched
and cached app action if the action is still valid.
*/
- (void)fetchAppActionWithButtonId:(nonnull NSString *)buttonId
context:(nonnull BTNContext *)context
publisherReference:(nullable NSString *)publisherReference
completion:(nonnull void(^)(BTNAppAction * __nullable appAction, NSError * __nullable error))completionHandler;


/**
@see -fetchAppActionWithButtonId:context:publisherReference:completion:
*/
- (void)fetchAppActionWithButtonId:(nonnull NSString *)buttonId
context:(nonnull BTNContext *)context
completion:(nonnull void(^)(BTNAppAction * __nullable appAction, NSError * __nullable error))completionHandler;
Expand All @@ -90,6 +100,7 @@
/**
Fetches an app action for a merchantId.
@param merchantId The identifier for a merchant (e.g. org-xxxxxxxxxxxx).
@param publisherReference A token to be associated with all downstream orders, transactions and webhooks. (Max 100 chars.)
@param completionHandler A block to be executed upon completion.
@discussion The completion handler takes two parameters
Expand All @@ -98,6 +109,14 @@
@note Returned actions are NOT cached.
*/
- (void)fetchAppActionWithMerchantId:(nonnull NSString *)merchantId
publisherReference:(nullable NSString *)publisherReference
completion:(nonnull void(^)(BTNAppAction * __nullable appAction, NSError * __nullable error))completionHandler;


/**
@see -fetchAppActionWithMerchantId:publisherReference:completion:
*/
- (void)fetchAppActionWithMerchantId:(nonnull NSString *)merchantId
completion:(nonnull void(^)(BTNAppAction * __nullable appAction, NSError * __nullable error))completionHandler;

Expand All @@ -124,6 +143,7 @@
/**
Fetches an app action for a supported url.
@param url A merchant or affilate url.
@param publisherReference A token to be associated with all downstream orders, transactions and webhooks. (Max 100 chars.)
@param completionHandler A block to be executed upon completion.
@discussion The completion handler takes two parameters
Expand All @@ -133,6 +153,14 @@
@note Returned actions are NOT cached.
@note Returns immidiately if provided url is not supported.
*/
- (void)fetchAppActionWithURL:(nonnull NSURL *)url
publisherReference:(nullable NSString *)publisherReference
completion:(nonnull void(^)(BTNAppAction * __nullable appAction, NSError * __nullable error))completionHandler;


/**
@see -fetchAppActionWithURL:publisherReference:completion:
*/
- (void)fetchAppActionWithURL:(nonnull NSURL *)url
completion:(nonnull void(^)(BTNAppAction * __nullable appAction, NSError * __nullable error))completionHandler;

Expand Down
2 changes: 1 addition & 1 deletion Button.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "Button"
s.version = "5.10.0"
s.version = "5.11.0"
s.summary = "Button iOS SDK."

s.description = <<-DESC
Expand Down
6 changes: 3 additions & 3 deletions Examples/Objective-C/Button-CocoaPods/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
PODS:
- Button (5.10.0)
- Button (5.11.0)

DEPENDENCIES:
- Button (from `../../../`)

EXTERNAL SOURCES:
Button:
:path: "../../../"
:path: ../../../

SPEC CHECKSUMS:
Button: 2f4316562ec85e6322b673da17e410b5eb0900c8
Button: bb34a4c5881e2ce046c974d1848b37acd57bce41

PODFILE CHECKSUM: b62f13ba0b325840ecb1fce12a2403f20a0d77fe

Expand Down
6 changes: 3 additions & 3 deletions Examples/Swift/Button-CocoaPods/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
PODS:
- Button (5.10.0)
- Button (5.11.0)

DEPENDENCIES:
- Button (from `../../../`)

EXTERNAL SOURCES:
Button:
:path: "../../../"
:path: ../../../

SPEC CHECKSUMS:
Button: 2f4316562ec85e6322b673da17e410b5eb0900c8
Button: bb34a4c5881e2ce046c974d1848b37acd57bce41

PODFILE CHECKSUM: 293fc3ed68c3abd2dca24349c320c6f18e87dbfc

Expand Down

0 comments on commit 574f637

Please sign in to comment.