-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
onRequestPermissionsResult is deprecated #699
Comments
thx, this is something we've been thinking of. |
Facing the same issue. |
what do you mean? I suppose it's not related to the issue 🤔 |
Hi, do you know when the deprecated methods will be support? |
Facing warnings for this as well. We use Dagger version 2.33, which depends on newer Activity/Fragment APIs that deprecates onRequestPermissionsResult. Since onRequestPermissionsResult is used by permissiondispatcher generated code we are receiving warnings for this. |
um...I know it's deprecated but I'm afraid we can't keep the current API with ActivityResultContract 🤔 Can anyone think of it? In my understanding, the reason Google has deprecated |
So we need to suppress warning in the generated PermissionDispatcher files? |
For a quick fix that can be enough, but better if you use the expected solution from Yuki-r's comment: #699 (comment) |
Will you do it? |
@RustamSitdikov No, I don't really like to update generated code files. Instead, we have decided to remove PermissionDispatcher library and use ActivityResultContract with RequestMultiplePermissions. |
@hotchemi Hi, I face the same problem of gradle report |
FAQs
Overview
Expected
Actual
Environment
Reproducible steps
The text was updated successfully, but these errors were encountered: