Skip to content

Commit 31775a4

Browse files
committed
1. fix opennotification error in android 2. update to 0.0.9
1 parent bd3dd1f commit 31775a4

File tree

6 files changed

+12
-8
lines changed

6 files changed

+12
-8
lines changed

.packages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Generated by pub on 2018-12-18 14:03:59.641763.
1+
# Generated by pub on 2018-12-28 11:16:51.907295.
22
analyzer:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.33.0/lib/
33
args:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.5.0/lib/
44
async:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.0.8/lib/

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.9
2+
3+
android: 修复 JPushReceiver 类型转换的错误。
4+
15
## 0.0.8
26

37
更新 setup 方法,android 端现在支持 channel 字段,用于动态设置 channel,和 iOS 保持一致。

android/src/main/java/com/jiguang/jpush/JPushPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public void sendLocalNotification(MethodCall call, Result result) {
240240
public static class JPushReceiver extends BroadcastReceiver {
241241

242242
private static final List<String> IGNORED_EXTRAS_KEYS = Arrays.asList("cn.jpush.android.TITLE",
243-
"cn.jpush.android.MESSAGE", "cn.jpush.android.APPKEY", "cn.jpush.android.NOTIFICATION_CONTENT_TITLE");
243+
"cn.jpush.android.MESSAGE", "cn.jpush.android.APPKEY", "cn.jpush.android.NOTIFICATION_CONTENT_TITLE", "key_show_entity", "platform");
244244

245245
public JPushReceiver() {
246246
}

example/pubspec.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ packages:
133133
jpush_flutter:
134134
dependency: "direct dev"
135135
description:
136-
path: ".."
137-
relative: true
138-
source: path
136+
name: jpush_flutter
137+
url: "https://pub.dartlang.org"
138+
source: hosted
139139
version: "0.0.8"
140140
js:
141141
dependency: transitive

example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ dev_dependencies:
2626
flutter_test:
2727
sdk: flutter
2828

29-
jpush_flutter:
30-
path: ../
29+
jpush_flutter: ^0.0.8
30+
# path: ../
3131

3232
# For information on the generic Dart part of this file, see the
3333
# following page: https://www.dartlang.org/tools/pub/pubspec

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: jpush_flutter
22
description: Offically supported JPush Flutter plugin.
3-
version: 0.0.8
3+
version: 0.0.9
44
author: huminios <[email protected]>
55
homepage: https://www.jiguang.cn
66

0 commit comments

Comments
 (0)