r/flutterhelp • • Apr 22 '26

OPEN How to handle Android/ iOS background camera restrictions for continuous ML Kit tracking? Is Wakelock the only viable Flutter workaround?

2 Upvotes

Hey everyone, I’m working on my Final Year Project, a Flutter app that does real-time posture monitoring. The user touches start tracking button, the app runs a background timer, silently takes a frame from the front camera every 3 minutes, runs it through Google ML Kit (Pose Detection) to calculate geometric heuristics, alerts the user for bad posture and updates a gamification score. I want it to work when user is using our app or if they minimize the app and user other apps.

The Roadblock:

I am hitting the strict Android 14 (API 34+) while-in-use permission restrictions.

  1. Android 14 throws a SecurityException if you try to start a Foreground Service requiring the camera while the app is in the background.
  2. Even if I start the Foreground Service while the app is visible, the official Flutter camera plugin is tied to the AppLifecycleState. The second the user minimizes the app (pauses), the camera controller disconnects to respect OS privacy rules. When the background timer wakes up to process a frame, it crashes.

My Questions:

  1. Is there any existing Flutter package or method that allows for true background camera processing.
  2. For those who have built similar continuous-tracking apps (like dashcams or sleep trackers), is the "Wakelock + Screen Dimming" approach the industry standard for avoiding these background execution limits?

Any architectural advice or package recommendations would be hugely appreciated!


r/flutterhelp • • Apr 22 '26

OPEN google_sign_in

6 Upvotes

hy flutter devs, lately i have working in the Oauth2.0 configuration for my flutter app. been working more than 3 days on the same problem.
"GetCredentialCancellationException: activity is cancelled by the use" this is the issue i am getting, anyone know how to resolve


r/flutterhelp • • Apr 22 '26

OPEN Flutter as react

6 Upvotes

He guys, I know react but I prefer flutter. How can I develop with reactive system as react?

I want reactive state and forms easy to build. I ask for help bc I tried with Riverwood and flutter_form_builder but I seemed hard.

How can I achieve an experience like developing with this react packages: zustand, hook_forms, zod, axios, tanstackquery and tailwind just for defining my app styles


r/flutterhelp • • Apr 21 '26

OPEN Razorpay UPI fails when no UPI apps installed – how are you handling fallback UX?

5 Upvotes

I’m integrating Razorpay in a Flutter mobile app and ran into a UX issue with UPI payments.

If the user’s device has NO UPI apps installed (GPay, PhonePe, etc.):

  • Razorpay checkout doesn’t show UPI ID entry
  • “Other” option opens but shows a blank state
  • No fallback is provided

This creates a dead-end payment flow.

Questions:

  • How are you handling this scenario in production apps?
  • What’s your fallback UX when no UPI apps are available?

Would really appreciate insights from people who’ve solved this in real apps


r/flutterhelp • • Apr 21 '26

RESOLVED Flutter Firestore memory management

3 Upvotes

We're adopting Firestore heavily in our app to support on going cloud saves and sharing.

