flutter-pi icon indicating copy to clipboard operation
flutter-pi copied to clipboard

flutter_secure_storage MissingPluginException

Open INDAPP opened this issue 2 years ago • 3 comments

I'm trying to run an app with flutter_secure_storage plugin.

When I try to run the app I receive the following error:

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method read on channel plugins.it_nomads.com/flutter_secure_storage)

The application starts, but I cannot proceed without a secure storage.

The application works fine on other platforms like macOS or ubuntu.

I already tried to install libsecret-1-0 from apt-get, but the problem seems to be not related.

In the readme file I read that I "have to build the platform side of the plugins"... but how?

INDAPP avatar Nov 02 '23 21:11 INDAPP

Yeah you're right, flutter_secure_storage is not supported on flutter-pi and you'd need to write some C code to make it work.

Though this package might work: https://pub.dev/packages/amplify_secure_storage_dart

ardera avatar Jan 05 '24 13:01 ardera