Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run (#46928)
This commit is contained in:
committed by
Flutter GitHub Bot
parent
a15a81be21
commit
e54e301d50
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user