文件名称:umeng-push-server-sdk:适用于Node.js的Umeng Push Server SDK
文件大小:61KB
文件格式:ZIP
更新时间:2024-05-19 12:12:08
TypeScript
适用于NodeJ的Umeng推送服务器SDK 安装 npm i -S meng-push-server-sdk 用法 安卓 const push = require ( 'umeng-push-server-sdk' ) ; const client = new push . client ( ) ; const AndroidUnicast = push . android . unicast ; const AndroidNotification = push . android . base ; const appKey = 'xxxxxx' ; const appMasterSecret = 'xxxxx' ; const unicast = new AndroidUnicast ( appKey , appMasterSecret ) ; // Set your device t
【文件预览】:
umeng-push-server-sdk-master
----.gitignore(56B)
----package.json(955B)
----src()
--------android()
--------ios()
--------UmengNotification.ts(3KB)
--------IOSNotification.ts(3KB)
--------AndroidNotification.ts(7KB)
--------PushClient.ts(3KB)
--------index.ts(1KB)
--------utils.ts(1KB)
----LICENSE(1KB)
----tsconfig.json(552B)
----.prettierignore(12B)
----examples()
--------Demo.ts(10KB)
--------RunDemo.ts(988B)
----README.md(2KB)
----prettier.config.js(166B)
----lib()
--------utils.d.ts(778B)
--------UmengNotification.js(3KB)
--------IOSNotification.js(3KB)
--------IOSNotification.js.map(2KB)
--------IOSNotification.d.ts(786B)
--------UmengNotification.js.map(2KB)
--------AndroidNotification.js(7KB)
--------android()
--------AndroidNotification.js.map(5KB)
--------UmengNotification.d.ts(1023B)
--------ios()
--------index.js(1KB)
--------PushClient.d.ts(571B)
--------AndroidNotification.d.ts(2KB)
--------index.js.map(666B)
--------utils.js(1KB)
--------PushClient.js.map(2KB)
--------utils.js.map(988B)
--------PushClient.js(4KB)
--------index.d.ts(901B)
----.vscode()
--------settings.json(397B)
----yarn.lock(12KB)