Releases: paypal/paypal-android
Releases · paypal/paypal-android
2.0.0-beta1
- Breaking Changes
- PayPalNativePayments
- Remove entire PayPalNativePayments module
- CardPayments
- Remove
CardClient(FragmentActivity, Config)
constructor - Add
CardClient(Context, Config)
constructor - Remove
CardClient.approveOrder(FragmentActivity, CardRequest)
method - Add
CardClient.approveOrder(CardRequest)
method - Remove
CardClient.presentAuthChallenge(FragmentActivity, CardAuthChallenge)
method - Add
CardClient.presentAuthChallenge(ComponentActivity, CardAuthChallenge)
method - Add
CardPresentAuthChallengeResult
type - Add
CardClient.completeAuthChallenge(Intent, String)
method - Add
CardStatus
type - Add
ApproveOrderListener.onApproveOrderAuthorizationRequired(CardAuthChallenge)
method - Add
CardVaultListener.onVaultAuthorizationRequired(CardAuthChallenge)
method - Remove
authChallenge
property fromCardVaultResult
- Remove
deepLinkUrl
andliabilityShift
properties fromCardResult
- Annotate
CardResult
andCardVaultResult
constructors as restricted to the library group - Add
didAttemptThreeDSecureAuthentication
property toCardVaultResult
- Remove
- PayPalWebPayments
- Remove
PayPalWebCheckoutClient(FragmentActivity, CoreConfig, String)
constructor - Add
PayPalWebCheckoutClient(Context, CoreConfig, String)
constructor - Remove
PayPalWebCheckoutClient.start(PayPalWebCheckoutRequest)
method - Add
PayPalWebCheckoutClient.start(ComponentActivity, PayPalWebCheckoutRequest)
method - Remove
PayPalWebCheckoutClient.vault(PayPalWebVaultRequest)
method - Add
PayPalWebCheckoutClient.vault(ComponentActivity, PayPalWebVaultRequest)
method - Add
CardClient.completeAuthChallenge(Intent, String)
method - Add
PayPalPresentAuthChallengeResult
type - Add
PayPalWebStatus
type
- Remove
- Gradle
- Update
browser-switch
version to3.0.0-beta
- Update Kotlin version to
1.9.24
- Update Android Gradle Plugin (AGP) to version
8.7.1
- Explicitly declare Java 17 version as the target JVM toolchain
- Update
- PayPalNativePayments
1.7.1
- Gradle
- Update Android Gradle Plugin (AGP) to version
8.5.2
- Remove jacoco code coverage integration that was causing build failures after upgrading to latest AGP version
- Remove hardcoded compileSdk version from each module's
build.gradle
file - Update Demo app to use Java 17 to fix kapt build errors
- Update Android Gradle Plugin (AGP) to version
- GitHub Actions
- Bump Java Version to 17 for all build actions
1.6.0
- All Modules
- Upgrade compileSdkVersion and targetSdkVersion to API 35
- CardPayments
- Deprecate
CardResult.liabilityShift
property - Deprecate
CardResult.deepLinkUrl
property - Add
CardResult.status
property - Add
CardResult.didAttemptThreeDSecureAuthentication
property
- Deprecate
1.5.0
- PayPalWebPayments
- Deprecate
PayPalWebVaultRequest(setupTokenId, approveVaultHref)
- Add
PayPalWebVaultRequest(setupTokenId)
- Deprecate
- PayPalNativePayments (DEPRECATED)
- NOTE: This module is being deprecated and will be removed in the future version of the SDK. Use
PayPalWebPayments
module instead. - Add deprecated warning message to all classes
- NOTE: This module is being deprecated and will be removed in the future version of the SDK. Use
1.4.1
- PaymentButtons
- Add
paylater_color
toPayLaterButton
to control the color of the pay later button from XML.
- Add
1.4.0
- PaymentButtons
- Undeprecate
PayPalCreditButtonColor.BLACK
and.DARK_BLUE
- Undeprecate
PayPalButtonColor.BLUE
,.BLACK
, and.SILVER
- Added analytics events
payment-button:initialized
andpayment-button:tapped
- Undeprecate
- CardPayments
- Add
liabilityShift
property toCardResult
- Callback
PayPalSDKError
whenCardClient#approveOrder()
3DS verification fails - Add
CardClient#presentAuthChallenge()
- Add
returnUrl
property toCardVaultRequest
- Add
authChallenge
property toCardVaultResult
- Add
CardAuthChallenge
type - Add
CardClient.removeObservers()
method
- Add
- FraudDetection
- Fixes Google Play Store Rejection
- Bump Magnes version to 5.5.1
- Create
PayPalDataCollectorRequest
- Add
PayPalDataCollector#collectDeviceData(context, request)
- Deprecate
PayPalDataCollector#collectDeviceData(context, clientMetadataId, additionalData)
- Fixes Google Play Store Rejection
- PayPalNativePayments
- Fixes Google Play Store Rejection
- Bump Native Checkout version to 1.3.2
- Add
hasUserLocationConsent
toPayPalNativeCheckoutRequest
- Fixes Google Play Store Rejection
- PaymentButtons
- Update font typeface to "PayPalOpen" to meet brand guidelines
- PayPalWebPayments
- Add
PayPalWebCheckoutClient.removeObservers()
method
- Add
1.3.0
- PaymentButtons
- Add
PayPalCreditButtonColor.WHITE
and.GOLD
- Deprecate
PayPalCreditButtonColor.BLACK
and.DARK_BLUE
- Deprecate
PayPalButtonColor.BLUE
,.BLACK
, and.SILVER
- Add
- PayPalNativeCheckout
- Bump native-checkout version to release
1.2.1
- Bump native-checkout version to release
1.2.0
- PaymentButtons
- Supporting custom corner radius on the PayPal Button
- PayPalWebPayments
- Add
PayPalWebVaultListener
interface - Add
PayPalWebVaultResult
data class - Add
vaultListener
property toPayPalWebCheckoutClient
- Add
vault()
method toPayPalWebCheckoutClient
- Add
1.1.0
- PayPalNativeCheckout
- Bump native-checkout version to release
1.2.0
- Add
userAuthenticationEmail
toPayPalNativeCheckoutRequest
- Bump native-checkout version to release
1.0.0
- Breaking Changes
- CardPayments
- Make
Amount
class internal - Make
ApproveOrderMetadata
class internal - Make
AuthenticationResult
class internal - Make
Payee
class internal - Make
PaymentSource
class internal - Make
PurchaseUnit
class internal - Make
ThreeDSecureResult
class internal - Make
Environment
enum associated values internal - Remove
OrderRequest
class - Rename
VaultRequest
toCardVaultRequest
- Rename
VaultResult
toCardVaultResult
- Rename
VaultListener
toCardVaultListener
- Make
- CorePayments
- Remove
open
modifier onPayPalSDKError
- Remove
- CardPayments