eros icon indicating copy to clipboard operation
eros copied to clipboard

个推初始化加回调,安卓机型可以使用另一种获取cid的方法

Open akFace opened this issue 5 years ago • 0 comments

Your questions.

  • 个推初始化加回调 bmPush.initPush({ appId: '', // appId、appKey、appSecret 需要到个推后台获取 appKey: '', appSecret: '' })

Environment.

  • Mobile model: iphoneX
  • Mobile system: iOS 12
  • Dev platform: darwin/windows/linux
  • Node: 8.x.x
  • Npm: 5.x.x

What do you think may be caused by the analysis of the problem.

  • 不加回调的话getCid不知道什么情况下才能获取到,也不知道初始化是否成功。
  • 还有,安卓可以通过此方法获取cid ,避免某些权限问题取不到cid: String cid = PushManager.getInstance().getClientid(mWXSDKInstance.getContext());

Reappearance of the problem (It's best to have a screenshot).

  • 暂无

akFace avatar Nov 03 '18 03:11 akFace