I have been having issue with my app when using it on mobile browser the app simply won’t load if desktop site is enabled in browser for Android
At first it might be a issue cause i am migrating from an older version of flutter there might be some setting missing but even after trying for days couldn’t solve it
So i simply created a complete new app
Here are the steps i took
Flutter upgraded to latest stable version
Created a new folder and app using flutter create . Command
Run the app using flutter run -d web-server –web-hostname –web-port 7357
It spins up successfully
I enter the address in my mobile browser and it runs the counter app
Next i try to view the app in desktop site nothing show up just blank screen in my Samsung m15 5g and tried oneplus 12r as well same result
Obviously the app runs fine in desktop browser using the flutter run -d chrome
It works fine on iPhone chrome in both mobile and desktop view
Search the internet it suggest issue due to web renderer
any fix for this?
Using flutter version 3.27.1
Flutter doctor -v everything is green
I tried changing web renderer
Create app from scratch
Update flutter latest stable
2