Skip to content

fix: Missing enableSecureView override on module export#69

Open
CrisTofani wants to merge 1 commit intokillserver:mainfrom
CrisTofani:main
Open

fix: Missing enableSecureView override on module export#69
CrisTofani wants to merge 1 commit intokillserver:mainfrom
CrisTofani:main

Conversation

@CrisTofani
Copy link
Contributor

This pull request makes a minor update to how the RNScreenshotPrevent native module is handled on non-web platforms. The main change is wrapping the native module to ensure that the enableSecureView method always has a default argument, improving its robustness and developer experience.

  • Native module handling:
    • Updated the assignment of RNScreenshotPrevent to wrap the native module and ensure that enableSecureView always receives a default imagePath argument, preventing potential errors if the argument is omitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant