8000 hook自定义枚举类型报错 · Issue #47 · XianyuTech/aspectd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hook自定义枚举类型报错 #47

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

Closed
kelciej opened this issue May 26, 2020 · 1 comment
Closed

hook自定义枚举类型报错 #47

kelciej opened this issue May 26, 2020 · 1 comment

Comments

@kelciej
Copy link
kelciej commented May 26, 2020

您好,尝试用了demo中的instanceUniversalHook方法
dynamic instanceUniversalHook(PointCut pointcut) { print('mmm,Before:${pointcut.target}-${pointcut.function}}'); dynamic obj = pointcut.proceed(); return obj; }

其中某些页面的参数是自定义的枚举类型,这里报错Invalid argument(s),希望能改进,谢谢!

某页面为Tab 页,进入该页面执行instanceUniversalHook时,会报错 StackOverFlow
错误如下:
image

@kangwang1988
Copy link
Contributor

You can try aspectd 1.0.0 for flutter stable v1.22.1

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

No branches or pull requests

2 participants
0