airsdk / ANE-PlayAssetDelivery

Play Asset Delivery ANE
MIT License
2 stars 2 forks source link

Error: Binder died #14

Open caraiz opened 1 year ago

caraiz commented 1 year ago

Sometimes its dont work because a "random Binder died" errror is throwed.

Tested with v1.1.0 in Android 6 and 7.

"Looking" at the code, the error is in getPackStates().onComplete() -> task.getResult() When the error is throwed, the ANE is capturing the error but dont do anything, so the app is waiting for an event that it never receives.

A solution is retry the task again until it works, or dispatch an event with "status=ERROR" and let the app decide what to do.