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.
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.