In my app there is this error thrown in some scenarios:
NullPointerException: Attempt to invoke virtual method 'android.view.Window android.app.Activity.getWindow()' on a null object reference
at: com.killserver.screenshotprev.RNScreenshotPreventModule$4 in run at line 73
In my app there is this error thrown in some scenarios:
This PR should fix it.