Open sforsberg opened 7 months ago
Thank you for reaching out to the Native Checkout SDK team. This integration path is now inactive for new merchants. If you are an existing merchant, please contact us here for further assistance.
New merchants can integrate the Native Checkout experience via the Braintree Android SDK or PayPal Android SDK. For more information please see their respective developer documentation linked below.
An update on the status of this, I was able to work with the PerimeterX team to get this resolved in their library and we are now able to install their latest version alongside the latest PayPal Checkout SDK version. However I still consider this a bug in the PayPal SDK as it could be causing similar issues for other consumers.
Describe the bug After upgrading
com.paypal.checkout:android-sdk:1.3.0
, we are unable to build our application due to the following gradle error:As seen in the error there are class conflicts with another package installed by
com.perimeterx.sdk:msdk:3.0.5
which was not upgraded, and seems to also have a globally scoped package and classes (I will raise an issue over there as well).Looking at the changes made in
1.3.0
, the updated version ofandroid-magnessdk-5.5.0.jar
seems to have introduced a new globally scoped obfuscated package calleda
with 4 new classesa.a
,a.b
,a.c
, anda.d
. Looking at the external libraries installed, we can see the mentioned packages have the same globally scopeda
module in bothcom.perimeterx.sdk:msdk:3.0.5
andcom.paypal.checkout:android-sdk:1.3.0
.To Reproduce Steps to reproduce the behavior:
com.paypal.checkout:android-sdk:1.3.0
andcom.perimeterx.sdk:msdk:3.0.5
maven { url "https://perimeterx.jfrog.io/artifactory/px-Android-SDK/" }
Expected behavior Both modules should be able to be installed together without class conflicts, perhaps Magnes SDK needs to be updated to not have obfuscated those globally scoped classes.
Looking at the previous version
android-magnessdk-5.4.0.jar
, there is no trace of this globally scopeda
module seen in this jar dump:Compared to
android-magnessdk-5.5.0.jar
we find the globala
classes: