Skip to content

Commit

Permalink
Release v5.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Button Bot authored and pavelpantus committed Apr 6, 2017
1 parent d5f2c65 commit 9484f64
Show file tree
Hide file tree
Showing 23 changed files with 40 additions and 5 deletions.
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/Button-Info.plist
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.
35 changes: 35 additions & 0 deletions Button.framework/Versions/A/Headers/Button.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,41 @@
completion:(nonnull void(^)(BTNAppAction * __nullable appAction, NSError * __nullable error))completionHandler;


/**
Checks if app action can be fetched for provided url.
@param url A merchant or affilate url.
return BOOL indicating whether the Button SDK can fetch app action for provided url.
@discussion Can be used with `- fetchAppActionWithURL:completion:`
@code
if ([[Button sharedButton] canFetchAppActionWithURL:url]) {
[[Button sharedButton] fetchAppActionWithURL:url completion:^(BTNAppAction *appAction, NSError *error) {
if (appAction) {
[appAction invokeAction];
}
}];
}
@endcode
*/
- (BOOL)canFetchAppActionWithURL:(nonnull NSURL *)url;


/**
Fetches an app action for a supported url.
@param url A merchant or affilate url.
@param completionHandler A block to be executed upon completion.
@discussion The completion handler takes two parameters
- appAction A BTNAppAction instance or nil if no action was found for the provided url.
- error An error will be present if an error occurred.
@note Returned actions are NOT cached.
@note Returns immidiately if provided url is not supported.
*/
- (void)fetchAppActionWithURL:(nonnull NSURL *)url
completion:(nonnull void(^)(BTNAppAction * __nullable appAction, NSError * __nullable error))completionHandler;


///-------------------------
/// @name Deep Link Handling
///-------------------------
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.8.0"
s.version = "5.9.0"
s.summary = "Button iOS SDK."

s.description = <<-DESC
Expand Down
4 changes: 2 additions & 2 deletions Examples/Objective-C/Button-CocoaPods/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- Button (5.8.0)
- Button (5.9.0)

DEPENDENCIES:
- Button (from `../../../`)
Expand All @@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: "../../../"

SPEC CHECKSUMS:
Button: 6e418ce508d93c47e4784b7b826e26047bf1d9a3
Button: dbd6626714c1ec2b56af9e5271abaa8f21b64fa1

PODFILE CHECKSUM: b62f13ba0b325840ecb1fce12a2403f20a0d77fe

Expand Down
4 changes: 2 additions & 2 deletions Examples/Swift/Button-CocoaPods/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- Button (5.8.0)
- Button (5.9.0)

DEPENDENCIES:
- Button (from `../../../`)
Expand All @@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: "../../../"

SPEC CHECKSUMS:
Button: 6e418ce508d93c47e4784b7b826e26047bf1d9a3
Button: dbd6626714c1ec2b56af9e5271abaa8f21b64fa1

PODFILE CHECKSUM: 293fc3ed68c3abd2dca24349c320c6f18e87dbfc

Expand Down

0 comments on commit 9484f64

Please sign in to comment.