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

Breaks on flutter master/alpha #78

Closed
drewwarren opened this issue May 18, 2016 · 4 comments
Closed

Breaks on flutter master/alpha #78

drewwarren opened this issue May 18, 2016 · 4 comments
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@drewwarren
Copy link

E/flutter : [ERROR:dart_error.cc(17)] Unhandled exception:
E/flutter : No top-level method 'getFilesDir' declared.
E/flutter : 
E/flutter : NoSuchMethodError: method not found: 'getFilesDir'
E/flutter : Receiver: top-level
E/flutter : Arguments: [...]
E/flutter : #0      NoSuchMethodError._throwNew (dart:core-patch/errors_patch.dart:169)
E/flutter : #1      createAnalytics.<createAnalytics_async_body> (package:usage/src/usage_impl_flutter.dart:22)
E/flutter : #2      Future.Future.microtask.<anonymous closure> (dart:async/future.dart:144)
E/flutter : #3      _microtaskLoop (dart:async/schedule_microtask.dart:41)
E/flutter : #4      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)

String dataPath = await getFilesDir();

getFilesDir was removed from flutter in flutter/flutter#3636

@devoncarew devoncarew added the type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) label May 18, 2016
@devoncarew
Copy link
Member

Thanks for letting us know! We should get the flutter portion of this under test.

@devoncarew
Copy link
Member

fixed by #79

@devoncarew
Copy link
Member

@drewwarren, can you try the latest published version and see if it works for you? Thanks!

@drewwarren
Copy link
Author

Perfect. Thanks Devon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

2 participants