hurshi / dio-http-cache

http cache lib for Flutter dio like RxCache
Apache License 2.0
274 stars 223 forks source link

MissingPluginException(No implementation found for method getDatabasesPath on channel com.tekartik.sqflite) #63

Open adesege opened 3 years ago

adesege commented 3 years ago

I get this error when I initialize the DioCacheManage with no databasePath option.

DioError [DioErrorType.DEFAULT]: MissingPluginException(No implementation found for method getDatabasesPath on channel com.tekartik.sqflite)

When I pass the option, I get

DioError [DioErrorType.DEFAULT]: FileSystemException: Creation failed, path = '/assets' (OS Error: Read-only file system, errno = 30)

Don't know what I'm doing wrong though. Will appreciate any help. Thanks.