From 13b909b5fb86c5e1a8819c01b8dff9bca44d6af4 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Mon, 9 Nov 2020 10:41:57 +0100 Subject: [PATCH] fix example --- example/lib/main.dart | 3 ++- example/pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index fd051afc..9eee4db0 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -69,7 +69,8 @@ void main() async { final client = Client( 's2dxdhpxd94g', logLevel: Level.INFO, - showLocalNotification: (m, c) {}, + showLocalNotification: + (!kIsWeb && Platform.isAndroid) ? showLocalNotification : null, persistenceEnabled: true, ); diff --git a/example/pubspec.yaml b/example/pubspec.yaml index abed021e..0ba6b827 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,6 +1,6 @@ name: example description: A new Flutter project. -version: 1.0.25+26 +version: 1.0.26+27 environment: sdk: ">=2.2.2 <3.0.0"