Check Xcode build setting FULL_PRODUCT_NAME for bundle name (#55799)

This commit is contained in:
Jenn Magder
2020-05-04 11:31:08 -07:00
committed by GitHub
parent 741ef91961
commit c8c55b4098
14 changed files with 319 additions and 222 deletions

View File

@@ -45,7 +45,7 @@ class MockApplicationPackageStore extends ApplicationPackageStore {
versionCode: 1,
launchActivity: 'io.flutter.android.mock.MockActivity',
),
iOS: BuildableIOSApp(MockIosProject(), MockIosProject.bundleId),
iOS: BuildableIOSApp(MockIosProject(), MockIosProject.bundleId, MockIosProject.appBundleName),
);
}
@@ -529,12 +529,13 @@ class MockPollingDeviceDiscovery extends PollingDeviceDiscovery {
class MockIosProject extends Mock implements IosProject {
static const String bundleId = 'com.example.test';
static const String appBundleName = 'My Super Awesome App.app';
@override
Future<String> get productBundleIdentifier async => bundleId;
@override
String get hostAppBundleName => 'Runner.app';
Future<String> get hostAppBundleName async => appBundleName;
}
class MockAndroidDevice extends Mock implements AndroidDevice {