mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-07 03:05:36 +08:00
refactor: big modified
- update dependencies - migration reflection api to KavaRef - merge to new api usage
This commit is contained in:
@@ -29,9 +29,9 @@ footer: Apache-2.0 License | Copyright (C) 2019 HighCapable
|
||||
|
||||
```kotlin
|
||||
loadApp(name = "com.android.browser") {
|
||||
ActivityClass.method {
|
||||
Activity::class.resolve().firstMethod {
|
||||
name = "onCreate"
|
||||
param(BundleClass)
|
||||
parameters(Bundle::class)
|
||||
}.hook {
|
||||
before {
|
||||
// Your code here.
|
||||
|
Reference in New Issue
Block a user