-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
p: toolingAffects the flutter_plugin_tools packageAffects the flutter_plugin_tools packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
If you run flutter analyze on https://github.com/flutter/plugins/tree/master/packages/firebase_auth you get the following output:
Analyzing /Users/goderbauer/dev/plugins/packages/firebase_auth...
error • Target of URI doesn't exist: 'package:google_sign_in/google_sign_in.dart' at example/lib/main.dart:10:8 • uri_does_not_exist
error • Undefined class 'GoogleSignIn' at example/lib/main.dart:13:7 • undefined_class
error • Undefined class 'GoogleSignIn' at example/lib/main.dart:13:39 • undefined_class
error • Undefined class 'GoogleSignInAccount' at example/lib/main.dart:63:5 • undefined_class
error • Undefined class 'GoogleSignInAuthentication' at example/lib/main.dart:64:5 • undefined_class
5 issues found.
All those issues are bogus. Apparently, flutter analyze can't deal with the fact that plugins have an example sub-package.
/cc @mit-mit
Metadata
Metadata
Assignees
Labels
p: toolingAffects the flutter_plugin_tools packageAffects the flutter_plugin_tools packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.