Relative Content

Tag Archive for androidflutter

Flutter App Crashing in high resolution phone causing screen lock

I have a Flutter app installed on my Android phone. It works perfectly fine on phones with 1K resolution. However, the app crashes on phones with resolutions higher than 1K. When a user clicks on the app, the phone’s screen locks. After unlocking the phone, the app starts working fine. Even if someone accidentally touches the app, it crashes and causes the phone screen to lock. If anyone has a solution, please share it.

Flutter web app in mobile browser desktop view issue

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

Flutter web app in mobile browser desktop view issue

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

Flutter web app in mobile browser desktop view issue

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

Flutter web app in mobile browser desktop view issue

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

Flutter web app in mobile browser desktop view issue

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

How to make a draggable bottom sheet that can affect body of scaffold

I am trying to make a chat app. It will support emojis, so I wanted to make an emoji picker widget like whatsapp where it opens like a showModalBottomSheet with the drag handle and everything but also affect the body of the chat when being dragged. it also provides smooth transition between keyboard and emoji picker.