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

按照文档里进行安卓集成,错误提示如下

Open PengT111 opened this issue 5 years ago • 4 comments

你的运行环境

安卓9.0

  • 插件版本:
  • react-native 版本:0.59.0

期望效果

能顺利初始化

实际效果

在Jpush.setAlias的时候就会出现如下错误

重现步骤

  1. 正常运行就会出现这个错误

Debug logs

包括 Android 或 iOS 的日志:

java.lang.String cannot be cast to com.facebook.react.bridge.ReadableNativeMap

Uploading 827F2A4DA8417A66476796584C01FCE4.jpg…

PengT111 avatar Mar 26 '20 08:03 PengT111

827F2A4DA8417A66476796584C01FCE4

PengT111 avatar Mar 26 '20 08:03 PengT111

some issues, any solution?

gexiaowei avatar Jun 18 '20 17:06 gexiaowei

怎么解决呢?

hooliy avatar Aug 26 '22 08:08 hooliy

JPush.setAlias({ sequence: 123, alias: 'my_alias', });

jy1989 avatar Jun 22 '23 14:06 jy1989