Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run (#46928)

This commit is contained in:
Jenn Magder
2019-12-17 16:13:01 -08:00
committed by Flutter GitHub Bot
parent a15a81be21
commit e54e301d50
21 changed files with 186 additions and 95 deletions

View File

@@ -40,7 +40,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),
);
}
@@ -519,12 +519,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 {