try counter early initialization issues in release
This commit is contained in:
@@ -26,6 +26,8 @@ void main() async {
|
|||||||
logger.d('VM: ${serviceProtocolInfo.serverUri}');
|
logger.d('VM: ${serviceProtocolInfo.serverUri}');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Ensure everything is ready
|
||||||
|
await Future.delayed(Duration.zero);
|
||||||
await GeckoBrowserService().initialize();
|
await GeckoBrowserService().initialize();
|
||||||
|
|
||||||
await BackgroundFetch.registerHeadlessTask(backgroundFetch);
|
await BackgroundFetch.registerHeadlessTask(backgroundFetch);
|
||||||
|
|||||||
Reference in New Issue
Block a user