react-native-aliyun-push
react-native-aliyun-push copied to clipboard
A react native wrapper for aliyun push SDK
System: Shell: 5.7.1 - /bin/zsh Binaries: Node: 11.10.1 - ~/.nvm/versions/node/v11.10.1/bin/node Yarn: 1.16.0 - ~/.yarn/bin/yarn npm: 6.7.0 - ~/.nvm/versions/node/v11.10.1/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.8.4 - /usr/local/bin/pod SDKs: iOS SDK:...
关于辅助通道升级
1. https://help.aliyun.com/document_detail/30067.html?spm=a2c4g.11174283.6.590.13396d16f6IEdg 按照官方说明 OPPO、魅族、VIVO 通道 需使用 v3.0.10 版本,另外每个平台对应用接入的要求不同,请查看各平台官网说明. 有三个通道需要把第三方通道包升级为3.0.10才能支持,而咱这个使用的是 alicloud-android-third-push-3.0.9.aar 建议升级一下下。 2.可否把安卓的删除某个id的通知和ios的删除某个id的通知给封装起来,暴露给RN调用呢。 因为想通知存在一种情况就是A发送给B一个通知111后,又发送了个新的通知222后,由于都是A发过来的,只需要显示最后一个就行了,这就需要把前面的给删了您说是吧。 既然这个是push组件,可以考虑把这个功能同时封装起来 感谢大佬的贡献。
请问是什么原因造成DeviceToken失败,该如何解决
当 iOS接收到推送通知时,点击通知栏唤起APP,如何获取extra参数?从 `initialProps`拿不到。 ```javascript export default class App extends React.Component { constructor(initialProps) { super(initialProps) // 如何从`initialProps`中获取 extra参数? } } ``` 阿里云官方参考文档:https://help.aliyun.com/knowledge_detail/50271.html
Android 调用`GcmRegister.register()`,抛如下异常: ``` 2020-01-10 20:14:15.937 12102-12195/? E/MPS:GcmRegister: register java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/iid/FirebaseInstanceIdService; at com.alibaba.sdk.android.push.register.GcmRegister.register(GcmRegister.java:22) at host.exp.exponent.MainApplication.a(MainApplication.java:206) at host.exp.exponent.MainApplication.onCreate(MainApplication.java:135) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1165) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6074) at android.app.ActivityThread.access$1300(ActivityThread.java:207) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1758) at android.os.Handler.dispatchMessage(Handler.java:106) at...
辅助通道,页面白屏
小米、华为清除掉app进程走辅助通道,点击通知栏进入app,页面白屏
部分手机运行崩溃
在部分手机上运行会崩溃,但是把MainApplication.java下面原本设置的 ` @Override public void onCreate() { super.onCreate(); //下面是添加的代码 // this.initCloudChannel(this); //添加结束 SoLoader.init(this, /* native exopackage */ false); }` 里面的 this.initCloudChannel(this);注释掉,app正常运行。 debug版本的app运行正常,并且没有报下面的错误。 release版本闪退logcat报错主要如下 FATAL EXCEPTION: main Process: com.egame_android, PID: 10185...
能收到消息。
Android9华为、小米均失败,调试环境下,功能正常,编译成APK后getDeviceId失败. framesToTop:1,nativeStackAndroid:[],code:EUNSPECOFOED. Android7小米真实环境成功。
我在react-native0.61.2 使用 react-native link react-native-aliyun-push 没有效果