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

Use with Kotlin #17

Open
embydextrous-zz opened this issue Nov 21, 2016 · 5 comments
Open

Use with Kotlin #17

embydextrous-zz opened this issue Nov 21, 2016 · 5 comments
Assignees

Comments

@embydextrous-zz
Copy link

embydextrous-zz commented Nov 21, 2016

I am currently using this library in an activity written in kotlin. I think it is not taking annotations

@AskPermission(Manifest.permission.READ_SMS) private fun checkSMSPermission() { permissionListener?.permissionGranted() // this method is called }

It is calling listener but not checking for permissions. Is this library not compatible with kotlin?

@canelmas
Copy link
Owner

@embydextrous I haven't tried the library with kotlin yet.

@chinchponkli
Copy link

Any plans for kotlin support.

@canelmas canelmas self-assigned this Sep 2, 2017
@canelmas
Copy link
Owner

canelmas commented Sep 2, 2017

@chinchponkli @embydextrous I may have have found a way to hook weaving via Transform API which will help support Kotlin as well.

So I would say, very soon.

@canelmas
Copy link
Owner

canelmas commented Sep 4, 2017

@chinchponkli do you mind giving 1.0.0-beta1 a try?

@monowar1993
Copy link

@canelmas I tried with kotlin on android 7.1.2. But its not asking for permission. Please do check. Its a very good library. It works fine with JAVA. Please solve the issues.

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

4 participants