react-native整合极光推送
title date tags react-native 0.42 整合极光推送 2019-08-29 07:44:20 -0700 react-native 极光推送官网 注册应用 配置jpush-react-native github地址: https://github.com/jpush/jpush-react-native 同样的,打开终端在项目根目录下输入: npm install jcore-react-native@1.0.0 --save npm install jpush-react-native@1.5.0 --save 下载完成后,按1、2、3的顺序修改如下文件: 在1中修改如下: include ' :jpush-react-native ' project ( ' :jpush-react-native ' ). projectDir = new File ( rootProject . projectDir , ' ../node_modules/jpush-react-native/android ' ) include ' :jcore-react-native ' project ( ' :jcore-react-native ' ). projectDir = new File ( rootProject . projectDir , ' ..