Closed marco-mumtak closed 6 months ago
Amazing ! Can it be merged ?
Can't wait for this new feature ! Can it be merged ?
thx!
Here is how to use it for IOS
import LockScreenImage from 'path-to-your-image';
const setScreenshotDisabled = async () => {
const preventScreenImage = Image.resolveAssetSource(LockScreenImage).uri;
RNPreventScreenshot.enabled(true);
RNPreventScreenshot.enableSecureView(preventScreenImage);
};
Description
Add support for images on RNPreventScreenshot.enableSecureView method as argument. Supports all types of URI such as https:// or file://
Solves https://github.com/killserver/react-native-screenshot-prevent/issues/34