diff --git a/PayPal-iOS-SDK.podspec b/PayPal-iOS-SDK.podspec index 91bf3b5..eb8c14c 100644 --- a/PayPal-iOS-SDK.podspec +++ b/PayPal-iOS-SDK.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'PayPal-iOS-SDK' - spec.version = '2.8.5' + spec.version = '2.9.0' spec.license = { type: 'BSD', file: 'LICENSE.md' } spec.homepage = 'https://developer.paypal.com/webapps/developer/docs/integration/mobile/mobile-sdk-overview/' spec.authors = { 'PayPal' => 'support@paypal.com' } diff --git a/PayPalMobile/CardIO.h b/PayPalMobile/CardIO.h index 7a4c98c..49d898b 100644 --- a/PayPalMobile/CardIO.h +++ b/PayPalMobile/CardIO.h @@ -1,6 +1,6 @@ // // CardIO.h -// Version 5.0.2 +// Version 5.0.3 // // See the file "LICENSE.md" for the full license governing this code. // diff --git a/PayPalMobile/CardIOCreditCardInfo.h b/PayPalMobile/CardIOCreditCardInfo.h index 0144835..e0adba8 100644 --- a/PayPalMobile/CardIOCreditCardInfo.h +++ b/PayPalMobile/CardIOCreditCardInfo.h @@ -1,6 +1,6 @@ // // CardIOCreditCardInfo.h -// Version 5.0.2 +// Version 5.0.3 // // See the file "LICENSE.md" for the full license governing this code. // diff --git a/PayPalMobile/CardIODetectionMode.h b/PayPalMobile/CardIODetectionMode.h index c4df651..4a0b810 100644 --- a/PayPalMobile/CardIODetectionMode.h +++ b/PayPalMobile/CardIODetectionMode.h @@ -1,6 +1,6 @@ // // CardIODetectionMode.h -// Version 5.0.2 +// Version 5.0.3 // // See the file "LICENSE.md" for the full license governing this code. // diff --git a/PayPalMobile/CardIOPaymentViewController.h b/PayPalMobile/CardIOPaymentViewController.h index dbac3af..47cd435 100644 --- a/PayPalMobile/CardIOPaymentViewController.h +++ b/PayPalMobile/CardIOPaymentViewController.h @@ -1,6 +1,6 @@ // // CardIOPaymentViewController.h -// Version 5.0.2 +// Version 5.0.3 // // See the file "LICENSE.md" for the full license governing this code. // diff --git a/PayPalMobile/CardIOPaymentViewControllerDelegate.h b/PayPalMobile/CardIOPaymentViewControllerDelegate.h index ccbc8b6..62a75a2 100644 --- a/PayPalMobile/CardIOPaymentViewControllerDelegate.h +++ b/PayPalMobile/CardIOPaymentViewControllerDelegate.h @@ -1,6 +1,6 @@ // // CardIOPaymentViewControllerDelegate.h -// Version 5.0.2 +// Version 5.0.3 // // See the file "LICENSE.md" for the full license governing this code. // diff --git a/PayPalMobile/CardIOUtilities.h b/PayPalMobile/CardIOUtilities.h index 47578ca..93cf8b8 100644 --- a/PayPalMobile/CardIOUtilities.h +++ b/PayPalMobile/CardIOUtilities.h @@ -1,6 +1,6 @@ // // CardIOUtilities.h -// Version 5.0.2 +// Version 5.0.3 // // See the file "LICENSE.md" for the full license governing this code. // diff --git a/PayPalMobile/CardIOView.h b/PayPalMobile/CardIOView.h index 9c4ec47..502160d 100644 --- a/PayPalMobile/CardIOView.h +++ b/PayPalMobile/CardIOView.h @@ -1,6 +1,6 @@ // // CardIOView.h -// Version 5.0.2 +// Version 5.0.3 // // See the file "LICENSE.md" for the full license governing this code. // diff --git a/PayPalMobile/CardIOViewDelegate.h b/PayPalMobile/CardIOViewDelegate.h index 03aec78..80c3bed 100644 --- a/PayPalMobile/CardIOViewDelegate.h +++ b/PayPalMobile/CardIOViewDelegate.h @@ -1,6 +1,6 @@ // // CardIOViewDelegate.h -// Version 5.0.2 +// Version 5.0.3 // // See the file "LICENSE.md" for the full license governing this code. // diff --git a/PayPalMobile/PayPalConfiguration.h b/PayPalMobile/PayPalConfiguration.h index 4c363a6..9155d4d 100644 --- a/PayPalMobile/PayPalConfiguration.h +++ b/PayPalMobile/PayPalConfiguration.h @@ -1,7 +1,7 @@ // // PayPalConfiguration.h // -// Version 2.8.5 +// Version 2.9.0 // // Copyright (c) 2014, PayPal // All rights reserved. @@ -88,6 +88,17 @@ typedef NS_ENUM(NSInteger, PayPalShippingAddressOption) { /// ar,da,de,en,en_AU,en_GB,es,es_MX,fr,he,it,ja,ko,ms,nb,nl,pl,pt,pt_BR,ru,sv,th,tr,zh-Hans,zh-Hant,zh-Hant_TW. @property(nonatomic, copy, readwrite) NSString *languageOrLocale; +/// If set to YES, then all displayed payment amounts will include a currency code (e.g., "USD") +/// in addition to the standard currency symbol (e.g., "$"). +/// +/// Even if set to NO, currency codes will still be displayed in the case where a user's PayPal account +/// includes any funding source whose currency differs from that of the current payment. +/// For example, if the current payment is in US Dollars but the user's PayPal account includes a +/// credit card in Canadian Dollars, then all displayed amounts will be labeled as either USD or CAD. +/// +/// Defaults to NO. +@property(nonatomic, assign, readwrite) BOOL alwaysDisplayCurrencyCodes; + /// Normally, the SDK blurs the screen when the app is backgrounded, /// to obscure credit card or PayPal account details in the iOS-saved screenshot. /// If your app already does its own blurring upon backgrounding, you might choose to disable this. diff --git a/PayPalMobile/PayPalFuturePaymentViewController.h b/PayPalMobile/PayPalFuturePaymentViewController.h index f9aa1ec..3f298ab 100644 --- a/PayPalMobile/PayPalFuturePaymentViewController.h +++ b/PayPalMobile/PayPalFuturePaymentViewController.h @@ -1,7 +1,7 @@ // // PayPalFuturePaymentViewController.h // -// Version 2.8.5 +// Version 2.9.0 // // Copyright (c) 2014, PayPal // All rights reserved. diff --git a/PayPalMobile/PayPalMobile.h b/PayPalMobile/PayPalMobile.h index 0f447c9..4a8eea7 100644 --- a/PayPalMobile/PayPalMobile.h +++ b/PayPalMobile/PayPalMobile.h @@ -1,7 +1,7 @@ // // PayPalMobile.h // -// Version 2.8.5 +// Version 2.9.0 // // Copyright (c) 2014, PayPal // All rights reserved. diff --git a/PayPalMobile/PayPalOAuthScopes.h b/PayPalMobile/PayPalOAuthScopes.h index 42e5a54..3b619c4 100644 --- a/PayPalMobile/PayPalOAuthScopes.h +++ b/PayPalMobile/PayPalOAuthScopes.h @@ -1,7 +1,7 @@ // // PayPalOAuthScopes.h // -// Version 2.8.5 +// Version 2.9.0 // // Copyright (c) 2014, PayPal // All rights reserved. diff --git a/PayPalMobile/PayPalPayment.h b/PayPalMobile/PayPalPayment.h index 333758e..909c546 100644 --- a/PayPalMobile/PayPalPayment.h +++ b/PayPalMobile/PayPalPayment.h @@ -1,7 +1,7 @@ // // PayPalPayment.h // -// Version 2.8.5 +// Version 2.9.0 // // Copyright (c) 2014, PayPal // All rights reserved. diff --git a/PayPalMobile/PayPalPaymentViewController.h b/PayPalMobile/PayPalPaymentViewController.h index 9030c8e..1f82421 100644 --- a/PayPalMobile/PayPalPaymentViewController.h +++ b/PayPalMobile/PayPalPaymentViewController.h @@ -1,7 +1,7 @@ // // PayPalPaymentViewController.h // -// Version 2.8.5 +// Version 2.9.0 // // Copyright (c) 2014, PayPal // All rights reserved. diff --git a/PayPalMobile/PayPalProfileSharingViewController.h b/PayPalMobile/PayPalProfileSharingViewController.h index 4310c9c..f7cf1d5 100644 --- a/PayPalMobile/PayPalProfileSharingViewController.h +++ b/PayPalMobile/PayPalProfileSharingViewController.h @@ -1,7 +1,7 @@ // // PayPalProfileSharingViewController.h // -// Version 2.8.5 +// Version 2.9.0 // // Copyright (c) 2014, PayPal // All rights reserved. diff --git a/PayPalMobile/libPayPalMobile.a b/PayPalMobile/libPayPalMobile.a index 4662584..d8462e3 100644 Binary files a/PayPalMobile/libPayPalMobile.a and b/PayPalMobile/libPayPalMobile.a differ diff --git a/SampleApp/PayPal-iOS-SDK-Sample-App/PayPal-iOS-SDK-Sample-App-Info.plist b/SampleApp/PayPal-iOS-SDK-Sample-App/PayPal-iOS-SDK-Sample-App-Info.plist index e67aef5..0d53e90 100644 --- a/SampleApp/PayPal-iOS-SDK-Sample-App/PayPal-iOS-SDK-Sample-App-Info.plist +++ b/SampleApp/PayPal-iOS-SDK-Sample-App/PayPal-iOS-SDK-Sample-App-Info.plist @@ -30,11 +30,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 2.8.5 + 2.9.0 CFBundleSignature ???? CFBundleVersion - 2.8.5 + 2.9.0 LSRequiresIPhoneOS UIMainStoryboardFile diff --git a/release_notes.md b/release_notes.md index 734085c..b9b5a8b 100644 --- a/release_notes.md +++ b/release_notes.md @@ -1,6 +1,11 @@ PayPal iOS SDK release notes ============================ +2.9.0 +----- +* Add `alwaysDisplayCurrencyCodes` property to `PayPalConfiguration`. +* Update card.io library to 5.0.3. + 2.8.5 ----- * Change "Send Payment" button to "Pay". (see https://github.com/paypal/PayPal-iOS-SDK/issues/174)