Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests breaking due to path provider on GetStorage.init() #70

Closed
materoy opened this issue Jul 2, 2021 · 3 comments
Closed

Tests breaking due to path provider on GetStorage.init() #70

materoy opened this issue Jul 2, 2021 · 3 comments

Comments

@materoy
Copy link

materoy commented Jul 2, 2021

I'm getting this error when I call GetStorage.init()

Failed to load "/test/app/utils/database_test.dart": MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider) GetStorage._init package:get_storage/src/storage_impl.dart:47 ===== asynchronous gap =========================== new GetStorage._internal.<fn> package:get_storage/src/storage_impl.dart:28 ===== asynchronous gap =========================== main test/…/utils/database_test.dart:16 ===== asynchronous gap =========================== /var/folders/tb/1s9dn9sd7xz414ft8llkr7dc0000gn/T/flutter_tools.CrFDe3/flutter_test_listener.4A6vdQ/listener.dart 19:3 _testMain

checking previous issues of the same it was fixed but it's still surfacing

@sheheryarkhan501
Copy link

I am also getting this suddenly. Tried so many things but nothing is fixing it. Please anyone could help?

@sheheryarkhan501
Copy link

I have spotted my problem. I added mediation so it was causing it. Facebook and unity. For now I have removed it. Need to recheck everything again so that I don't do any step wrong.

@jonataslaw
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants