inoerp / inoerp.github.io

1 stars 17 forks source link

Need Help! #1

Open MalikSamiAwan opened 11 months ago

MalikSamiAwan commented 11 months ago

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

inoerp commented 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();
          })
MalikSamiAwan commented 11 months ago

@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...

MalikSamiAwan commented 11 months ago
Screenshot 2023-12-04 at 11 52 25 PM Screenshot 2023-12-04 at 11 52 25 PM