Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-xinge-push-fei

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-xinge-push-fei - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

.github/ISSUE_TEMPLATE/bug-report.md

8

package.json
{
"name": "react-native-xinge-push-fei",
"version": "0.0.1",
"version": "0.0.2",
"description": "Xinge push for react-native",

@@ -11,3 +11,3 @@ "main": "index.js",

"type": "git",
"url": "git+https://github.com/wanxsb/react-native-xinge-push.git"
"url": "git+https://github.com/china-english/react-native-xinge-push"
},

@@ -23,5 +23,5 @@ "keywords": [

"bugs": {
"url": "https://github.com/wanxsb/react-native-xinge-push/issues"
"url": "https://github.com/china-english/react-native-xinge-push/issues"
},
"homepage": "https://github.com/wanxsb/react-native-xinge-push#readme"
"homepage": "https://github.com/china-english/react-native-xinge-push#readme"
}

@@ -1,19 +0,4 @@

## TODO
- [x] 升级信鸽Android SDK 到 v3.2.2
- [x] 适配华为官方推送通道
- [x] 适配小米官方推送通道
- [x] 适配魅族官方推送通道
- [x] 升级信鸽iOS SDK 到 v3.1.0
## 版本对照表
react-native-xinge-push | 信鸽SDK(Android) | 信鸽SDK(iOS)
---|---|---
0.6 | 3.2.2 | 3.1.1
0.4~0.5 | 3.2.2 | 2.5.0
0.3 | 3.1.0 | 2.5.0
## install
```
npm install --save react-native-xinge-push
npm install --save react-native-xinge-push-fei
```

@@ -24,16 +9,5 @@

```
react-native link react-native-xinge-push
react-native link react-native-xinge-push-fei
```
## usage
### Android
待更新
#### 华为推送通道集成指南
1. 确认已在信鸽管理台中「应用配置-厂商&海外通道」中填写相关的应用信息。通常,相关配置将在1个小时后生效,请您耐心等待,在生效后再进行下一个步骤
2. 将集成好的App(测试版本)安装在测试机上,并且运行App
3. 保持App在前台运行,尝试对设备进行单推/全推
4. 如果应用收到消息,将App退到后台,并且杀掉所有App进程
5. 再次进行单推/全推,如果能够收到推送,则表明厂商通道集成成功
###### 注意事项

@@ -120,3 +94,3 @@ 消息目前将其理解为两类:静默消息和普通通知

收到通知消息的回调,通常此消息意味着有新数据可以读取(iOS 7.0+)
@param application UIApplication 实例

@@ -154,5 +128,5 @@ @param userInfo 推送时指定的参数

}
[[XGPush defaultManager] reportXGNotificationResponse:response];
completionHandler();

@@ -159,0 +133,0 @@ }

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc