@dcloudio/uni-push 3.0.0-alpha-3050420220804004 → 3.0.0-alpha-3050420220804007

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,10 @@
1
1
  // @ts-expect-error
2
2
  uni.invokePushCallback({
3
3
  type: 'enabled',
4
+ offline: true,
4
5
  });
5
6
  Promise.resolve().then(() => {
6
7
  plus.push.setAutoNotification && plus.push.setAutoNotification(false);
7
- plus.push.getClientInfoAsync((info) => {
8
- if (info.clientid) {
9
- // @ts-expect-error
10
- uni.invokePushCallback({
11
- type: 'clientId',
12
- cid: info.clientid,
13
- });
14
- }
15
- }, (res) => {
16
- // @ts-expect-error
17
- uni.invokePushCallback({
18
- type: 'clientId',
19
- cid: '',
20
- errMsg: res.code + ': ' + res.message,
21
- });
22
- });
23
8
  plus.push.addEventListener('click', (result) => {
24
9
  // @ts-expect-error
25
10
  uni.invokePushCallback({
package/lib/.DS_Store ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-push",
3
- "version": "3.0.0-alpha-3050420220804004",
3
+ "version": "3.0.0-alpha-3050420220804007",
4
4
  "description": "@dcloudio/uni-push",
5
5
  "main": "lib/uni-push.js",
6
6
  "module": "lib/uni-push.js",
@@ -20,6 +20,6 @@
20
20
  },
21
21
  "gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
22
22
  "dependencies": {
23
- "@dcloudio/uni-cli-shared": "3.0.0-alpha-3050420220804004"
23
+ "@dcloudio/uni-cli-shared": "3.0.0-alpha-3050420220804007"
24
24
  }
25
25
  }