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

flutter调用native大部分接口没有执行result.success #15

Closed
39251474 opened this issue Jul 9, 2019 · 2 comments
Closed

flutter调用native大部分接口没有执行result.success #15

39251474 opened this issue Jul 9, 2019 · 2 comments

Comments

@39251474
Copy link

39251474 commented Jul 9, 2019

Android实现大部分的接口没有调用result.success(null)来返回结果,并且dart端全部使用 async+await模式。这样导致如果在dart端调用AgoraRtcEngine方法时也使用协程会卡住无法继续执行,因为大部分接口返回的Future永远不会被执行。还有Android端result不需要包装,不管Android端在哪个线程调用result的方法都会在dart的主线程返回。

@plutoless
Copy link

感谢指出 确实是我们当时开发的疏忽,这边可能给我们提个PR吗?

@github-actions
Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants