nschairer / keyboard_height_plugin

Flutter plugin that emits keyboard height before it shows (ios/android)
BSD 3-Clause "New" or "Revised" License
8 stars 7 forks source link

Package throws runtime error #4

Closed dVoidMan closed 7 months ago

dVoidMan commented 7 months ago

The package throws this error at runtime:

======== Exception caught by services library ====================================================== The following MissingPluginException was thrown while activating platform stream on channel keyboardHeightEventChannel: MissingPluginException(No implementation found for method listen on channel keyboardHeightEventChannel)

When the exception was thrown, this was the stack:

0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:308:7)

#1 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:652:9) ==================================================================================================== I even cloned the repo and re-ran. Same result. Please what could be wrong?
dVoidMan commented 7 months ago

It now works!

It worked after I re-ran my application (hot re-load and hot-restart may not work)