没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
APNS2 使用带有JSON Web令牌的新HTTP / 2协议连接到Apple的Push Notification Service的节点客户端。 创建客户 使用签名密钥创建一个APNS客户端: const { APNS } = require ( 'apns2' ) const client = new APNS ( { team : `TFLP87PW54` , keyId : `123ABC456` , signingKey : fs . readFileSync ( ` ${ __dirname } /path/to/auth.p8` ) , defaultTopic : `com.tablelist.Tablelist` } ) 发送通知 基本的 发送带有消息的基本通知: const { BasicNotification } = require ( '
资源推荐
资源详情
资源评论
收起资源包目录
apns2-main.zip (20个子文件)
apns2-main
.eslintrc.json 218B
.github
workflows
test.yml 589B
publish.yml 383B
yarn.lock 62KB
lib
apns.js 5KB
notifications
constants
priority.js 68B
push-type.js 175B
silent-notification.js 747B
notification.js 3KB
basic-notification.js 495B
errors.js 1KB
http2-client.js 4KB
.prettierrc.json 91B
LICENSE 1KB
test
test.js 4KB
README.md 4KB
index.d.ts 3KB
.gitignore 46B
CHANGELOG.md 4KB
package.json 915B
共 20 条
- 1
资源评论
Tstormatroc
- 粉丝: 28
- 资源: 4526
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功