akexorcist / ScreenshotDetection

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

Hello, there is a crash in the use of this library. #7

Closed MRDHR closed 2 years ago

MRDHR commented 2 years ago

android.database.AbstractCursor.checkPosition(AbstractCursor.java:515) android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:138) android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:52) android.database.CursorWrapper.getString(CursorWrapper.java:141) com.akexorcist.screenshotdetection.ScreenshotDetectionDelegate.getFilePathFromContentResolver(ScreenshotDetectionDelegate.kt:142) com.akexorcist.screenshotdetection.ScreenshotDetectionDelegate.onContentChanged(ScreenshotDetectionDelegate.kt:107) com.akexorcist.screenshotdetection.ScreenshotDetectionDelegate.access$onContentChanged(ScreenshotDetectionDelegate.kt:32) com.akexorcist.screenshotdetection.ScreenshotDetectionDelegate$startScreenshotDetection$1$invokeSuspend$$inlined$collect$1.emit(Collect.kt:134) kotlinx.coroutines.flow.FlowKt__DelayKt$debounceInternal$1$3$1.invokeSuspend(Delay.kt:235) kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) android.os.Handler.handleCallback(Handler.java:883) android.os.Handler.dispatchMessage(Handler.java:100) android.os.Looper.loop(Looper.java:237) android.app.ActivityThread.main(ActivityThread.java:7830) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1040)