Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Commit

Permalink
Update library to 2.9.0. Add alwaysDisplayCurrencyCodes option.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Goldman committed Mar 17, 2015
1 parent 0b868a0 commit 1a061cc
Show file tree
Hide file tree
Showing 19 changed files with 34 additions and 18 deletions.
2 changes: 1 addition & 1 deletion PayPal-iOS-SDK.podspec
Original file line number Diff line number Diff line change
@@ -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' => '[email protected]' }
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/CardIO.h
Original file line number Diff line number Diff line change
@@ -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.
//
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/CardIOCreditCardInfo.h
Original file line number Diff line number Diff line change
@@ -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.
//
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/CardIODetectionMode.h
Original file line number Diff line number Diff line change
@@ -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.
//
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/CardIOPaymentViewController.h
Original file line number Diff line number Diff line change
@@ -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.
//
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/CardIOPaymentViewControllerDelegate.h
Original file line number Diff line number Diff line change
@@ -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.
//
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/CardIOUtilities.h
Original file line number Diff line number Diff line change
@@ -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.
//
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/CardIOView.h
Original file line number Diff line number Diff line change
@@ -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.
//
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/CardIOViewDelegate.h
Original file line number Diff line number Diff line change
@@ -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.
//
Expand Down
13 changes: 12 additions & 1 deletion PayPalMobile/PayPalConfiguration.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// PayPalConfiguration.h
//
// Version 2.8.5
// Version 2.9.0
//
// Copyright (c) 2014, PayPal
// All rights reserved.
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/PayPalFuturePaymentViewController.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// PayPalFuturePaymentViewController.h
//
// Version 2.8.5
// Version 2.9.0
//
// Copyright (c) 2014, PayPal
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/PayPalMobile.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// PayPalMobile.h
//
// Version 2.8.5
// Version 2.9.0
//
// Copyright (c) 2014, PayPal
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/PayPalOAuthScopes.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// PayPalOAuthScopes.h
//
// Version 2.8.5
// Version 2.9.0
//
// Copyright (c) 2014, PayPal
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/PayPalPayment.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// PayPalPayment.h
//
// Version 2.8.5
// Version 2.9.0
//
// Copyright (c) 2014, PayPal
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/PayPalPaymentViewController.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// PayPalPaymentViewController.h
//
// Version 2.8.5
// Version 2.9.0
//
// Copyright (c) 2014, PayPal
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/PayPalProfileSharingViewController.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// PayPalProfileSharingViewController.h
//
// Version 2.8.5
// Version 2.9.0
//
// Copyright (c) 2014, PayPal
// All rights reserved.
Expand Down
Binary file modified PayPalMobile/libPayPalMobile.a
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.8.5</string>
<string>2.9.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.8.5</string>
<string>2.9.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIMainStoryboardFile</key>
Expand Down
5 changes: 5 additions & 0 deletions release_notes.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 1a061cc

Please sign in to comment.