After implementing the package inside our applications, we discovered an issue with Android. The Future object did not complete on all methods. This causes infinite awaiting. The reason for that was in the native code, the Result object was never returned. This is needed because after sending a platform message, Flutter awaits a result from the native platform. This was correctly implemented for iOS but not for Android. I also improved the error handling a bit with meaningful messages. Please take a look @ManuelCrovetto.
After implementing the package inside our applications, we discovered an issue with Android. The
Future
object did not complete on all methods. This causes infinite awaiting. The reason for that was in the native code, theResult
object was never returned. This is needed because after sending a platform message, Flutter awaits a result from the native platform. This was correctly implemented for iOS but not for Android. I also improved the error handling a bit with meaningful messages. Please take a look @ManuelCrovetto.