akexorcist / ScreenshotDetection

[Android] Screenshot detection while user using your app
Apache License 2.0
160 stars 33 forks source link

Hello, I found that after denying the storage permission, the screenshot will call the onScreenCapturedWithDeniedPermission method twice. #4

Closed MRDHR closed 2 years ago

MRDHR commented 3 years ago

Hello, I found that after denying the storage permission, the screenshot will call the onScreenCapturedWithDeniedPermission method twice. After the permission is granted, the onScreenCaptured method is called only once. sorry for my pool english

image image

akexorcist commented 2 years ago

Refer to #5, onScreenCapturedWithDeniedPermission method not suitable in that case. Remove it might be the solution. So I will remove it in next version.