Fix workmanager init
This commit is contained in:
		| @@ -152,10 +152,11 @@ void main() async { | |||||||
|   }; |   }; | ||||||
|  |  | ||||||
|   runZoned(() { |   runZoned(() { | ||||||
|     //AndroidAlarmManager.initialize().then((_) { |       workManager.Workmanager.initialize( | ||||||
|  |         updateDeviceLocationIsolate, | ||||||
|  |         isInDebugMode: false | ||||||
|  |       ); | ||||||
|       runApp(new HAClientApp()); |       runApp(new HAClientApp()); | ||||||
|     //  print("Running MAIN isolate ${Isolate.current.hashCode}"); |  | ||||||
|     //}); |  | ||||||
|  |  | ||||||
|   }, onError: (error, stack) { |   }, onError: (error, stack) { | ||||||
|     Logger.e("$error"); |     Logger.e("$error"); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user