PackageManager died when launching PayPalProfileSharingActivity
Closed this issue · 1 comments
General information
- SDK/Library version: 2.13.3
- Environment: Production
- PayPal Debug-ID: 873c18c93c55c [live, 2.13.3;release]
- Started happening after enabling App Bundle
- Android Version and Device:
- Motorola Moto G4 Play with Android 6.0.1 (Play pre-launch report)
- Huawei P8 Lite with Android 5.0.1 (Play pre-launch report)
- LG-AS110 with Android 6.0.1 (Play pre-launch report)
- LG Nexus with Android 6.0.1, this one is rooted (real user)
Issue description
Hello, after publishing an app in Google Play with App Bundle enabled, Crashlytics started to report the crash below, which happens when user tries to login with PayPal.
This was not happening before enabling App Bundle, therefore it might be problem of Google Play publishing and Google Play team is already investigating, however I wanted to drop a message here to check you are aware about anyone else having this problem.
This seems to happen only on some devices with Android 5 or 6. We were unable to reproduce the crash on our devices with this version of the system. Currently this crash is blocking releasing App Bundle version to all users.
Thanks for any help.
App code
Intent intent = new Intent(activity, PayPalProfileSharingActivity.class);
intent.putExtra(PayPalService.EXTRA_PAYPAL_CONFIGURATION, payPalConfiguration);
intent.putExtra(PayPalProfileSharingActivity.EXTRA_REQUESTED_SCOPES, scopes);
activity.startActivityForResult(intent, ActivityRequestCode.LOGIN_PAYPAL_PROFILE_SHARING);
Crash
Caused by java.lang.RuntimeException: Package manager has died
at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:134)
at com.paypal.android.sdk.gu.a(Unknown Source)
at com.paypal.android.sdk.payments.PayPalProfileSharingActivity.onCreate(Unknown Source)
at android.app.Activity.performCreate(Activity.java:6251)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5422)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died
at android.os.BinderProxy.transactNative(Binder.java)
at android.os.BinderProxy.transact(Binder.java:503)
...
// or
Caused by android.os.TransactionTooLargeException
at android.os.BinderProxy.transactNative(Binder.java)
at android.os.BinderProxy.transact(Binder.java:496)
...
PayPal Mobile SDKs are Deprecated. The APIs powering them will remain operational long enough for merchants to migrate, but the SDKs themselves will no longer be updated. Please use Braintree Direct in supported countries. In other countries, use Express Checkout and choose the Braintree SDK integration option.