Crash triggered by [PFBaseSecureKeyWrapper getSignatureBytesUsingPrivateKey]
PayPal SDK Version
1.1.0
Environment
Both
Xcode Version
15.2
OS Version & Device
No response
Integration type
CocoaPods
Development Processor
Both
Describe the bug
Our app users are hitting crashes due to this line of code in iOS version 1.1.0 of the PayPal/PayPalNativePayments SDK. (This crash has affected 31 users in the past 90 days.)
0x505b24 __75-[PFBaseSecureKeyWrapper getSignatureBytesUsingPrivateKey:data:completion:]_block_invoke + 72
Looks like a possible memory access issue.
Here is one example from crashlytics:
To reproduce
Unclear. I can't reproduce it myself but this crash has been reported 31 times in the past 90 days via our crashlytics dashboard.
Expected behavior
No crash
Screenshots
No response
hi @patpatchpatrick 👋🏽 - thanks for bringing this issue to our attention. unfortunately, i've not been able to reproduce it on version 1.1.0. could you please try updating to our latest version 1.3.1 if possible and let us know if this issue still occurs.
Hello @patpatchpatrick, we've forwarded this to team in charge of PayPalCheckout module to see if they can help.
I am also wondering if this is a new issue. When you started observing this behavior. If you have some dates, we can see if there are any helpful logs.
Thank you for you patience.
It looks like it possibly started around April 18. I'm not seeing any logs of this crash prior to then.
I can try updating and see if the resolves this issue.