Plugin.Maui.ScreenSecurity icon indicating copy to clipboard operation
Plugin.Maui.ScreenSecurity copied to clipboard

not working after FilePicker.Default.PickAsync

Open vahidsoufi opened this issue 7 months ago • 2 comments

hi, i have an issue

ScreenSecurity.Default.ActivateScreenSecurityProtection();
var result = await FilePicker.Default.PickAsync(options);

this code works for me.

but

var result = await FilePicker.Default.PickAsync(options);
ScreenSecurity.Default.ActivateScreenSecurityProtection();

screen security will not activate after await FilePicker.Default.PickAsync.

can u help me? everything is ok on windows. my problem is on android

i want to activate screen security on some file types not for all of them.

vahidsoufi avatar Dec 16 '23 13:12 vahidsoufi