From 1b2705a23e71404f7061dc1fa48c1bc639dd3ace Mon Sep 17 00:00:00 2001 From: huangminlinux <380108184@qq.com> Date: Sat, 29 Sep 2018 10:15:57 +0800 Subject: [PATCH] update to 0.0.3 --- .packages | 2 +- android/src/main/java/com/jiguang/jpush/JPushPlugin.java | 3 +-- example/pubspec.lock | 2 +- pubspec.yaml | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.packages b/.packages index a27bb8b..01fc621 100644 --- a/.packages +++ b/.packages @@ -1,4 +1,4 @@ -# Generated by pub on 2018-09-19 16:23:17.855023. +# Generated by pub on 2018-09-29 10:15:14.625856. collection:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/ flutter:file:///Applications/flutter/packages/flutter/lib/ meta:file:///Applications/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.1.6/lib/ diff --git a/android/src/main/java/com/jiguang/jpush/JPushPlugin.java b/android/src/main/java/com/jiguang/jpush/JPushPlugin.java index 85d9272..39880a4 100644 --- a/android/src/main/java/com/jiguang/jpush/JPushPlugin.java +++ b/android/src/main/java/com/jiguang/jpush/JPushPlugin.java @@ -204,8 +204,7 @@ public class JPushPlugin implements MethodCallHandler { public void sendLocalNotification(MethodCall call, Result result) { try { HashMap map = call.arguments(); - Log.d("JPushPlugin", "1111111111111111111"); -// Log.d("JPushPlugin", map.toString()); + JPushLocalNotification ln = new JPushLocalNotification(); ln.setBuilderId((Integer)map.get("buildId")); ln.setNotificationId((Integer)map.get("id")); diff --git a/example/pubspec.lock b/example/pubspec.lock index ef1c983..39a0161 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -136,7 +136,7 @@ packages: path: ".." relative: true source: path - version: "0.0.2" + version: "0.0.3" js: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 7ebfcbd..a4c4df5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: jpush_flutter description: Offically supported JPush Flutter plugin. -version: 0.0.2 +version: 0.0.3 author: huminios homepage: https://www.jiguang.cn