Skip to content
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

Insert method call #12

Closed
shiraji opened this issue May 11, 2016 · 0 comments
Closed

Insert method call #12

shiraji opened this issue May 11, 2016 · 0 comments

Comments

@shiraji
Copy link
Member

shiraji commented May 11, 2016

https://github.com/shiraji/permissions-dispatcher-plugin/blob/master/src/main/kotlin/com/github/shiraji/permissionsdispatcherplugin/handlers/GeneratePMCodeHandler.kt#L75

Now, if onRequestPermissionsResult/onActivityResult method exists, it does not insert XxxPermissionsDispatcher.onRequestPermissionsResult(this, requestCode, grantResults);. This plugin should check if developer already write the delegation call, and then if does not exist, insert the line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant