Flutter app screen blur on emulator - flutter

Hi just created HelloWorld flutter application,
all the instructions followed by the official site,
if i run the application on emulator/genymotion getting blur screen, please check the attached image.
if i run same application on device then it is working fine.
How to solve this issue?

Some devices are not properly recognized to not support hardware rendering.
Run with the additional parameter
flutter run --enable-software-rendering
See also
https://github.com/flutter/flutter/issues/15451
https://github.com/flutter/flutter/issues/15605

Related

Flutter printing invoice to usb printer in desktop app

I'm working on flutter desktop app and i need to print invoice to USB printer.
https://pub.flutter-io.cn/packages/printing
Currently i m using this plugin but not working, it only shows pdf view with loading indicator only. not loading the invoice view i created.
https://pub.dev/packages/flutter_usb_write. This is another plugin i've tried so far but when running the app is shows exception stated unable to find method implementation for detecting usb connected devices.
Please help me solving this issues or suggest me some another solution or plugin.
Thanx.
Flutter desktop has been launched as stable earlier this year. Perhaps you may want to try running a desktop build again using the latest Flutter version. Simply run flutter upgrade to update the Flutter version that you're running on. Currently, the printing plugin is one of the stable printer plugins on Flutter.
If the issue persists, please include the logs from the app. This should give indicators if the app is able to communicate with the printer or if there's any issues with the document that you're trying to print.

Flutter : agora rtc engine make the app crash in the another device

I want to add agora_rtc_engine plugin into my app , but I'm facing a problem with it . When i debugging the app on real device it is working and when i installing it on another device it doesn't work and show me that on the device screen
agora video call flutter keep stopping
I'm using the agora quick start example https://github.com/AgoraIO-Community/Agora-Flutter-Quickstart
can any one know the wrong with it ?
It happens to me when I rewrite code or copy lib. But when I download examples like this one https://github.com/AgoraIO-Community/Agora-Flutter-Quickstart everything works.
Temporary you can build your project on this one, just changing name and reinstalling it on your phone.

Flutter : Run an app as a background service

I want to show a custom popup message whenever the user disconnects a cellular call. The problem is how to detect when the app is not running. any leads would be helpful.
It's been a while and there have been many developments.
First, there are some answers at How to create a service in Flutter to make an app to run always in background?
Also, flutter/Background processes will basically point you to medium/Executing Dart in the Background with Flutter Plugins and Geofencing (Sept 2018)
which is a Geofencing sample that involves a partnership between isolates, native Android/iOS code via MethodChannel, and PluginUtilities.getCallbackHandle (PluginUtilities)
Alas, there are many plugins available now:
https://pub.dev/packages/background_location
https://pub.dev/packages/android_alarm_manager (Android)
https://pub.dev/packages/background_fetch
https://pub.dev/packages/workmanager
https://pub.dev/packages/audio_service

Ionic served as web app

I have an Ionic app which I currently serve as a web app by doing ionic serve
I have few questions about it:
By default in the served web app, it takes the iOS layout, can it be changed to the android layout instead? How?
In the android version of y ionic app when I do ionic serve --lab, some of the bottom part of the content is somehow cut off (I can not scroll till the end), however it looks perfect in iOS version. Why does this happen and how can I fix it?
When I try to make an APK out of it as mentioned in the following link http://ionicframework.com/docs/guide/publishing.html , I get a blank app on my android device. What could be the reason?
ionic serve --platform android
Are you taking in account that iOS scroll "stretches"? I mean, even when the scroll is all way down, you still can pull the content up. Maybe your content is indeed hidden (specially if you are using a footer bar. Actually, if you are using a footer bar, try to add a margin-bottom for your content equal your footer bar height.).
Have you checked if this happens when you run ionic run android? If this command works, try to run cordova prepare android before following the publishing procedure. If the command does not work, open chrome://inspect on your computer's chrome browser (with the device connected to your computer and running your app) and debug it to check if your code is being packed with the apk and/or the app is yielding some error messages.

I cannot see my app when I debug my project on smartface free

I have installed the free version of smartface and just created a training project. When I build it my app install on virtual android device but I cannot see it. I just see the smartface adverts.
What can I do to solve this problem? Should I get it lisenced?
I didn't get your problem exactly, can you please share a screenshot?
And maybe you can check the link below for more information about Android virtual device usage :
http://www.smartface.io/developer/guides/project/virtual-devices-android/
By the way, you should create the virtual device using google api.
The screen that you mentioned is just shown at the beginning of the app for some seconds. Then you can see your application page and use it. You should reinstall it on a real android device.