Closed fares-ben-chaabane closed 1 year ago
can we have an answer here?
@fares-ben-chaabane have you confirmed that the issue is related to Dexguard obfuscation i.e. no crash when Dexguard is disabled and crashes when Dexguard is enabled? Can you please confirm this for us?
If the crash is happening because of Dexguard obfuscation, the quickest solution would be for you to add a keep rule for the file on your end. We'll let you know when this is fixed on the SDK.
If you could provide all the details in the bug template, it would help us understand the bug better and eliminate other possibilities.
Smartphone (please complete the following information):
Android Version: [e.g. API 30]
Device: [e.g. Emulator or One Plus 9]
Browser [e.g. chrome, safari] <- only applicable for app switches or fallback situations
SDK Version [e.g. 0.1.0]
Package name of your app [e.g. com.example.my_app]
Client ID
Thanks for your time.
Hi @fares-ben-chaabane - i'm closing this issue out due to inactivity. Feel free to comment here if you're still seeing the issue. Thanks!
Hello,
We are currently using Dexguard for security reason to obfuscate our code. With that we noticed that the PayPal checkout SDK is crashing when trying to :
PLog.info(PEnums.LogType.FPTI, "startprogress")
Since that method is callingPYPL_FPTI.getInstance().fetchPayload(eventType)
Which leads to a crash since Dictionary is a nullable parameter and it will remain null when reading from the "FPTIDictionary.json" file is not possible :So the
fail with a NullPointerException : Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object org.json.JSONObject.get(java.lang.String)' on a null object reference
We are using the 0.8.5 version of the PayPal Checkout SDK
Can you please fill us with a fix for this as it's urgent.