Open Lalitchaudhary2 opened 3 years ago
It is supported on Web. However only supported on canvaskit renderer and not html renderer.
--web-renderer canvaskit
hope this helps.
I suppose this can be closed in favor if #82
So, I've had this problem for a while, and my co-worker solved it.
Go to web/index.html
Then, find the ### onEntrypointLoaded
Change it to this:
onEntrypointLoaded: async (engineInitializer) => {
const config = { renderer: "canvaskit" };
const appRunner = await engineInitializer.initializeEngine(config);
await appRunner.runApp();
}
The reason it works on PC/laptop is that it's set to canvaskit by default, but on the phone, it's not because it's set to auto. The reference is below.
this plugin is not supported by flutter web version. please, change the documentation.