easy_localization
easy_localization copied to clipboard
EasyLocalization.ensureInitialized never finishes when project compiled as ios-framework
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?
i get this error on android too