Fix MissedPluginException for workmanager

This commit is contained in:
Yegor Vialov
2019-11-28 19:54:22 +00:00
parent 7c18454de3
commit 7969f54d3b
3 changed files with 6 additions and 7 deletions

View File

@ -176,12 +176,7 @@ void main() async {
};
runZoned(() {
workManager.Workmanager.initialize(
updateDeviceLocationIsolate,
isInDebugMode: false
);
runApp(new HAClientApp());
}, onError: (error, stack) {
_reportError(error, stack);
});