ios-rn-sdk icon indicating copy to clipboard operation
ios-rn-sdk copied to clipboard

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

Open badsdy opened this issue 5 years ago • 1 comments

check docs before issue

Support Question

环境条件

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

问题描述

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

使用方法

你是如何使用SDK的?

尝试过的解决办法

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

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

badsdy avatar Apr 01 '19 10:04 badsdy

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

LiuMengzhou avatar Apr 01 '19 11:04 LiuMengzhou