diff --git a/Button.bundle/BTNAlertView~ipad.nib/objects-8.0+.nib b/Button.bundle/BTNAlertView~ipad.nib/objects-8.0+.nib index 2ea0ae59..e67f4108 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 ecc7cb48..74eae3d8 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 37c01284..e6fa3f3c 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 cbf47e5c..2bced799 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 index 574c4a56..47fb8e82 100644 Binary files a/Button.bundle/BTNAppCard~ipad.nib/objects-8.0+.nib and b/Button.bundle/BTNAppCard~ipad.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNAppCard~ipad.nib/runtime.nib b/Button.bundle/BTNAppCard~ipad.nib/runtime.nib index 5bf80081..13bd7489 100644 Binary files a/Button.bundle/BTNAppCard~ipad.nib/runtime.nib and b/Button.bundle/BTNAppCard~ipad.nib/runtime.nib differ diff --git a/Button.bundle/BTNAppCard~iphone.nib/objects-8.0+.nib b/Button.bundle/BTNAppCard~iphone.nib/objects-8.0+.nib index b4f002b4..b4abf55b 100644 Binary files a/Button.bundle/BTNAppCard~iphone.nib/objects-8.0+.nib and b/Button.bundle/BTNAppCard~iphone.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNAppCard~iphone.nib/runtime.nib b/Button.bundle/BTNAppCard~iphone.nib/runtime.nib index 44205634..85188d84 100644 Binary files a/Button.bundle/BTNAppCard~iphone.nib/runtime.nib and b/Button.bundle/BTNAppCard~iphone.nib/runtime.nib differ diff --git a/Button.bundle/BTNBaseModalController~ipad.nib/objects-8.0+.nib b/Button.bundle/BTNBaseModalController~ipad.nib/objects-8.0+.nib index 9ecb1a9e..53ab3424 100644 Binary files a/Button.bundle/BTNBaseModalController~ipad.nib/objects-8.0+.nib and b/Button.bundle/BTNBaseModalController~ipad.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNBaseModalController~ipad.nib/runtime.nib b/Button.bundle/BTNBaseModalController~ipad.nib/runtime.nib index b3f52100..44e9ed45 100644 Binary files a/Button.bundle/BTNBaseModalController~ipad.nib/runtime.nib and b/Button.bundle/BTNBaseModalController~ipad.nib/runtime.nib differ diff --git a/Button.bundle/BTNBaseModalController~iphone.nib/objects-8.0+.nib b/Button.bundle/BTNBaseModalController~iphone.nib/objects-8.0+.nib index 6ef383ce..2de40157 100644 Binary files a/Button.bundle/BTNBaseModalController~iphone.nib/objects-8.0+.nib and b/Button.bundle/BTNBaseModalController~iphone.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNBaseModalController~iphone.nib/runtime.nib b/Button.bundle/BTNBaseModalController~iphone.nib/runtime.nib index 6a01de85..10ee38b8 100644 Binary files a/Button.bundle/BTNBaseModalController~iphone.nib/runtime.nib and b/Button.bundle/BTNBaseModalController~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 33178ad5..0cab7ff9 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 2158f9fd..2e49d589 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 8a04826a..baa029c5 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 b2332280..77451729 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/BTNRidePickerCell~ipad.nib/objects-8.0+.nib b/Button.bundle/BTNRidePickerCell~ipad.nib/objects-8.0+.nib index b7f8c0ee..a9f8d8d6 100644 Binary files a/Button.bundle/BTNRidePickerCell~ipad.nib/objects-8.0+.nib and b/Button.bundle/BTNRidePickerCell~ipad.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNRidePickerCell~ipad.nib/runtime.nib b/Button.bundle/BTNRidePickerCell~ipad.nib/runtime.nib index 81a92024..b8ab2178 100644 Binary files a/Button.bundle/BTNRidePickerCell~ipad.nib/runtime.nib and b/Button.bundle/BTNRidePickerCell~ipad.nib/runtime.nib differ diff --git a/Button.bundle/BTNRidePickerCell~iphone.nib/objects-8.0+.nib b/Button.bundle/BTNRidePickerCell~iphone.nib/objects-8.0+.nib index 28505466..066fec7a 100644 Binary files a/Button.bundle/BTNRidePickerCell~iphone.nib/objects-8.0+.nib and b/Button.bundle/BTNRidePickerCell~iphone.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNRidePickerCell~iphone.nib/runtime.nib b/Button.bundle/BTNRidePickerCell~iphone.nib/runtime.nib index 9bb6c957..56acfc0e 100644 Binary files a/Button.bundle/BTNRidePickerCell~iphone.nib/runtime.nib and b/Button.bundle/BTNRidePickerCell~iphone.nib/runtime.nib differ diff --git a/Button.bundle/BTNRidePickerView~ipad.nib/objects-8.0+.nib b/Button.bundle/BTNRidePickerView~ipad.nib/objects-8.0+.nib index e8bd053e..d68edd80 100644 Binary files a/Button.bundle/BTNRidePickerView~ipad.nib/objects-8.0+.nib and b/Button.bundle/BTNRidePickerView~ipad.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNRidePickerView~ipad.nib/runtime.nib b/Button.bundle/BTNRidePickerView~ipad.nib/runtime.nib index cb8d9e19..8a65cc8e 100644 Binary files a/Button.bundle/BTNRidePickerView~ipad.nib/runtime.nib and b/Button.bundle/BTNRidePickerView~ipad.nib/runtime.nib differ diff --git a/Button.bundle/BTNRidePickerView~iphone.nib/objects-8.0+.nib b/Button.bundle/BTNRidePickerView~iphone.nib/objects-8.0+.nib index 63cc75f0..45ccbaa6 100644 Binary files a/Button.bundle/BTNRidePickerView~iphone.nib/objects-8.0+.nib and b/Button.bundle/BTNRidePickerView~iphone.nib/objects-8.0+.nib differ diff --git a/Button.bundle/BTNRidePickerView~iphone.nib/runtime.nib b/Button.bundle/BTNRidePickerView~iphone.nib/runtime.nib index e425ed94..7afe3bde 100644 Binary files a/Button.bundle/BTNRidePickerView~iphone.nib/runtime.nib and b/Button.bundle/BTNRidePickerView~iphone.nib/runtime.nib differ diff --git a/Button.bundle/Button-Info.plist b/Button.bundle/Button-Info.plist index e21bec6a..cfbe4fef 100644 Binary files a/Button.bundle/Button-Info.plist and b/Button.bundle/Button-Info.plist differ diff --git a/Button.framework/Button b/Button.framework/Button index 50602184..4b48fb0e 100644 Binary files a/Button.framework/Button and b/Button.framework/Button differ diff --git a/Button.framework/Headers/Button.h b/Button.framework/Headers/Button.h index 418e4da5..73837937 100644 --- a/Button.framework/Headers/Button.h +++ b/Button.framework/Headers/Button.h @@ -61,6 +61,17 @@ typedef void(^BTNConfigurationCompletionBlock)(NSError *error); - (void)setThirdPartyId:(NSString *)thirdPartyId; +/** + Reports an order to Button. + @param orderValue The value of the order in pennies. + @param orderId An order identifier (required). + @param currencyCode The ISO 4217 currency code. (default is USD). + */ +- (void)reportOrderWithValue:(NSInteger)orderValue + orderId:(NSString *)orderId + currencyCode:(NSString *)currencyCode; + + ///---------------------------- /// @name Notification Handling ///---------------------------- diff --git a/Button.framework/Versions/A/Button b/Button.framework/Versions/A/Button index 50602184..4b48fb0e 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 418e4da5..73837937 100644 --- a/Button.framework/Versions/A/Headers/Button.h +++ b/Button.framework/Versions/A/Headers/Button.h @@ -61,6 +61,17 @@ typedef void(^BTNConfigurationCompletionBlock)(NSError *error); - (void)setThirdPartyId:(NSString *)thirdPartyId; +/** + Reports an order to Button. + @param orderValue The value of the order in pennies. + @param orderId An order identifier (required). + @param currencyCode The ISO 4217 currency code. (default is USD). + */ +- (void)reportOrderWithValue:(NSInteger)orderValue + orderId:(NSString *)orderId + currencyCode:(NSString *)currencyCode; + + ///---------------------------- /// @name Notification Handling ///---------------------------- diff --git a/Button.framework/Versions/Current/Button b/Button.framework/Versions/Current/Button index 50602184..4b48fb0e 100644 Binary files a/Button.framework/Versions/Current/Button and b/Button.framework/Versions/Current/Button differ diff --git a/Button.framework/Versions/Current/Headers/Button.h b/Button.framework/Versions/Current/Headers/Button.h index 418e4da5..73837937 100644 --- a/Button.framework/Versions/Current/Headers/Button.h +++ b/Button.framework/Versions/Current/Headers/Button.h @@ -61,6 +61,17 @@ typedef void(^BTNConfigurationCompletionBlock)(NSError *error); - (void)setThirdPartyId:(NSString *)thirdPartyId; +/** + Reports an order to Button. + @param orderValue The value of the order in pennies. + @param orderId An order identifier (required). + @param currencyCode The ISO 4217 currency code. (default is USD). + */ +- (void)reportOrderWithValue:(NSInteger)orderValue + orderId:(NSString *)orderId + currencyCode:(NSString *)currencyCode; + + ///---------------------------- /// @name Notification Handling ///---------------------------- diff --git a/Button.podspec b/Button.podspec index 1a721e72..651e1771 100644 --- a/Button.podspec +++ b/Button.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Button" - s.version = "3.1.7" + s.version = "3.2.0" s.summary = "Button iOS SDK." s.description = <<-DESC @@ -26,8 +26,6 @@ Pod::Spec.new do |s| s.vendored_frameworks = 'Button.framework' s.resource = 'Button.bundle' - s.dependency "AFNetworking", "~> 2" - s.framework = "CoreLocation" s.framework = "AdSupport" diff --git a/Examples/Button-CocoaPods/Podfile.lock b/Examples/Button-CocoaPods/Podfile.lock index 2f3d83bf..73d777a7 100644 --- a/Examples/Button-CocoaPods/Podfile.lock +++ b/Examples/Button-CocoaPods/Podfile.lock @@ -20,7 +20,7 @@ PODS: - AFNetworking/UIKit (2.5.4): - AFNetworking/NSURLConnection - AFNetworking/NSURLSession - - Button (3.1.7): + - Button (3.2.0): - AFNetworking (~> 2) DEPENDENCIES: @@ -33,6 +33,6 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: AFNetworking: 05edc0ac4c4c8cf57bcf4b84be5b0744b6d8e71e - Button: cbe6577e8e1a96292d367b82d6f9284229f36323 + Button: 871f1fdcd4fa430643794decc7dd89ee5802a675 -COCOAPODS: 0.37.1 +COCOAPODS: 0.37.2