meta-flutter / workspace-automation

Work aids for developing with Embedded Flutter on Linux
Apache License 2.0
6 stars 4 forks source link

No implementation found error. got flutter secure storage #23

Closed bernardcraddock closed 8 months ago

bernardcraddock commented 9 months ago

@jwinarske

if I build workspace automation as follows then run ped -b agl - (includes secure storage) I get the follow No implementation found error.

However, if I switch to my -b ivi_localstore (doesn't include secure storage) everything works fine. Are you able to advise what needs to be done either your end or mine to enable secure storage in desktop-homescreen working?

regards

git clone https://github.com/meta-flutter/workspace-automation -b main ./flutter_workspace.py --clean --flutter-version=3.16.4 source ./setup_env.sh cd ped flutter run -d desktop-homescreen

Resolving dependencies... (1.3s) _fe_analyzer_shared 64.0.0 (65.0.0 available) analyzer 6.2.0 (6.3.0 available) coverage 1.6.4 (1.7.2 available) file 6.1.4 (7.0.0 available) fl_chart 0.64.0 (0.65.0 available)

[21:04:18.032559] [E] Not sending message on Platform Thread [21:04:18.034360] [I] [2023-12-20 21:04:18.025565]: DEBUG: UiSettingsDao : Retrieving instance of UiSettings [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)

0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:320:7)

#1 SecureStorage.readData (package:pumped_end_device/data/local/dao2/secure_storage.dart:42:12) #2 UiSettingsDao.getUiSettings (package:pumped_end_device/data/local/dao2/ui_settings_dao.dart:41:26) #3 main (package:pumped_end_device/main.dart:50:28) Syncing files to device Toyota homescreen... 113ms Flutter run key commands. r Hot reload. 🔥🔥🔥 R Hot restart. h List all available interactive commands. d Detach (terminate "flutter run" but leave application running). c Clear the screen q Quit (terminate the application on the device). A Dart VM Service on Toyota homescreen is available at: http://127.0.0.1:43797/lOlPgAGMShU=/ The Flutter DevTools debugger and profiler on Toyota homescreen is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:43797/lOlPgAGMShU=/
bernardcraddock commented 8 months ago

Closed as missing libsecret-devel package