-
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
Remove a workaround for targetSdkVersion < 23 #305
Comments
I feel like, at this point, we can force our users to use a |
Umm, I'd say it's a bit strong restriction. |
Ah, I see now. However, if we keep this conditional logic anyway (to show the "caution message" you're referring to, for instance), why not just keep the current functionality? I agree that we can could clean up the generated code here if we removed the |
Well, of course we can keep that but |
I completely agree with you, especially since we've arrived at Target SDK |
Is there any action needed for this? My project can't build anymore throwing exactly this error:
My targetSdkVersion is set to 25 and my Gradle has the following included:
EDIT: NVM, I forgot to update my apt |
you should add runtime module as compile dependency.
|
Overview
PermissionUtils.getTargetSdkVersion(target) < 23
to make sure that the library works under Marshmallow device.The text was updated successfully, but these errors were encountered: