Open MalikSamiAwan opened 11 months ago
Try something like below
window.addEventListener("load", function (ev) {
// Download main.dart.js
_flutter.loader
.loadEntrypoint({
serviceWorker: {
serviceWorkerVersion: serviceWorkerVersion,
},
})
.then(function (engineInitializer) {
return engineInitializer.initializeEngine();
})
.then(function (appRunner) {
return appRunner.runApp();
})
@inoerp Thanks for replying Application stucks when i tried to use above approach. It stuck on
Launching lib/main.dart on Chrome in debug mode... Waiting for connection from debug service on Chrome...
Can you please help me resolve this i am having same trouble that you have previously https://github.com/flutter/flutter/issues/122460 can you guide how did you resolve this
Thankyou verymuch @inoerp