@dcloudio/uni-push 3.0.0-alpha-3050220220719003 → 3.0.0-alpha-3050320220729001
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.
- package/dist/uni-push.es.js +3 -1
- package/package.json +2 -2
package/dist/uni-push.es.js
CHANGED
@@ -111,7 +111,9 @@ function initPushNotification() {
|
|
111
111
|
});
|
112
112
|
});
|
113
113
|
uni.onPushMessage((res) => {
|
114
|
-
if (res.type === 'receive' &&
|
114
|
+
if (res.type === 'receive' &&
|
115
|
+
res.data &&
|
116
|
+
res.data.force_notification) {
|
115
117
|
// 创建通知栏
|
116
118
|
uni.createPushMessage(res.data);
|
117
119
|
res.stopped = true;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcloudio/uni-push",
|
3
|
-
"version": "3.0.0-alpha-
|
3
|
+
"version": "3.0.0-alpha-3050320220729001",
|
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-
|
23
|
+
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3050320220729001"
|
24
24
|
}
|
25
25
|
}
|