File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,8 @@ class IosProject extends XcodeBasedProject {
262
262
static final RegExp _productBundleIdPattern = RegExp ('^\\ s*$kProductBundleIdKey \\ s*=\\ s*(["\' ]?)(.*?)\\ 1;\\ s*\$ ' );
263
263
static const String _kProductBundleIdVariable = '\$ ($kProductBundleIdKey )' ;
264
264
265
- static final RegExp _associatedDomainPattern = RegExp (r'^applinks:(.*)' );
265
+ // The string starts with `applinks:` and ignores the query param which starts with `?`.
266
+ static final RegExp _associatedDomainPattern = RegExp (r'^applinks:([^?]+)' );
266
267
267
268
Directory get ephemeralModuleDirectory => parent.directory.childDirectory ('.ios' );
268
269
Directory get _editableDirectory => parent.directory.childDirectory ('ios' );
Original file line number Diff line number Diff line change @@ -920,6 +920,7 @@ plugins {
920
920
< String > [
921
921
'applinks:example.com' ,
922
922
'applinks:example2.com' ,
923
+ 'applinks:example3.com?mode=developer' ,
923
924
],
924
925
);
925
926
final String outputFilePath = await project.ios.outputsUniversalLinkSettings (
@@ -935,6 +936,7 @@ plugins {
935
936
< String > [
936
937
'example.com' ,
937
938
'example2.com' ,
939
+ 'example3.com' ,
938
940
],
939
941
),
940
942
);
You can’t perform that action at this time.
0 commit comments