easy_localization icon indicating copy to clipboard operation
easy_localization copied to clipboard

EasyLocalization.ensureInitialized never finishes when project compiled as ios-framework

Open kar opened this issue 3 years ago • 2 comments

Situation:

  • project works fine when running in ios simulator (localization works)
  • once compiled to ios-framework and included in an ios app as a view, suddenly the view won't render
  • no visible errors in logs except two things:

a) seems like await EasyLocalization.ensureInitialized(); never completes and hence the view never renders b) this shows up in the log:

[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)

Also, the project works just fine without calling the ensureInitialized() mentioned above (ofc without localization).

Any clues how to deal with this?

kar avatar Oct 12 '22 13:10 kar

i get this error on android too

pishguy avatar Jan 19 '24 15:01 pishguy