Ibotta / gradle-aspectj-pipeline-plugin

A Gradle plugin for Android projects which performs AspectJ weaving using Android's bytcode manipulation pipeline.
Apache License 2.0
75 stars 15 forks source link

Q: can I use this library to hook View methods? #32

Closed ibradwan closed 1 year ago

ibradwan commented 1 year ago

Hello there,

Thanks for providing this awesome library.

I'm currently interested in hooking the standard android.view.View class public methods. Would it be possible to do this using this library? Or does it only support the code that is being built as part of my application?

Thank you!

eschlenz commented 1 year ago

@ibradwan Hey, at this time it can only hook your own code (not 3rd party libraries). We've had some other inquiries along the same lines in the past, and have tried a couple things to allow 3rd party library hooks but weren't successful in getting it to work.

ibradwan commented 1 year ago

I see, thanks a lot @eschlenz.