Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
Release 2.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sankarbhavanib committed Jan 21, 2016
1 parent 4b3c6c6 commit f7c1d96
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 88 deletions.
84 changes: 30 additions & 54 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The PayPal Android SDK makes it easy to add PayPal and credit card payments to m
The PayPal Android SDK is now available at [Maven Repository](https://repo1.maven.org/maven2/com/paypal/sdk/paypal-android-sdk/). The latest version is available via `mavenCentral()`. Just add the following dependency from `mavenCentral()`:

```
compile 'com.paypal.sdk:paypal-android-sdk:2.12.5'
compile 'com.paypal.sdk:paypal-android-sdk:2.13.0'
```


Expand Down Expand Up @@ -97,7 +97,7 @@ You can create both business and personal Sandbox accounts on the [Sandbox accou

#### Sandbox and TLSv1.2

PayPal will be upgrading the endpoint that the PayPal Android SDK uses to communicate with PayPal servers on Jan 18th, 2016. If you're testing on sandbox with a version of the PayPal Android SDK older than 2.12.1, then you'll start seeing communication failures when using Android devices >= API 16, and < API 20. Please upgrade to a version [2.12.1](https://github.com/paypal/PayPal-Android-SDK/releases) or higher to fix these errors.
PayPal will be upgrading the endpoint that the PayPal Android SDK uses to communicate with PayPal servers on Jan 18th, 2016. If you're testing on sandbox with a version of the PayPal Android SDK older than 2.13.0, then you'll start seeing communication failures when using Android devices >= API 16, and < API 20. Please upgrade to a version [2.13.0](https://github.com/paypal/PayPal-Android-SDK/releases) or higher to fix these errors.

If you're testing on a device older than API 16, Android will not be able to communicate with PayPal, no matter what version of the SDK you use.

Expand Down Expand Up @@ -128,67 +128,43 @@ If your app initiates a transaction with a currency that turns out to be unsuppo
Future payments does not require card.io card scanning. Also, for single payments, if you do not wish to include the scanning feature of Card.io, and only allow manual entry by keyboard, add packagingOptions to remove the .so libraries of card.io as shown below in build.gradle:
```
packagingOptions {
exclude 'lib/arm64-v8a/libcardioDecider.so'
exclude 'lib/arm64-v8a/libcardioRecognizer.so'
exclude 'lib/arm64-v8a/libcardioRecognizer_tegra2.so'
exclude 'lib/arm64-v8a/libopencv_core.so'
exclude 'lib/arm64-v8a/libopencv_imgproc.so'
exclude 'lib/armeabi/libcardioDecider.so'
exclude 'lib/armeabi-v7a/libcardioDecider.so'
exclude 'lib/armeabi-v7a/libcardioRecognizer.so'
exclude 'lib/armeabi-v7a/libcardioRecognizer_tegra2.so'
exclude 'lib/armeabi-v7a/libopencv_core.so'
exclude 'lib/armeabi-v7a/libopencv_imgproc.so'
exclude 'lib/mips/libcardioDecider.so'
exclude 'lib/x86/libcardioDecider.so'
exclude 'lib/x86/libcardioRecognizer.so'
exclude 'lib/x86/libcardioRecognizer_tegra2.so'
exclude 'lib/x86/libopencv_core.so'
exclude 'lib/x86/libopencv_imgproc.so'
exclude 'lib/x86_64/libcardioDecider.so'
exclude 'lib/x86_64/libcardioRecognizer.so'
exclude 'lib/x86_64/libcardioRecognizer_tegra2.so'
exclude 'lib/x86_64/libopencv_core.so'
exclude 'lib/x86_64/libopencv_imgproc.so'
}
exclude 'lib/arm64-v8a/libcardioDecider.so'
exclude 'lib/arm64-v8a/libcardioRecognizer.so'
exclude 'lib/arm64-v8a/libcardioRecognizer_tegra2.so'
exclude 'lib/arm64-v8a/libopencv_core.so'
exclude 'lib/arm64-v8a/libopencv_imgproc.so'
exclude 'lib/armeabi/libcardioDecider.so'
exclude 'lib/armeabi-v7a/libcardioDecider.so'
exclude 'lib/armeabi-v7a/libcardioRecognizer.so'
exclude 'lib/armeabi-v7a/libcardioRecognizer_tegra2.so'
exclude 'lib/armeabi-v7a/libopencv_core.so'
exclude 'lib/armeabi-v7a/libopencv_imgproc.so'
exclude 'lib/mips/libcardioDecider.so'
exclude 'lib/x86/libcardioDecider.so'
exclude 'lib/x86/libcardioRecognizer.so'
exclude 'lib/x86/libcardioRecognizer_tegra2.so'
exclude 'lib/x86/libopencv_core.so'
exclude 'lib/x86/libopencv_imgproc.so'
exclude 'lib/x86_64/libcardioDecider.so'
exclude 'lib/x86_64/libcardioRecognizer.so'
exclude 'lib/x86_64/libcardioRecognizer_tegra2.so'
exclude 'lib/x86_64/libopencv_core.so'
exclude 'lib/x86_64/libopencv_imgproc.so'
}
```

## Disabling Credit Card Payments Completely

If you want to disable credit card completely:

1. Remove camera scanner libraries by adding the following to your `android` build.gradle object:
1. Exclude card.io library in your application build.gradle file:
```
packagingOptions {
exclude 'lib/arm64-v8a/libcardioDecider.so'
exclude 'lib/arm64-v8a/libcardioRecognizer.so'
exclude 'lib/arm64-v8a/libcardioRecognizer_tegra2.so'
exclude 'lib/arm64-v8a/libopencv_core.so'
exclude 'lib/arm64-v8a/libopencv_imgproc.so'
exclude 'lib/armeabi/libcardioDecider.so'
exclude 'lib/armeabi-v7a/libcardioDecider.so'
exclude 'lib/armeabi-v7a/libcardioRecognizer.so'
exclude 'lib/armeabi-v7a/libcardioRecognizer_tegra2.so'
exclude 'lib/armeabi-v7a/libopencv_core.so'
exclude 'lib/armeabi-v7a/libopencv_imgproc.so'
exclude 'lib/mips/libcardioDecider.so'
exclude 'lib/x86/libcardioDecider.so'
exclude 'lib/x86/libcardioRecognizer.so'
exclude 'lib/x86/libcardioRecognizer_tegra2.so'
exclude 'lib/x86/libopencv_core.so'
exclude 'lib/x86/libopencv_imgproc.so'
exclude 'lib/x86_64/libcardioDecider.so'
exclude 'lib/x86_64/libcardioRecognizer.so'
exclude 'lib/x86_64/libcardioRecognizer_tegra2.so'
exclude 'lib/x86_64/libopencv_core.so'
exclude 'lib/x86_64/libopencv_imgproc.so'
dependencies {
compile('com.paypal.sdk:paypal-android-sdk:2.13.0') {
exclude group: 'io.card'
}
}
```
1. Add the following to the `PayPalConfiguration` initialization:
```
config.acceptCreditCards(false);
```


## Testing

Expand Down
2 changes: 1 addition & 1 deletion SampleApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ dependencies {
if (parent != null) {
compile project(path: ':androidSDK', configuration: 'generalDebug')
} else {
compile('com.paypal.sdk:paypal-android-sdk:2.12.5')
compile('com.paypal.sdk:paypal-android-sdk:2.13.0')
}
}
Binary file removed aars/PayPalAndroidSDK-2.12.5.aar
Binary file not shown.
Binary file added aars/PayPalAndroidSDK-2.13.0.aar
Binary file not shown.
69 changes: 36 additions & 33 deletions release_notes.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
PayPal Android SDK release notes
================================

2.13.0
------
* Fix sandbox pinning issue [#228](https://github.com/paypal/PayPal-Android-SDK/issues/228).
* Allow complete removal of card.io dependency, effectively disabling direct credit card payments [#226](https://github.com/paypal/PayPal-Android-SDK/issues/226) & [#234](https://github.com/paypal/PayPal-Android-SDK/issues/234).
* Update okhttp dependency to 3.0.1.
* Update card.io to 5.3.0.

2.12.5
----
* Updated okhttp to 2.7.2.
------
* Update okhttp dependency to 2.7.2.
* Clean up manifest permissions [#233](https://github.com/paypal/PayPal-Android-SDK/issues/233).
* Minor bug fixes.
* Fixes #233.

2.12.4
----
------
* Documentation Updates for Maven based integrations.
* Disabled `allowBackup` in Manifest.

2.12.3
-----
* SDK is now available at Maven Central.
* `com.paypal.sdk:paypal-android-sdk:2.12.3`.
* Fixes #14.
* Fixes #208.
------
* SDK is now available at Maven Central [#14](https://github.com/paypal/PayPal-Android-SDK/issues/14) & [#208](https://github.com/paypal/PayPal-Android-SDK/issues/208)
* `com.paypal.sdk:paypal-android-sdk:2.12.3`.

2.12.2
------
* Enabled aar packaging.
* Enable aar packaging.
* Ability to push to maven.

2.12.1
Expand Down Expand Up @@ -244,7 +250,7 @@ PayPal Android SDK release notes

2.5.2
-----
* Update Sample App icons
* Update Sample App icons.
* Minor bug fixes.

2.5.1
Expand All @@ -259,29 +265,29 @@ PayPal Android SDK release notes

2.4.0
-----
* Add [Profile Sharing](https://github.com/paypal/PayPal-Android-SDK/blob/master/docs/profile_sharing_mobile.md) feature
* Add [Profile Sharing](https://github.com/paypal/PayPal-Android-SDK/blob/master/docs/profile_sharing_mobile.md) feature.
* Developer selects requested account profile attributes
* User may consent to sharing the requested profile data
* Fix sluggish performance in Payment Method selection on devices with slower cameras (Nexus 10).
* Fix issue [#77: Invalid path on some devices](https://github.com/paypal/PayPal-Android-SDK/issues/77)
* Fix issue [#77: Invalid path on some devices](https://github.com/paypal/PayPal-Android-SDK/issues/77).

2.3.5
----
* Hotfix for issue on live/sandbox environment introduced in 2.3.4.

2.3.4
----
* Fixed issue [#83: App freezes when calling startService](https://github.com/paypal/PayPal-Android-SDK/issues/83) for realsies this time.
* Fix issue [#83: App freezes when calling startService](https://github.com/paypal/PayPal-Android-SDK/issues/83) for realsies this time.
* Restrict phone/pin login where appropriate.

2.3.3
----
* Fixed issue [#83: App freezes when calling startService](https://github.com/paypal/PayPal-Android-SDK/issues/83)
* Fix issue [#83: App freezes when calling startService](https://github.com/paypal/PayPal-Android-SDK/issues/83).
* Minor bug fixes.

2.3.2
----
* Re-add Version class for Cordova backward compatibility
* Re-add Version class for Cordova backward compatibility.

2.3.1
----
Expand Down Expand Up @@ -313,7 +319,7 @@ PayPal Android SDK release notes

2.1.0
-----
* Add integration with PayPal Wallet App (available only on the Samsung app store)
* Add integration with PayPal Wallet App (available only on the Samsung app store).
* In live environment, if the newly released PayPal Wallet app with authenticator is present on a user's device, the PayPal Wallet app will log the user in to the SDK.
* Fix issue where some email addresses would not be accepted.
* Fix some Spanish translations.
Expand Down Expand Up @@ -363,27 +369,27 @@ PayPal Android SDK release notes

1.2.4
-----
* Fix NumberFormatException on some payments in locales that use comma for decimal separator [34](https://github.com/paypal/PayPal-Android-SDK/issues/34)
* Fix NumberFormatException on some payments in locales that use comma for decimal separator [34](https://github.com/paypal/PayPal-Android-SDK/issues/34).

1.2.3
-----
* Fix issue where invalid currency amounts could be sent to the PayPal server.

1.2.2
-----
* Fix login page layout issue [20](https://github.com/paypal/PayPal-Android-SDK/issues/20)
* Fix login page layout issue [20](https://github.com/paypal/PayPal-Android-SDK/issues/20).
* Add some login error logging

1.2.1
-----
* Update card.io library to 3.1.3
* Update card.io library to 3.1.3.
* Fix issue [#11: release/debug UI differences](https://github.com/paypal/PayPal-Android-SDK/issues/11)

1.2.0
-----
* Eliminate the final "Complete" screen
* Fix Hebrew phone settings detection bug
* Update card.io library to 3.1.2
* Eliminate the final "Complete" screen.
* Fix Hebrew phone settings detection bug.
* Update card.io library to 3.1.2.

1.1.2
-----
Expand All @@ -392,33 +398,30 @@ PayPal Android SDK release notes
* Support all currencies that are currently accepted by the REST APIs. See [README](README.md) for details.
* Fix various localizations
* Additional localization: ko (Korean)
* Minor UI cleanup (including [issue 4](https://github.com/paypal/PayPal-Android-SDK/issues/4))
* Minor UI cleanup (including [issue 4](https://github.com/paypal/PayPal-Android-SDK/issues/4)).

1.1.0
-----
* Bug fixes
* Update card.io to 3.1.0
* Add translations of all strings into ~20 languages, in addition to American English.
- Translation choice is controlled by EXTRA_LANGUAGE_OR_LOCALE in PaymentActivity
- Translation choice is controlled by `EXTRA_LANGUAGE_OR_LOCALE` in PaymentActivity.
- The translations that a few developers had previously created for their own apps will no longer be used by the SDK.
- NOTE: Default language, if not set by your app, will now be based upon the device's current language setting.


1.0.3
-----
* Bug fixes
* Bug fixes.

1.0.2
-----
* Several small fixes & improvements

* Several small fixes & improvements.

1.0.1
-----
* Update card.io to 3.0.5
* Minor UI improvements
* Other small fixes

* Update card.io to 3.0.5.
* Minor UI improvements.
* Other small fixes.

1.0.0
-----
Expand Down

0 comments on commit f7c1d96

Please sign in to comment.