flutter_secure_storage: MissingPluginException

Environment:

- Flutter version 1.9.6-pre.4 at /usr/local/Caskroom/flutter/latest/flutter
- Framework revision 17813975a9 (20 hours ago), 2019-08-24 17:06:36 -0400
- Engine revision deca2c0da8
- Dart version 2.5.0

I am trying to use flutter_secure_storage (version 3.2.1+1) in a macOS application. Is this platform supported at all? When trying to write to the storage

await secureStorage.write(key: 'token', value: response['access_token']);

I get:

[ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: MissingPluginException(No implementation found for method write on channel plugins.it_nomads.com/flutter_secure_storage)

Thanks for support.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 5
  • Comments: 18 (3 by maintainers)

Most upvoted comments

I have also been getting the MissingPluginException. Device: Pixel 2 API 27 Emulator

info flutter.tools E/flutter (15715): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: MissingPluginException(No implementation found for method read on channel plugins.it_nomads.com/flutter_secure_storage)

Uninstalling and installing the app only works.

I get a missing plugin exception running it on a pixel 2xl emulator

It should be possible only if host app isn’t rebuild if a plugin was added. Pls try stop the app, do flutter clean and launch