adobe / aepsdk_flutter

Apache License 2.0
10 stars 12 forks source link

Bug fixes in existing plugins #42

Closed praveek closed 1 year ago

praveek commented 1 year ago

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.

dependency_overrides:
  flutter_aepcore:
    path: ../flutter_aepcore