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

关于移除定位监听 #149

Open
xiuzhongjin opened this issue May 13, 2022 · 1 comment
Open

关于移除定位监听 #149

xiuzhongjin opened this issue May 13, 2022 · 1 comment

Comments

@xiuzhongjin
Copy link

之前旧版本有addLocationListener、removeAllListeners,新版本只有addLocationListener,没有移除定位监听函数,想问下大佬如何移除监听

@qiuxiang
Copy link
Owner

addLocationListener 返回 EventEmitter,要移除监听的话就调用 .remove(),如果我没记错的话

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