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

用户在设置里撤销隐私协议,如何收到回调通知? #167

Open
badsdy opened this issue Apr 1, 2019 · 1 comment
Open

Comments

@badsdy
Copy link

badsdy commented Apr 1, 2019

check docs before issue

Support Question

环境条件

  • app版本: [e.g. v6.0.0/DB]
  • 相关模块和API: [e.g. MHPluginSDK.saveInfo]

问题描述

简单明了地描述你的疑问。
需要本地保存用户对隐私的处理,但是文档里没有找到设置里撤销隐私的回调。

使用方法

你是如何使用SDK的?

尝试过的解决办法

其他的上下文/日志/截图

提供更多的上下文,有日志或者截图更好。

@LiuMengzhou
Copy link
Contributor

this._deviceCancelAuthorization = DeviceEventEmitter.addListener(MHPluginSDK.deviceCancelAuthorization, (event) => {
  MHPluginSDK.saveInfo({});
  console.log("用户撤销隐私授权");
});

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