Skip to content

Commit

Permalink
V 0.0.12
Browse files Browse the repository at this point in the history
修复LocalNotification  extra字段不统一的bug
  • Loading branch information
shikk committed Jul 22, 2019
1 parent c80f769 commit 14c476d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
1 change: 0 additions & 1 deletion .packages
Expand Up @@ -8,7 +8,6 @@ collection:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/colle
convert:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.0.2/lib/
crypto:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/crypto-2.0.6/lib/
csslib:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/csslib-0.14.6/lib/
flutter:file:///Applications/flutter/packages/flutter/lib/
front_end:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/front_end-0.1.6/lib/
glob:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/glob-1.1.7/lib/
html:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/html-0.13.3+3/lib/
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
## 0.0.12

featurn: 修改LocalNotification的属性名为"extra"

## 0.0.11

iOS: 修复 getLaunchAppNotification 返回 null 的情况。
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -7,7 +7,7 @@

```yaml
dependencies:
jpush_flutter: 0.0.11
jpush_flutter: 0.0.12
```

### 配置
Expand Down
6 changes: 3 additions & 3 deletions lib/jpush_flutter.dart
Expand Up @@ -258,7 +258,7 @@ class LocalNotification {
final int id;
final String title;
final String content;
final Map<String, String> extras;//?
final Map<String, String> extra;//?
final DateTime fireTime;
final int badge;//?
final String soundName;//?
Expand All @@ -270,7 +270,7 @@ class LocalNotification {
@required this.content,
@required this.fireTime,
this.buildId,
this.extras,
this.extra,
this.badge = 0,
this.soundName,
this.subtitle
Expand All @@ -287,7 +287,7 @@ class LocalNotification {
'content': content,
'fireTime': fireTime.millisecondsSinceEpoch,
'buildId': buildId,
'extras': extras,
'extra': extra,
'badge': badge,
'soundName': soundName,
'subtitle': subtitle
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
@@ -1,6 +1,6 @@
name: jpush_flutter
description: Offically supported JPush Flutter plugin.
version: 0.0.11
version: 0.0.12
author: huminios <h380108184@gmail.com>
homepage: https://www.jiguang.cn

Expand Down

0 comments on commit 14c476d

Please sign in to comment.