Unverified Commit 78ed142f authored by chunhtai's avatar chunhtai Committed by GitHub

Rename iosdeeplinksettings to iosuniversallinksettings (#126173)

as title
parent be0aa01b
...@@ -41,7 +41,7 @@ const String kFlutterMemoryInfoServiceName = 'flutterMemoryInfo'; ...@@ -41,7 +41,7 @@ const String kFlutterMemoryInfoServiceName = 'flutterMemoryInfo';
const String kFlutterGetSkSLServiceName = 'flutterGetSkSL'; const String kFlutterGetSkSLServiceName = 'flutterGetSkSL';
const String kFlutterGetIOSBuildOptionsServiceName = 'flutterGetIOSBuildOptions'; const String kFlutterGetIOSBuildOptionsServiceName = 'flutterGetIOSBuildOptions';
const String kFlutterGetAndroidBuildVariantsServiceName = 'flutterGetAndroidBuildVariants'; const String kFlutterGetAndroidBuildVariantsServiceName = 'flutterGetAndroidBuildVariants';
const String kFlutterGetIOSDeeplinkSettingsServiceName = 'flutterGetIOSDeeplinkSettings'; const String kFlutterGetIOSUniversalLinkSettingsServiceName = 'flutterGetIOSUniversalLinkSettings';
/// The error response code from an unrecoverable compilation failure. /// The error response code from an unrecoverable compilation failure.
const int kIsolateReloadBarred = 1005; const int kIsolateReloadBarred = 1005;
...@@ -339,7 +339,7 @@ Future<vm_service.VmService> setUpVmService({ ...@@ -339,7 +339,7 @@ Future<vm_service.VmService> setUpVmService({
vmService.registerService(kFlutterGetAndroidBuildVariantsServiceName, kFlutterToolAlias), vmService.registerService(kFlutterGetAndroidBuildVariantsServiceName, kFlutterToolAlias),
); );
vmService.registerServiceCallback(kFlutterGetIOSDeeplinkSettingsServiceName, (Map<String, Object?> params) async { vmService.registerServiceCallback(kFlutterGetIOSUniversalLinkSettingsServiceName, (Map<String, Object?> params) async {
final XcodeUniversalLinkSettings settings = await flutterProject.ios.universalLinkSettings( final XcodeUniversalLinkSettings settings = await flutterProject.ios.universalLinkSettings(
configuration: params['configuration']! as String, configuration: params['configuration']! as String,
scheme: params['scheme']! as String, scheme: params['scheme']! as String,
...@@ -355,7 +355,7 @@ Future<vm_service.VmService> setUpVmService({ ...@@ -355,7 +355,7 @@ Future<vm_service.VmService> setUpVmService({
}; };
}); });
registrationRequests.add( registrationRequests.add(
vmService.registerService(kFlutterGetIOSDeeplinkSettingsServiceName, 'Flutter Tools'), vmService.registerService(kFlutterGetIOSUniversalLinkSettingsServiceName, kFlutterToolAlias),
); );
} }
......
...@@ -83,8 +83,8 @@ const List<VmServiceExpectation> kAttachIsolateExpectations = ...@@ -83,8 +83,8 @@ const List<VmServiceExpectation> kAttachIsolateExpectations =
'alias': kFlutterToolAlias, 'alias': kFlutterToolAlias,
}), }),
FakeVmServiceRequest(method: 'registerService', args: <String, Object>{ FakeVmServiceRequest(method: 'registerService', args: <String, Object>{
'service': kFlutterGetIOSDeeplinkSettingsServiceName, 'service': kFlutterGetIOSUniversalLinkSettingsServiceName,
'alias': 'Flutter Tools', 'alias': kFlutterToolAlias,
}), }),
FakeVmServiceRequest( FakeVmServiceRequest(
method: 'streamListen', method: 'streamListen',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment