1) Update dispatchEvent signature to
static Future<void> dispatchEvent(Event event)
2) Plugins should handle the methods by either calling result.error or result.success to complete the future returned by Flutter API. I have fixed issues where we just return without completing future in case of error.
3) Removed redundant calls to AndroidUtil.runOnUIThread in onMethodCall function.
To avoid build failures, added following block to resolving core dependency by using local path. Remove it after Core 2.0 release.
1) Update dispatchEvent signature to
static Future<void> dispatchEvent(Event event)
2) Plugins should handle the methods by either calling
result.error
orresult.success
to complete the future returned by Flutter API. I have fixed issues where we just return without completing future in case of error.3) Removed redundant calls to
AndroidUtil.runOnUIThread
inonMethodCall
function.To avoid build failures, added following block to resolving core dependency by using local path. Remove it after Core 2.0 release.