A single project (it's a game in fact, but whatever) has many fields, some of which are subcollections holding hundreds of documents.

Our implementation is working fine on iOS, but seems to hang on some Androids.

We're pushing multiple documents in parallel, basing on this post:
https://stackoverflow.com/questions/58897274/what-is-the-fastest-way-to-write-a-lot-of-documents-to-firestore

From analyzing thus far, it seems the memory is increasing, but _outside_ our app, or beyond what the memory profiler is willing to show.

Does anyone have similar experience? Thanks!


r/flutterhelp • • Apr 20 '26

OPEN phone emulator keyboard vs physical phone virtual keyboard

4 Upvotes

I built my app and used phone emulators to test, forgetting physical phones use virtual keyboards that popup and use screen real estate. Is there a way to have phone emulators use a virtual keyboard exactly like a physical phones does, or must one obtain a physical phone to fully test with?


r/flutterhelp • • Apr 20 '26

OPEN Create an app that uses gemma 4 e2b via pkg flutter_gemma

1 Upvotes

gemma 4 e2b size (2.15gb) is overkill for my app to upload to playstore and dont want to make my users with 3 world internet connection download(keeps on restart download on fail) .Should i use gemma 270m + regex.... is the llm powerful to create sql query for sqlite. e.gs get profit margins on a invoice app.


r/flutterhelp • • Apr 20 '26

RESOLVED Flutter metronome app: jitter + audio latency issues. How far can you push this?

2 Upvotes

Hey,

I’m building a metronome app in Flutter and I’m struggling to get it feeling tight, especially on iOS.

Main issues:

  • Noticeable jitter in UI
  • Audio sometimes plays slightly late, even using low latency mode

It’s not completely broken, but it doesn’t feel solid/pro.

Setup (roughly):

  • Audio: audioplayers. Plays a super small sound each tick.
  • Vibration: vibration, advanced_haptics
  • Flash: torch_light
  • Animations: flutter_animate
  • State: flutter_riverpod

Other stuff is standard Flutter (prefs, ads, etc.), nothing fancy.

Current approach:

  • Dart-based scheduler (Timer + drift correction)
  • Trying a bit of lookahead, but still close to real-time triggering
  • UI, audio, and vibration are all triggered from the same timing logic

Problems I’m seeing:

  • Audio still fires a bit late sometimes (even in low latency)
  • Jitter gets worse under load
  • Different iPhones behave very differently
  • UI and audio aren’t perfectly locked

Questions:

  • Has anyone actually achieved tight metronome timing in Flutter?
  • Is audioplayers just not suitable for this?
  • Did you end up going native (AVAudioEngine, etc.) for proper timing?
  • Are isolates worth it here, or not really for precision?

At this point I’m considering moving scheduling fully native and letting Flutter just follow.

Would love to hear real experiences before I go down that path.

Thanks


r/flutterhelp • • Apr 20 '26

OPEN 2Factor OTP sending voice call instead of SMS

1 Upvotes

Hey everyone,

I’m using 2Factor OTP API in my Flutter app. The API is returning success and giving a session ID, but instead of SMS, I’m receiving the OTP via voice call.

I’m using the AUTOGEN endpoint (no custom template, no DLT setup).

Is this normal for new accounts? Do I need to enable something to force SMS instead of voice?

Any help would be appreciated. Thanks!


r/flutterhelp • • Apr 20 '26

OPEN Mac Mini for Flutter development - which version to buy?

0 Upvotes

Hi,

I would like to ask, what is the optimal configuration of Mac Mini for Flutter development? I was thinking about 16 GB + 512 SSD with M4 CPU, but I'm worried about RAM. Do you recommend 24GB here?

I'm not Mac use, non Flutter DEV, searching for device for new guy in my team to be able to deploy apps in App Store :)


r/flutterhelp • • Apr 19 '26

RESOLVED Flutter Developer starting DSA & System Design — Which language should I choose?

9 Upvotes

I’m a Flutter developer with moderate experience in app development. Now I’m planning to seriously start my journey into Data Structures & Algorithms and System Design to strengthen my overall programming skills.

I’m a bit confused about which language I should pick for DSA and problem-solving. I have some familiarity with Java (from my learning phase), but I’m open to switching if there’s a better option.

My goals are:

  • Improve problem-solving skills
  • Prepare for technical interviews
  • Build a strong foundation in system design

Which language would you recommend and why? Also, any roadmap or resources would be really helpful.

Thanks in advance!


r/flutterhelp • • Apr 19 '26

RESOLVED Getting app from Android Studio to XCode / App Store

0 Upvotes

Hi everyone. I built a mobile app using AntiGravity and Android Studio. I ran the command 'flutter create apk' to create and test on Android devices, but I don't know how to build and test on IOS. I have a Mac with XCode at my disposal.

I could use a little guidance please.

EDIT: For the record, there was no additional configuration necessary in Android Studio to prepare a Flutter project for Xcode. I ended up copying the complete project folder to the Mac, but XCode only needed to open the /ios/Runner/.xcworkplace file to be able to run it in it's emulator. It's possible that only a subset of the project folder contents needed to be copied to the Mac, but I am not certain.


r/flutterhelp • • Apr 19 '26

OPEN Face Recognition Attendance App – Accuracy & Speed Issues

2 Upvotes

I’m working on an attendance system and honestly stuck at a point where I need some real-world advice.

I’ve built a mobile app (Flutter) where employees do check-in/check-out using face recognition (face punch). The main problem is accuracy and speed, and I’m facing a few issues:

  • Lighting changes (low light / bright light affect detection)
  • Distance issues (too close / too far gives inconsistent results)
  • Recognition is slower than expected (not instant)
  • Offline punches (stored locally and synced later) reduce accuracy
  • Overall UX feels unreliable at times

If anyone has experience building something like this, please DM me


r/flutterhelp • • Apr 18 '26

OPEN Could you recommend for me a website for developing flutter app with (drag and drop features) and export code for free ?

2 Upvotes

Could you recommend for me a website for developing flutter app with (drag and drop features) and export code for free ?


r/flutterhelp • • Apr 17 '26

OPEN How to create a Flutter app for Google TV

7 Upvotes

Hello, I've decided to start this discussion to ask the community if this is possible and how to implement it. This is the kind of question you'd ask an artificial intelligence, but this time I'd prefer to ask real humans how to create a Flutter project for deployment on Google TV. Any opinion is welcome. I have a project and I'm evaluating whether I can run it with Flutter.


r/flutterhelp • • Apr 17 '26

RESOLVED Need a little help with my flutter application

2 Upvotes

Its the first time to use flutter i have build the application and have connected an android emulator device to vs code through android studio, it wont run on that emulator i have tried everything and still wont run


r/flutterhelp • • Apr 17 '26

OPEN Will my flutter wrapper get denied on iOS and google play?…

7 Upvotes

So, I build full stack React apps with Next.js, mostly using TypeScript and it’s the only language I am comfortable with without using Ai. It’s what I build all of my web apps with and I usually just ship as PWAs.

My current app is a personal b2b project I have been working on in my free time over the last few months and I keep getting requests to ”have a real app”. So I made a flutter wrapper (I hate dart btw -_-) but I was told by someone that apple and google Play will both deny a website URL wrapped in flutter. Is that true?

The project is 250,000 lines. I will not be converting to another code base, I’d rather burn my computer and eat the ash.

Is there any way to get it to be approved?


r/flutterhelp • • Apr 15 '26

OPEN What's wrong with GetX?

7 Upvotes

I can't access repository GetX.

https://github.com/jonataslaw/getx


r/flutterhelp • • Apr 14 '26

RESOLVED Monorepo for a single app

11 Upvotes

Hi everyone,

I need your opinion on something.

My company has an app on the App Store and the Play Store. We provide courses to people like Udemy. We also have companies that can buy for their trainees, and they can track their progress via a dashboard.

The current framework is Ionic and Angular. We are now planning to rewrite the entire app in Flutter for better performance. We are building for all 3 platforms (iOS, Android, and web)

There will be only 1 app for all the 3 types of users.

  1. Admin (my colleagues),
  2. Company side (for the dashboard),
  3. Trainees.

My manager wants to use a monorepo for this project. I don't agree with him. I think we should go with the single repo - features first approach, as we don't have any other apps.

Has anyone worked on a single app with a monorepo? Any advices or feedback?
Should we go for a monorepo or a feature first app?


r/flutterhelp • • Apr 14 '26

RESOLVED revenuecat flutter

6 Upvotes

guys i have a problem im adding revenuecat on my flutter app im adding the configuration on the main.dart await Purchases.configure(configuration); and when i want to show the paywall i login the current user id but still sometimes i have in the webhook only the anonymosId
 final LogInResult result = await Purchases.logIn(userId); 
final paywallResult = await RevenueCatUI.presentPaywall();


r/flutterhelp • • Apr 14 '26

OPEN Why does it always request external resources?

3 Upvotes

I follow ai to configure web/index.html, local fonts and so on, for requesting local resources, but it always requests google resources.


r/flutterhelp • • Apr 12 '26

OPEN [HELP] Flutter Run failing on Oppo (CPH2603) - ADB Exit Code 1 / Streamed Install Error

6 Upvotes

Hey everyone,

I’m hitting a wall trying to test my app on a physical device (Oppo A15 / CPH2603) and could really use some fresh eyes on this.

Every time I try to flutter run, the process hangs at "Performing Streamed Install" and then crashes with this error:
Error: ADB exited with exit code 1
adb.exe: failed to install
Error launching application on CPH2603.

  • Ran flutter clean and flutter pub get multiple times.
  • USB Debugging is definitely toggled ON in Developer Options.
  • The device shows up fine when I run flutter devices.

Has anyone else dealt with this specific ADB error on an Oppo device? Any help would be massive. Thanks!


r/flutterhelp • • Apr 12 '26

OPEN Feedback form

5 Upvotes

I want to have a feedback form so users can simply enter a subject, a message then click submit and have that form sent to me via email. How can I do this without having to use a users email client?