capacitor-community / privacy-screen

⚡️ Capacitor plugin that protects your app from displaying a screenshot in Recents screen/App Switcher.
MIT License
88 stars 23 forks source link

FIX: iOS black screen when camera overview turned on #68

Closed qliqdev closed 1 year ago

qliqdev commented 1 year ago

Pull request checklist

Please check if your PR fulfills the following requirements:

1) Camera Plugin

As you mentioned in description

### Using the Camera Plugin

Disabling screenshots can interfere with plugins that hide the WebView like the Camera plugin. To avoid issues call `disable` before using a plugin and then `enable` after you are finished.

we can listen for AVCaptureSessionDidStartRunning and AVCaptureSessionDidStopRunning and enable screenshots without disabling and enabling Privacy mode

2) Blur effect instead of default grey

robingenz commented 1 year ago

This should be a configuration option that is disabled by default (current behavior) but can be enabled if desired.

robingenz commented 1 year ago

Since there have been no updates I am closing this PR.