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

Commit

Permalink
Release 2.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryant Luk committed Apr 21, 2017
1 parent 0a0d700 commit 42583ed
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 28 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
PayPal iOS SDK release notes
============================

2.17.0
------
* Add documentation to use string initializer for NSDecimalNumber [#520](https://github.com/paypal/PayPal-iOS-SDK/issues/520).
* Fix issue with potential `data parameter is nil` when decoding JSON [#523](https://github.com/paypal/PayPal-iOS-SDK/issues/523).
* iOS version 6.1 is no longer supported by this SDK.

2.16.3
------
* Fix issue with parsing API responses [#508](https://github.com/paypal/PayPal-iOS-SDK/issues/508).
Expand Down
6 changes: 3 additions & 3 deletions PayPal-iOS-SDK.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Pod::Spec.new do |spec|
spec.name = 'PayPal-iOS-SDK'
spec.version = '2.16.3'
spec.version = '2.17.0'
spec.license = { type: 'BSD', file: 'LICENSE' }
spec.homepage = 'https://developer.paypal.com/webapps/developer/docs/integration/mobile/mobile-sdk-overview/'
spec.authors = { 'PayPal' => 'support@paypal.com' }
spec.summary = 'Accept credit cards and PayPal in your iOS app.'
spec.description = 'The PayPal iOS SDK provides a software library that makes it easy for an iOS developer to accept both credit cards and PayPal directly within their mobile app.'
spec.source = { :git => 'https://github.com/paypal/PayPal-iOS-SDK.git', :tag => "#{spec.version}" }
spec.platform = :ios, '6.1'
spec.ios.deployment_target = '6.1'
spec.platform = :ios, '7.0'
spec.ios.deployment_target = '7.0'
spec.requires_arc = false

spec.default_subspec = 'Core', 'CardIO'
Expand Down
2 changes: 1 addition & 1 deletion PayPalMobile/PayPalConfiguration.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// PayPalConfiguration.h
//
// Version 2.16.3
// Version 2.17.0
//
// Copyright (c) 2014-2016 PayPal, Inc. All rights reserved.
// All rights reserved.
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.16.3
// Version 2.17.0
//
// Copyright (c) 2014-2016 PayPal, Inc. All rights reserved.
// 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.16.3
// Version 2.17.0
//
// Copyright (c) 2014-2016 PayPal, Inc. All rights reserved.
// 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.16.3
// Version 2.17.0
//
// Copyright (c) 2014-2016 PayPal, Inc. All rights reserved.
// All rights reserved.
Expand Down
8 changes: 4 additions & 4 deletions PayPalMobile/PayPalPayment.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// PayPalPayment.h
//
// Version 2.16.3
// Version 2.17.0
//
// Copyright (c) 2014-2016 PayPal, Inc. All rights reserved.
// All rights reserved.
Expand All @@ -24,7 +24,7 @@ typedef NS_ENUM(NSInteger, PayPalPaymentIntent) {
/// @see https://developer.paypal.com/webapps/developer/docs/api/#details-object for more details.
@interface PayPalPaymentDetails : NSObject <NSCopying>

/// Convenience constructor.
/// Convenience constructor. NSDecimalNumber parameters must be initialized using a string value.
/// See the documentation of the individual properties for more detail.
/// @param subtotal Sum of amounts for all items in this transaction.
/// @param shipping Shipping and handling amount for the overall transaction.
Expand All @@ -51,7 +51,7 @@ typedef NS_ENUM(NSInteger, PayPalPaymentIntent) {
/// @see https://developer.paypal.com/docs/api/#item-object for more details.
@interface PayPalItem : NSObject <NSCopying>

/// Convenience constructor.
/// Convenience constructor. NSDecimalNumber parameters must be initialized using a string value.
/// See the documentation of the individual properties for more detail.
/// @param name Name of the item.
/// @param quantity Number of units.
Expand Down Expand Up @@ -138,7 +138,7 @@ typedef NS_ENUM(NSInteger, PayPalPaymentIntent) {

@interface PayPalPayment : NSObject <NSCopying>

/// Convenience constructor.
/// Convenience constructor. NSDecimalNumber parameters must be initialized using a string value.
/// See the documentation of the individual properties for more detail.
/// @param amount The amount of the payment.
/// @param currencyCode The ISO 4217 currency for the payment.
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.16.3
// Version 2.17.0
//
// Copyright (c) 2014-2016 PayPal, Inc. All rights reserved.
// 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.16.3
// Version 2.17.0
//
// Copyright (c) 2014-2016 PayPal, Inc. All rights reserved.
// All rights reserved.
Expand Down
Binary file modified PayPalMobile/libPayPalMobile.a
Binary file not shown.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ The PayPal iOS SDK makes it easy to add PayPal payments to mobile apps.
>### Note
> There are 4 static libraries that you should link when building your application. `libPayPalMobile.a`, `libCardIO.a`, `libopencv_core.a', and `libopencv_imgproc.a` are required for all of the SDK functionality.
>
> The current version of the PayPal iOS SDK was built using Xcode 7.0+.
>
> If you are still using Xcode 6.4, you may experience link errors (duplicate symbols). If you can't upgrade from Xcode 6.4, please use version **2.11.x** of this SDK.
>
> If you are still using Xcode 6.2, you may experience link errors (duplicate symbols). If you can't upgrade from Xcode 6.2, please use version **2.10.2** of this SDK.
> The current version of the PayPal iOS SDK was built using Xcode 8.3.2.
## Contents

Expand Down Expand Up @@ -70,8 +66,8 @@ Your customer logs in to PayPal and consents to PayPal sharing information with

## Requirements

* Xcode 7 and iOS SDK 9
* iOS 6.0+ target deployment
* Xcode 8 and iOS SDK 10
* iOS 7.0+ target deployment
* armv7, armv7s, and arm64 devices, and the simulator (not armv6)
* iPhone and iPad of all sizes and resolutions

Expand All @@ -81,14 +77,14 @@ Your customer logs in to PayPal and consents to PayPal sharing information with
### If you use [CocoaPods](http://cocoapods.org), then add these lines to your podfile:

```ruby
platform :ios, '6.0'
platform :ios, '7.0'
pod 'PayPal-iOS-SDK'
```

### If you don't use CocoaPods, then:

1. Clone or download the SDK, which consists of header files, license acknowledgements, release notes, and a static library. It also includes a sample app.
* **As of version 2.12.0, the SDK requires Xcode 7 and iOS 8 SDK.**
* **As of version 2.17.0, the SDK requires Xcode 8 and iOS 10 SDK.**
2. Add the `PayPalMobile` directory (containing several .h files and libPayPalMobile.a) to your Xcode project. We recommend checking "Copy items..." and selecting "Create groups...".
3. In your project's **Build Settings** (in the `TARGETS` section, not the `PROJECTS` section):
* add `-lc++ -ObjC` to `Other Linker Flags`
Expand Down
Binary file modified SampleApp-Swift/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -353,7 +353,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
ONLY_ACTIVE_ARCH = NO;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
SDKROOT = iphoneos;
Expand All @@ -372,7 +372,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "PayPal-iOS-SDK-Sample-App/PayPal-iOS-SDK-Sample-App-Prefix.pch";
INFOPLIST_FILE = "PayPal-iOS-SDK-Sample-App/PayPal-iOS-SDK-Sample-App-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -400,7 +400,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "PayPal-iOS-SDK-Sample-App/PayPal-iOS-SDK-Sample-App-Prefix.pch";
INFOPLIST_FILE = "PayPal-iOS-SDK-Sample-App/PayPal-iOS-SDK-Sample-App-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
Expand Down
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.16.3</string>
<string>2.17.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.16.3</string>
<string>2.17.0</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>org-appextension-feature-password-management</string>
Expand Down

0 comments on commit 42583ed

Please sign in to comment.