-
Notifications
You must be signed in to change notification settings - Fork 393
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
会自动移除annotation,导致网页调用本地方法不可用 #23
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
处理前的smali
.method public print()V
.registers 10
.annotation runtime Landroid/webkit/JavascriptInterface;
.end annotation
.end method
处理后变成
.method public native print()V
.end method
网页js调用失效
必须自己手动修改成
.method public native print()V
.annotation runtime Landroid/webkit/JavascriptInterface;
.end annotation
.end method
这样才能生效
The text was updated successfully, but these errors were encountered: