Skip to content

Commit

Permalink
fix: flutter app detection issues when using flutter_localizations (f…
Browse files Browse the repository at this point in the history
…ixes #37 & #45)
  • Loading branch information
Salakar committed Mar 30, 2022
1 parent e7d5a8f commit 04d4e6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/flutterfire_cli/lib/src/common/package.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ class Package {

/// Returns whether this package is for Flutter.
/// This is determined by whether the package depends on the Flutter SDK.
late final bool isFlutterPackage = dependencies.contains('flutter');
late final bool isFlutterPackage = dependencies.contains('flutter') ||
dependencies.contains('flutter_localizations');

/// Returns whether this package is a Flutter app.
/// This is determined by ensuring all the following conditions are met:
Expand Down

0 comments on commit 04d4e6c

Please sign in to comment.