FabriBertani / Plugin.Maui.ScreenSecurity

Safeguard your .NET MAUI app effortlessly by preventing content exposure, screenshots, and recordings with ease.
MIT License
160 stars 12 forks source link

Not working with blazor MAUI (Android) ? #28

Closed jetonpeche closed 6 months ago

jetonpeche commented 8 months ago

How can I use it with blazor MAUI on Android ? Your example don't work with it

jetonpeche commented 8 months ago

EDIT: I fund it, I had to copy past 3 lines of source code in mainActivity.cs In OnResume() and OnPause()

FabriBertani commented 7 months ago

Hi @jetonpeche how are you?

What happens with this issue? Is it closed?

vikashhd commented 7 months ago

@FabriBertani, library is not working with Blazor MAUI app. Neither for Android nor for ios. Kindly advise.

FabriBertani commented 6 months ago

@vikashhd @jetonpeche

I've added a new Blazor sample project with the implementation of this plugin, please take a look and confirm if that works for you.

jetonpeche commented 6 months ago

hello !

Yes it work on android 14 latest But windows IDK how can i try ^^

If possible, can you add color config like IOS ?

Thank you for your fix

FabriBertani commented 6 months ago

Hi @jetonpeche.

Thank you for your feedback.

If possible, can you add color config like IOS ?

Unfortunately, it's not possible to add this to Android or Windows, because it's handled by the OS on these platforms.