Baseflow / Baseflow/XamarinMediaManager

Prevent capturing the video player

Open
#380 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
763
Forks
299
PR merge metrics
No merged PRs in 30d

Description

Hi there

Ive read its possible prevent screen capturing in android and ios (Didnt find a solution for uwp yet)
[Here](https://stackoverflow.com/questions/28606689/how-to-prevent-screen-capture-in-android)
And [here](https://stackoverflow.com/questions/46336520/ios-11-screen-record-disable-video-recording)

The question is How do i implement this flag secure in xamarin forms

getWindow().setFlags(LayoutParams.FLAG_SECURE, LayoutParams.FLAG_SECURE);

Thanks

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Xamarin Forms integration and the Android, iOS, and UWP platform layers mentioned in the issue, with the Android FLAG_SECURE example as the initial reference. Determine which platforms can prevent capture and what API surface should expose the behavior; done means the requested video-player capture prevention works consistently where supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
mobile, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.