@@ -578,6 +578,7 @@ class _CrossCheckTable extends StatelessWidget {
578
578
final missingIos = hasIosAasaFile && ! linkData.os.contains (PlatformOS .ios);
579
579
final missingAndroid =
580
580
hasAndroidAssetLinksFile && ! linkData.os.contains (PlatformOS .android);
581
+ if (! missingIos && ! missingAndroid) return const SizedBox .shrink ();
581
582
582
583
final theme = Theme .of (context);
583
584
final domainMissing = Text (
@@ -602,14 +603,30 @@ class _CrossCheckTable extends StatelessWidget {
602
603
os: PlatformOS .android,
603
604
checkName: 'Manifest file' ,
604
605
status: domainMissing,
605
- children: const < Widget > [],
606
+ children: const < Widget > [
607
+ Padding (
608
+ padding: EdgeInsets .symmetric (horizontal: defaultSpacing),
609
+ child: Text (
610
+ 'This domain has an Asset link json file but it\' s missing in the android manifest file. '
611
+ 'If you want to set up deep linking for Android, you need to add this domain '
612
+ 'to your AndroidManifest.xml file.' ),
613
+ ),
614
+ ],
606
615
),
607
616
if (missingIos)
608
617
_CheckExpansionTile (
609
618
os: PlatformOS .ios,
610
619
checkName: 'Settings' ,
611
620
status: domainMissing,
612
- children: const < Widget > [],
621
+ children: const < Widget > [
622
+ Padding (
623
+ padding: EdgeInsets .symmetric (horizontal: defaultSpacing),
624
+ child: Text (
625
+ 'This domain has an AASA file but it\' s missing in local settings. '
626
+ 'If you want to set up deep linking for iOS, you need to add this domain '
627
+ 'to your info.Plist file.' ),
628
+ ),
629
+ ],
613
630
),
614
631
],
615
632
);
0 commit comments