Relative Content

Tag Archive for androidflutter

Nearby devices detection in flutter

I’m working on a flutter application that protects copyrighted PDF materials and at first I used a watermark to cover the PDF screen but I noticed that it made the document barely readable so is there any way to detect if the user trying to take a photo from another phone?

How do I resolve the issue I get every time I run my Flutter project?

Almost every time I run my project in debug mode in VS Code, I get this error: TypeError: Cannot read properties of undefined (reading 'OverviewCard') (OverviewCard is a custom widget I created). The widget mentioned after the “reading” part is almost always random — sometimes it even blames MaterialApp.

Flutter: File Upload Issue on Android 14 for Camera Photos

I’m working on a Flutter app that uploads photos and videos to a server. The upload process involves selecting files from the gallery. The app works fine on devices with Android versions 13 and below. However, on Android 14, there’s a problem when selecting photos taken by the camera. Photos downloaded from apps like WhatsApp or Messenger upload without issues, but when selecting a photo taken by the camera, the server doesn’t receive the file (it receives the other information sent in the formData but not the actual file).

Having multiples android folders in Flutter

I am working with many different Android devices. Not only phones, but POS, kiosks and more. They all have different requirements, from specific dependencies to Pro-guard rules and so on. But the UI application and logic is almost the same with some variants using each other’s capabilities, from printers, scanners, etc.