Skip to content

Commit

Permalink
fix: use correct platform name when detecting ios bundle ids
Browse files Browse the repository at this point in the history
  • Loading branch information
Salakar committed Apr 21, 2022
1 parent ebe9e62 commit 135a105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/flutterfire_cli/lib/src/flutter_app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ class FlutterApp {

String? _readBundleIdForPlatform(String platform) {
final xcodeProjFile =
xcodeProjectFileInDirectory(Directory(package.path), kMacos);
xcodeProjectFileInDirectory(Directory(package.path), platform);
final xcodeAppInfoConfigFile =
xcodeAppInfoConfigFileInDirectory(Directory(package.path), kMacos);
xcodeAppInfoConfigFileInDirectory(Directory(package.path), platform);
final bundleIdRegex = RegExp(
r'''^[\s]*PRODUCT_BUNDLE_IDENTIFIER\s=\s(?<bundleId>[A-Za-z\d_\-\.]+)[;]*$''',
multiLine: true,
Expand Down

0 comments on commit 135a105

Please sign in to comment.