-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal Exception: java.lang.IllegalStateException Fragment InvisibleFragment{61f0dec} (1438b1b4-0fad-454d-a883-60ca7cdecc62) not attached to a context. #269
Comments
@guolindev Here I am facing the crash in Android 10 when user select Crash logs:
|
+1 |
+1 新版有处理这个异常吗? |
+1 郭神,哪个版本可以修复这个问题 |
插眼= = |
+1 |
java.lang.IllegalStateException: Fragment o{d70347} (cbb23a1a-aba0-4d1d-b6ec-fd3110c20db7) not attache d to a context. |
com.permissionx.guolindev.request.InvisibleFragment类中onRequestNormalPermissionsResult回调中使用requireContext,会导致此异常,能否在回调中不要使用requireContext或者增加一些判断,起码保证不会crash
The text was updated successfully, but these errors were encountered: