You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything is working in the DEBUG version of the app, i.e when minifyEnabled = false.
But when we generate the release build for google play store and set minifyEnabled = true in build.gradle file then adding a new card is working fine except for the MADA card.
When we try to add mada card then following exception occurs:
Exception:
Fatal Exception: java.lang.RuntimeException: Parcelable encountered IOException writing serializable object (name = com.payfort.fortpaymentsdk.domain.model.SdkResponse)
at android.os.Parcel.writeSerializable(Parcel.java:2181)
at android.os.Parcel.writeValue(Parcel.java:1947)
at android.os.Parcel.writeArrayMapInternal(Parcel.java:1039)
at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1620)
at android.os.Bundle.writeToParcel(Bundle.java:1304)
at android.os.Parcel.writeBundle(Parcel.java:1108)
at android.content.Intent.writeToParcel(Intent.java:11143)
at android.app.IActivityClientController$Stub$Proxy.finishActivity(IActivityClientController.java:1490)
at android.app.ActivityClient.finishActivity(ActivityClient.java:153)
at android.app.Activity.finish(Activity.java:6539)
at android.app.Activity.finish(Activity.java:6573)
at com.payfort.fortpaymentsdk.presentation.init.InitSecureConnectionActivity.finish(InitSecureConnectionActivity.kt:112)
at com.payfort.fortpaymentsdk.presentation.init.InitSecureConnectionActivity$setupLocalBroadCastConfigs$1.onReceive(InitSecureConnectionActivity.kt:94)
at androidx.localbroadcastmanager.content.LocalBroadcastManager.executePendingBroadcasts(LocalBroadcastManager.java:313)
at androidx.localbroadcastmanager.content.LocalBroadcastManager$1.handleMessage(LocalBroadcastManager.java:121)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:233)
at android.os.Looper.loop(Looper.java:344)
at android.app.ActivityThread.main(ActivityThread.java:8191)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)
As per my findings, com.payfort.fortpaymentsdk.domain.model.SdkResponse is a Serializable class. it has the following attribute.private Map<String, Object> responseMap;Object must be Serializable. But We try to add a MADA card then it returns the exception.
Please guide me to resolve this issue as we are unable to upload the app on play store with this issue.
The text was updated successfully, but these errors were encountered:
Everything is working in the DEBUG version of the app, i.e when minifyEnabled = false.
But when we generate the release build for google play store and set minifyEnabled = true in build.gradle file then adding a new card is working fine except for the MADA card.
When we try to add mada card then following exception occurs:
Exception:
Fatal Exception: java.lang.RuntimeException: Parcelable encountered IOException writing serializable object (name = com.payfort.fortpaymentsdk.domain.model.SdkResponse)
at android.os.Parcel.writeSerializable(Parcel.java:2181)
at android.os.Parcel.writeValue(Parcel.java:1947)
at android.os.Parcel.writeArrayMapInternal(Parcel.java:1039)
at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1620)
at android.os.Bundle.writeToParcel(Bundle.java:1304)
at android.os.Parcel.writeBundle(Parcel.java:1108)
at android.content.Intent.writeToParcel(Intent.java:11143)
at android.app.IActivityClientController$Stub$Proxy.finishActivity(IActivityClientController.java:1490)
at android.app.ActivityClient.finishActivity(ActivityClient.java:153)
at android.app.Activity.finish(Activity.java:6539)
at android.app.Activity.finish(Activity.java:6573)
at com.payfort.fortpaymentsdk.presentation.init.InitSecureConnectionActivity.finish(InitSecureConnectionActivity.kt:112)
at com.payfort.fortpaymentsdk.presentation.init.InitSecureConnectionActivity$setupLocalBroadCastConfigs$1.onReceive(InitSecureConnectionActivity.kt:94)
at androidx.localbroadcastmanager.content.LocalBroadcastManager.executePendingBroadcasts(LocalBroadcastManager.java:313)
at androidx.localbroadcastmanager.content.LocalBroadcastManager$1.handleMessage(LocalBroadcastManager.java:121)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:233)
at android.os.Looper.loop(Looper.java:344)
at android.app.ActivityThread.main(ActivityThread.java:8191)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)
As per my findings, com.payfort.fortpaymentsdk.domain.model.SdkResponse is a Serializable class. it has the following attribute.private Map<String, Object> responseMap;Object must be Serializable. But We try to add a MADA card then it returns the exception.
Please guide me to resolve this issue as we are unable to upload the app on play store with this issue.
The text was updated successfully, but these errors were encountered: