enable persistence in sample app

This commit is contained in:
Salvatore Giordano
2021-01-22 22:49:59 +01:00
parent 9d48d10666
commit 7935eb1ac5
2 changed files with 2 additions and 2 deletions
@@ -29,7 +29,7 @@ void main() async {
logLevel: Level.INFO, logLevel: Level.INFO,
showLocalNotification: showLocalNotification:
(!kIsWeb && Platform.isAndroid) ? showLocalNotification : null, (!kIsWeb && Platform.isAndroid) ? showLocalNotification : null,
persistenceEnabled: false, persistenceEnabled: true,
); );
if (userId != null) { if (userId != null) {
@@ -1,7 +1,7 @@
name: example name: example
description: A new Flutter project. description: A new Flutter project.
publish_to: 'none' publish_to: 'none'
version: 1.1.3+3 version: 1.1.3+4
environment: environment:
sdk: ">=2.2.2 <3.0.0" sdk: ">=2.2.2 <3.0.0"