Open ikermart opened 3 years ago
I'd debug if there is anything funky in the intent that is getting processed here. From the code it looks like the a simple .getExtras()
call on the incoming intent is causing this and I'm pretty sure that is not caused by this lib in any way.
@rossbacher thank you for your comment, it´s so weird, but something related with the migration to AndroidX is causing that randomly unmarshalling the bundle crash the application. There is a related bug https://cs.android.com/android/_/android/platform/frameworks/base/+/694753465b577509cecba33a90fb7cb6d50f5533 that in Android7 and above resolves this issue. The bad new is that my project only works for specifically hardware running Android5.1
Previous situation, all the deeplinks working Deeplink Version: 3.1.1 My project using Android Support : v7
After upgrading my entire project to androidX sometimes crashed, see below: Deeplink Version: 5.2.0 My project now using androidX
Started to throw this crashes:
Exception: java.lang.IllegalArgumentException android.os.Parcel.nativeAppendFrom (Parcel.java) android.content.Intent.getExtras (Intent.java:5387) com.airbnb.deeplinkdispatch.BaseDeepLinkDelegate.createResult (BaseDeepLinkDelegate.java:170) com.airbnb.deeplinkdispatch.BaseDeepLinkDelegate.dispatchFrom (BaseDeepLinkDelegate.java:121) com.airbnb.deeplinkdispatch.BaseDeepLinkDelegate.dispatchFrom (BaseDeepLinkDelegate.java:102)