Skip to content

Commit afc8408

Browse files
Fix build for permissions
1 parent dfaabfa commit afc8408

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Xamarin.Essentials/Permissions/Permissions.macos.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ public override Task<PermissionStatus> CheckStatusAsync() =>
2525
public override Task<PermissionStatus> RequestAsync() =>
2626
Task.FromResult(PermissionStatus.Granted);
2727

28+
public override bool ShouldShowRationale() => false;
29+
2830
public override void EnsureDeclared()
2931
{
3032
var plistKeys = RequiredInfoPlistKeys?.Invoke();

0 commit comments

Comments
 (0)