Closed BananaEgg closed 2 years ago
Hmm... asset access in Flutter is obviously still buggy. This should actually access the asset of a different package but does not seem to work in some transitive cases (funny engough: it works in some cases).
I suspect a bug in the local cache handling of packages by Flutter. Until fixed by the Flutter developpers I will remove this dependecy. If needed you will have to place a file manually to preload the storage. Expect a new version to be published today and anounced on this issue.
Thank you for your response, can you please provide instructions regarding this file. What file and where it should be placed?
The resource file loads prerequisites for the indicator. It is a generic mechanism providing data if no cloud is available (so I guess you are using it in a test program without replication). The file is searched in the following locations (always relative to the current working directory which may be platform dependant):
It is lookked up when the first mapper is initialized and makes sure that apart from the base nodes a minimum set of static nodes is loaded until replication is available.
A sample file with the current data may be found in the repository
If you do not need any data an empty file will do as well
Published as 0.7.5.
Can you confirm that the issue is gone?
Yes, works now. Thank you.
After upgrading geiger_api to 0.7.4, I'm receiving the following error message:
Error detected in pubspec.yaml: No file or variants found for asset: packages/geiger_localstorage/lib/assets/store/store.data.
This asset was included from package geiger_api.