我正在使用GetStorage插件和工作管理器,并试图访问后台存储的数据--通过错误访问
错误:flutter/lib/ui/ui_dart_state.cc(209)未处理的异常:MissingPluginException(在通道plugins.fltter.io/path_provider上未找到方法getApplicationDocumentsDirectory的实现)
E/ GetStorage._init (11718):#0 GetStorage._init
E/颤振(11718):E/颤振(11718):#1新GetStorage._internal。(package:get_storage/src/storage_impl.dart:28:7) E/颤振(11718):E/颤振(11718):#2 callbackDispatcher (package:anganwadimapping/backgroundProcessCallback.dart:8:3) E/颤振(11718):E/颤振(11718):
发布于 2022-04-26 12:38:00
我认为,当应用程序关闭时,您无法访问存储在工作管理器中的本地数据。你可以解释你的问题也许我们能找到另一种方法
https://stackoverflow.com/questions/72012945
复制相似问题