多语言展示
当前在线:1599今日阅读:57今日分享:41

Parse-Server 的Push Notification

Push Notification在移动平台中使用非常广泛,通常情况下,iOS是通过APNS,Android下是通过GCM来发送Push Notification的。本文介绍了Parse-Server下发送Push Notification的详细过程。
工具/原料
1

Parser Server

2

Apple Developer 账号

3

Google Developer 账号

准备工作
1

首先需要设置后Parser Server。

2

通过Apple Developer账号设置APNS。参见我以前的文章(注意不需要理会ionic.io部分)。基本要点是:- 创建App id- 设置App id,增加certificate- 通过certificate导出p12文件

3

通过Google Developer账号设置GCM。参加以前文章(忽略ionic.io相关部分)。要点:- 创建app- 获取project number (GCM sender id)- 创建credentials,获取app key

推荐信息