jpush-react-native icon indicating copy to clipboard operation
jpush-react-native copied to clipboard

react-native 0.64.2集成极光推送 getRegistrationID一直为空。

Open whoopsHzh opened this issue 4 years ago • 3 comments

你的运行环境

  • 插件版本:
  • react-native 版本:0.64.2 "jcore-react-native": "^1.9.4", "jpush-react-native": "^2.8.7",

期望效果

获取getRegistrationID、使用推送

实际效果

registerID:{"registerID":""} image

重现步骤

  1. image
  2. image
  3. image
  4. image

Debug logs

包括 Android 或 iOS 的日志:

whoopsHzh avatar Aug 26 '21 03:08 whoopsHzh

真机才有

452MJ avatar Aug 27 '21 04:08 452MJ

图二,这里不是compile吧 官方写的是implementation

BM-laoli avatar Aug 31 '21 05:08 BM-laoli

https://github.com/jpush/jpush-react-native/issues/781#issuecomment-908883729 看看有没帮助

452MJ avatar Sep 08 '21 04:09 452MJ