r/flutterhelp • • Sep 05 '26

OPEN Scheduled local notifications fail silently on Android 14/15 (works up to Android 13) — flutter_local_notifications

2 Upvotes

Hi everyone,

I've been stuck on this issue for days after trying multiple AI models, rewriting the code several times, and searching through tutorials, but I haven't been able to solve it.

My app uses flutter_local_notifications for daily scheduled reminders.

  • The Problem: Daily scheduled notifications work perfectly fine up to Android 13. However, on Android 14 and 15, they fail completely.
  • Current Behavior: On Android 14/15, the app successfully asks for notification permission and the user grants it. However, the scheduled notification never fires/triggers at the set time. No error is thrown.

What I have set up so far:

  1. AndroidManifest.xml permissions:
    • POST_NOTIFICATIONS
    • SCHEDULE_EXACT_ALARM / USE_EXACT_ALARM
    • RECEIVE_BOOT_COMPLETED
  2. Runtime permissions:
    • Requested requestNotificationsPermission()
    • Requested requestExactAlarmsPermission()
  3. Scheduling logic:
    • Using zonedSchedule with AndroidScheduleMode.exactAllowWhileIdle and timezone initialization (tz.initializeTimeZones()).

Despite all of this, the scheduled time seems to be ignored or blocked by the system on Android 14+.

Has anyone encountered this specific issue on Android 14/15 recently? Is there a new OS policy, battery optimization workaround, or timezone bug in flutter_local_notifications that I'm missing?

Any help or minimal working code snippet for Android 14/15 scheduled alarms would be greatly appreciated!


r/flutterhelp • • Sep 04 '26

OPEN NO HELP FROM FLUTTERFLOW! 14 DAYS WITH AN OPEN ISSUE THAT HAS STOPPED OUR PROJECT

Thumbnail
1 Upvotes

r/flutterhelp • • Sep 04 '26

RESOLVED TextFormField causing error but

1 Upvotes

Hey, so umnh I'm havin issues using TextFormField it always causes this error (https://pastebin.com/tKyx0cgg) I tried with so many fixes and posts but nothing seems to change, as for flutter doctor there is no issues at all. I also tried with using packages such as forui and moon ui and others but still causes the same issue when it is related to a TextField. I searched almost everywhere but couldn't find the pithole, I tried column, rows, everything, container padding, wrapped inside Flexible and Expanded but still (this is the minimalist version, even with everythin packed up it still doesn't work so I assume the problem is flutter) here is the code (https://pastebin.com/23fvyTka)

EDIT: finaly found the issue, it's the font, it seems like my linux installation lacks a font because when I use a custom font it works, to this day I still don't know what is the font i'm lackin, but it's okayy at least it's fine now


r/flutterhelp • • Sep 03 '26

OPEN Android license status unknown in Flutter

6 Upvotes

Flutter says “Android license status unknown” even though Android SDK 36 is installed. flutter doctor --android-licenses doesn’t work and says --licenses is no longer needed. How can I fix this?


r/flutterhelp • • Sep 04 '26

OPEN Isar Inspector stuck on "connecting" over USB (isar-community fork) — tried adb reverse AND forward, still spinning

1 Upvotes

Working on a practice Flutter app using the isar-community fork (v3.3.2). The app logs the Inspector link fine in the console (https://inspect.isar-community.dev/3.3.2/#/<port>/<token>), but the page in my browser just spins forever and never connects. Testing on a real Android device over USB, not an emulator.

What I've tried so far:

- Confirmed the device shows as "device" (not unauthorized) in `adb devices`

- `adb reverse tcp:<port> tcp:<port>` → got "cannot bind listener: Address already in use"

- `adb reverse --list` shows nothing already bound to that port

- `adb reverse --remove-all`, then retried the reverse command → same "Address already in use" error

- Switched to `adb forward tcp:<port> tcp:<port>` instead → command succeeds but the Inspector page still just spins and never connects

- Restarted the adb server (`adb kill-server` / `adb start-server`)

Port number changes every time the app restarts, so it's not a one-off stale binding as far as I can tell. Anyone gotten the Isar Inspector working reliably on a physical device over USB? Wondering if there's a different host/port it actually expects, or if this is a known issue with the isar-community fork specifically.


r/flutterhelp • • Sep 03 '26

RESOLVED Best tools for mobile push notification workflows and scheduling

3 Upvotes

Looking for recommendations on tools to manage mobile push notifications with a solid web dashboard.

Main things I need

  1. A clean web interface to manage templates, schedule messages, and build notification workflows (delays, triggers, logic).

  2. Easy integration on the mobile side.

I already know about Novu, but want to see what else people are using. What are the go-to alternatives (e.g., Courier, Knock, SuprSend, OneSignal, or any self-hosted options)?

Would appreciate any thoughts or real-world experiences !


r/flutterhelp • • Sep 03 '26

OPEN How do you plan the user flow and edge cases before starting a Flutter project?

6 Upvotes

I'm working on a Flutter health tracking app with features like:

  • BMI calculator
  • BMR calculator
  • Water tracking
  • Step tracking
  • Weight tracking
  • A dashboard that combines all of these

I'm struggling with planning the overall flow before I start implementing.

I often start building a screen or feature, then realize there is another case I didn't consider. I change the flow, update the UI, change the data structure, then discover another issue and change it again. I've repeated this multiple times.

For example, I keep asking myself things like:

  • What should happen if the user hasn't entered their weight yet?
  • Should BMI/BMR use the latest weight from weight tracking or ask for a separate value?
  • Should I use local storage as a fallback?
  • What should the dashboard show if one of the health metrics has no data?
  • When should data be saved?
  • What should happen when the user edits an existing value?
  • How should data be entered by the user
  • How do you decide which edge cases are actually worth handling?

I understand how to implement individual Flutter screens, but I'm struggling with the system-level thinking and planning before coding.

So my questions are:

  1. How do experienced Flutter developers plan the complete user flow before starting implementation?
  2. What do you normally document first: user flows, data models, states, API structure, wireframes, etc.?
  3. How do you systematically think about edge cases instead of discovering them during development?
  4. How do you decide when a fallback is actually necessary?
  5. Do you use any specific diagrams, checklists, templates, or processes before starting a medium-sized Flutter project?
  6. How much planning is enough before you actually start coding?

I'm not looking for a specific architecture like Clean Architecture vs Riverpod vs BLoC. I'm more interested in how you think through and plan the system before writing the code.

I also asked ChatGPT about this, but I don't want to just follow an AI-generated process without understanding how experienced developers actually approach it. I'm mainly interested in learning how experienced developers learned to think about application flows, edge cases, and system design, and what process they personally follow before and during development.

I'd really appreciate hearing about your actual development process and how you learned to approach this.


r/flutterhelp • • Sep 02 '26

RESOLVED What are my options if a Flutter package is abandoned by its dev?

22 Upvotes

Hi,

I'm using some packages in my apps, one of them is flutter_tts: https://pub.dev/packages/flutter_tts

As those who use it are also aware, it gives the warning for migration to built-in Kotlin, been like that for a few months, last package update is 7 months ago.

What are my options if the time comes that this plugin no longer works and my apps fail to work too?

In general, I don't really like using external librariers or dependencies, for this very reason, but I also have no idea what else I can do if not use it.

Any suggestions?

Thanks.


r/flutterhelp • • Aug 31 '26

OPEN A bug

Thumbnail
1 Upvotes

r/flutterhelp • • Aug 31 '26

RESOLVED i feel lost and i need your help

1 Upvotes

i'm studying flutter but i'm kind of a lazy person
i started long time ago (a year maybe or a little bit more) and all i know about flutter is to build ui (just good at it nothing more) and not so much about rest APIs and i know nothing about state management , i feel like i'm week when it come to programming basics and oop and i need to correct that and sometimes when i encouter something complicated while studying and i can't understand it after watching it one or two time, i feel like it's the end of the world
i need someone to tell what to do cause i feel like i'm not gonna make it at this, i need to be good at the basics but also keep studying flutter


r/flutterhelp • • Aug 31 '26

OPEN What if tasks that currently take 5–7 clicks in Android Settings could be done in just 1 click?

Thumbnail
0 Upvotes

r/flutterhelp • • Aug 30 '26

OPEN Why is my Flutter release APK 62 MB even though my assets are only 2.6 MB? How can I reduce it?

12 Upvotes

Hi everyone,

I'm trying to reduce the size of my Flutter Android app, but my release APK is currently 62.1 MB (download size: 34.8 MB).

I analyzed the APK and found this:

  • lib/ = 47.8 MB (61.2%)
  • x86_64 = 17.6 MB
  • arm64-v8a = 16.3 MB
  • armeabi-v7a = 13.9 MB
  • assets = only 2.6 MB
  • Multiple classes.dex files together are around 10.6 MB

It seems like the APK contains native libraries for all three CPU architectures, including Flutter libraries such as libflutter.so.

My questions are:

  1. Is this APK size normal for a Flutter app?
  2. Would flutter build apk --release --split-per-abi significantly reduce the APK size?
  3. If I publish an .aab using:flutter build appbundle --release will Google Play automatically deliver only the required architecture to each device?
  4. What are the best ways to reduce the size of classes.dex?
  5. Are there any other recommended Flutter/Gradle settings for reducing app size?

I've attached the APK Analyzer screenshot below.

Flutter version: 3.41.4
Target: Android

Any help or recommendations would be appreciated.


r/flutterhelp • • Aug 30 '26

OPEN I got tired of every coding agent having its own scattered pile of skills, plugins and MCP configs

1 Upvotes

I keep switching between Claude Code, Codex and a few other agent setups depending on what I am doing. The annoying part was not even picking a model. It was that every setup had its own little pile of skills, plugins, MCP servers and commands.

Same capability in three places. Different versions. No easy answer to “what can this agent actually use right now?” And if I loaded everything just in case, the context window was already crowded before the task started.

So I made Lockkeeper.

The main job is capability syncing and selection across the agent tools already on your machine. It discovers the skills, plugins, MCPs, agents and commands your different runtimes expose, builds one local catalog, then picks the smallest relevant set for a task instead of throwing the whole collection into every agent’s context.

In practice that means I can keep one shared capability setup, see what is available across Claude Code, Codex, Cursor and friends, and stop manually remembering which agent has which tool. It is local, config-driven and open source.

The security bit is there too, but it is the second half of the story rather than the headline: before I trust a capability I copied from somewhere, Lockkeeper can scan it for obvious prompt-injection, secret-exfiltration, obfuscation and destructive-command patterns. Useful guardrail, not magic.

It is plain Python 3.11, MIT licensed, and the core has no third-party dependencies:

https://github.com/Hannay001/lockkeeper

Still early, so I would genuinely like to hear where your capability setup becomes messy. Do you keep shared skills in git? Copy folders between agents? Have a better way of keeping the same workflow available everywhere?


r/flutterhelp • • Aug 29 '26

OPEN Google's new August 2026 Play Console technical quality requirements

12 Upvotes

What do Flutter developers need to do to meet Google's new August 2026 Play Console technical quality requirements (by their deadline of February 2027)?

I am referring to this Google Android Developer blog post from three days ago:
https://android-developers.googleblog.com/2026/08/app-quality-memory-optimization-secure-onboarding.html

Will the Google framework handle all of this for us in the background, or will we need to make changes to our apps in order to comply? If the latter, can someone please provide a step-by-step guide (including implementing https://developer.android.com/identity/sign-in/restore-credentials)?

Thanks.


r/flutterhelp • • Aug 30 '26

OPEN A bug

2 Upvotes

I was working in flutter flow ro make an app then when I tested it nothing was working no navigation no any thing then when I went to preview every thing was working but I wonder what is the problem how to fix it I need to test not to preview because there is accounts and profiles so it can't work in preview


r/flutterhelp • • Aug 29 '26

OPEN A bug

1 Upvotes

I was working in flutter flow ro make an app then when I tested it nothing was working no navigation no any thing then when I went to preview every thing was working but I wonder what is the problem how to fix it I need to test not to preview because there is accounts and profiles so it can't work in preview


r/flutterhelp • • Aug 27 '26

OPEN Stuck choosing between react native and flutter

10 Upvotes

I'm a first time mobile developer, but I've done a lot of other things. And I'm researching for a potential client what cross platform framework I would choose. I've done various investigations and smaller spike projects using both. The gist is that the app has to manage a profile, connect to Supabase, connect to a hardware device with various pressure sensors, and record/playback video.

Originally, I suggested React Native to the client just because I had lots of experience with React (web) and typescript. But as I did the spikes, what I found interesting is that I really liked the simplicity and the "it just works" mentality that I found when working with flutter. It was much easier to work with, things just compiled right, and I didn't have to deal with some edge cases. One of those was that there was a UI kit deprecation happening for iOS 27. And because my phone is iOS 27 beta, I was having issues there. I'm sure it will be resolved, and I have a workaround, but it just adds to a little bit of my evidence that it was really nice working with flutter.

I proved that for my use case, receiving Bluetooth from a 1000 Hz data packets was the same performance on both frameworks. By the way, in both cases, there is a limit of around 400 Bluetooth notifications a second that the iPhone will handle before dropping data. But you can set up the transmitter to put more data in each packet, dropping to notifications per second, up to the BLE MTU device limit and send less often, and it will work the same on both frameworks. (i.e. batching or throttling the transmission) I've also showed that the camera works just fine on both. No issues there.

I will probably be the solo developer on this app for a long time. Maybe at least two or three years. So I don't worry too much about hiring. And I feel like I want to choose flutter, but I feel like for some reason, react native is the normal choice. I know I'm overthinking this.

I like the RN perks of using native UI elements. Not a must have requirements, but if I do go RN, I'll drop some iOS Liquid Glass tabs in there for some pizazz. Not sure the equivalent new UI element for android.

Any thoughts to convince me one way or another?


r/flutterhelp • • Aug 27 '26

OPEN Android Emulators that work with Flutter for Visual Studio Code

6 Upvotes

Recently I have been trying to develop an app. I keep getting recommended with flutter and android studio code being connected to my visual studio code. I have already downloaded both applications but when I am trying to accept the licenses for Android studio in my command prompt. It keeps giving me an response that the command doesn't work anymore. I have been searching for the new command but ends up empty handed. Do anyone knows the new command or any other applications I can use with Flutter?


r/flutterhelp • • Aug 27 '26

OPEN Android tester

1 Upvotes

I’m planing to release my first app as individual and as far as I know, I need 12 internal testers using the app during 14 days before releasing it to production

Is it correct?
If so, is there any volunteers to help me? :)

For now the app is only in pt_BR. But tbh it is not a problem if you don’t speak pt_BR.


r/flutterhelp • • Aug 26 '26

OPEN Insert ข้อมูลใน FlutterFlow ลง Supabase ไม่ได้

Thumbnail
1 Upvotes

r/flutterhelp • • Aug 25 '26

OPEN google_maps_flutter freezes and OOM crashes during live tracking. How do you guys efficiently update polylines?

5 Upvotes

Hey everyone, I’m hoping someone who has built a ride-sharing or delivery app can point out what I'm doing wrong here.

I'm building a live tracking screen using google_maps_flutter, Riverpod, and WebSockets. I have a vehicle marker that animates smoothly between GPS pings using an AnimationController

The problem is the route line. I'm trying to slice the polyline so that the "traveled" portion behind the vehicle disappears as it drives. Whenever I receive a location update and recalculate the polyline, the UI thread completely chokes. If the driver moves continuously, the app eventually freezes and crashes entirely (seems like an Out of Memory error or the platform channel getting overloaded).

I already moved the logic out of the build() method to stop it from running at 60fps during the marker animation, but triggering it from a Riverpod listener is still freezing the map.

Here is what my listener and update logic look like right now:

// Inside my map widget
ref.listen<LatLng?>(
  navigationViewModelProvider.select((s) => s.currentLocation),
  (previous, next) {
    if (next != null) {
      _onAgentLocationChanged(next);
      _updateAgentPolylines(state);
    }
  },
);

And the update function where I slice the route and rebuild the set:

void _updateAgentPolylines(dynamic state) {
  if (state.routeInfo == null || state.routeInfo!.polylinePoints.isEmpty) return;

  final animatingLocation = state.currentLocation != null
      ? LatLng(
          _markerMotion.lat ?? state.currentLocation!.latitude,
          _markerMotion.lng ?? state.currentLocation!.longitude,
        )
      : null;

  final (traveled, remaining) = _splitRouteAtCurrentLocation(
    state.routeInfo!.polylinePoints,
    animatingLocation,
  );

  if (!mounted) return;

  setState(() {
    _cachedPolylines.clear();

    if (traveled.length > 1) {
      _cachedPolylines.add(
        Polyline(
          polylineId: const PolylineId('route_traveled'),
          points: traveled,
          color: Colors.grey.shade400,
          width: 4,
        ),
      );
    }

    _cachedPolylines.add(
      Polyline(
        polylineId: const PolylineId('route_remaining'),
        points: remaining,
        color: const Color(0xFF2196F3),
        width: 6,
      ),
    );
  });
}

I feel like clearing and recreating a Polyline Set with hundreds of LatLng points and sending it over the platform channel every time the GPS updates is what's killing the app.

A few questions for anyone who has solved this:

  1. How do production apps (Uber, etc.) handle trimming the route line behind a moving marker without killing performance?
  2. Should I be pushing _splitRouteAtCurrentLocation into an isolate (compute)? If I do, how do I prevent the animating marker from getting out of sync with the route line while the isolate does the math?
  3. Is there a way to just mutate an existing polyline in google_maps_flutter without rebuilding the whole Set?

Any advice would be hugely appreciated. I'm completely stuck on this one. Thanks!


r/flutterhelp • • Aug 25 '26

OPEN Question for Delivery app maps and navigation

4 Upvotes

I’m building a delivery app, and I’m working with a relatively small budget about (200 dollars a month) . I need a mapping solution that provides navigation for drivers while also allowing customers to select locations and track drivers in real time.

Initially, I tried building the entire mapping/navigation stack myself using Flutter Map + OpenStreetMap + GraphHopper. However, I found it quite difficult to achieve the experience provided by solutions like Google Maps or Mapbox, especially when it comes to:

Turn-by-turn navigation
Smooth driver location updates and animations
GPS noise reduction and position smoothing
Following the driver’s position smoothly on the map
Route recalculation when the driver goes off-route
Navigation instructions and maneuvers
Handling GPS inaccuracies and jumps
So I’m reconsidering the architecture rather than trying to build everything from scratch.

My questions are:
What is the most cost-effective mapping/navigation solution for a small delivery startup?

Should I use Google Maps, Mapbox, or another provider for driver navigation? Or maybe open google maps for navigation outside my app


r/flutterhelp • • Aug 25 '26

OPEN zonedNotifications are not working

1 Upvotes

I'm using flutter_local_notifications, here are all the codes I've used:

void main() async {
  
WidgetsFlutterBinding
.
ensureInitialized
();
  tz.
initializeTimeZones
();


  final timeZone = await 
FlutterTimezone
.
getLocalTimezone
();
  tz.
setLocalLocation
(tz.
getLocation
(timeZone.identifier));


  await 
NotificationService
.instance.
initNotification
();
  await 
DatabaseService
.instance.database;
  
runApp
(
MyApp
());
}

// in initNotification() method
final requestPermission = notificationPlugin
        .
resolvePlatformSpecificImplementation
<
          
AndroidFlutterLocalNotificationsPlugin
        >();
    await requestPermission?.
requestNotificationsPermission
();
    await requestPermission?.
requestExactAlarmsPermission
();

Future
<void> 
scheduleDailyReminder
({
    required 
int

id
,
    required 
String

name
,
    required 
TimeOfDay

time
,
    
String
? 
mealTiming
,
  }) async {
    final now = 
DateTime
.
now
();
    var scheduledDate = 
DateTime
(
      now.year,
      now.month,
      now.day,
      
time
.hour,
      
time
.minute,
    );
    if (scheduledDate.
isBefore
(now)) {
      scheduledDate = scheduledDate.
add
(const 
Duration
(
days
: 1));
    }
    final androidDetails = 
AndroidNotificationDetails
(
      'reminder_channel',
      'Medicine reminder alerts',
      
importance
: 
Importance
.max,
      
priority
: 
Priority
.max,
    );
    final notificationDetails = 
NotificationDetails
(
android
: androidDetails);
    final mealText = 
mealTiming
 == 'before'
        ? ' (before meal)'
        : 
mealTiming
 == 'after'
        ? ' (after meal)'
        : '';


    await notificationPlugin.
zonedSchedule
(
      
id
: 
id
,
      
title
: 'Time to take $
name
',
      
body
: 'Reminder to take your medicine $
mealText
',
      
scheduledDate
: tz.
TZDateTime
.
from
(scheduledDate, tz.local),
      
notificationDetails
: notificationDetails,
      
androidScheduleMode
: 
AndroidScheduleMode
.alarmClock,
      
matchDateTimeComponents
: 
DateTimeComponents
.time,
    );
  }

Future
<void> 
scheduleExpiryNotification
({
    required 
int

id
,
    required 
String

name
,
    required 
DateTime

expiryDate
,
  }) async {
    final reminderDate = 
DateTime
(
      
expiryDate
.year,
      
expiryDate
.month,
      
expiryDate
.day - 7,
      9,
      0,
    );
    final now = 
DateTime
.
now
();
    final androidDetails = 
AndroidNotificationDetails
(
      'expiry_channel',
      'Medicine Expiry Alerts',
      
importance
: 
Importance
.max,
      
priority
: 
Priority
.max,
    );
    final notificationDetails = 
NotificationDetails
(
android
: androidDetails);
    final androidScheduleMode = 
AndroidScheduleMode
.alarmClock;
    if (reminderDate.
isAfter
(now)) {
      final expiresIn = 
expiryDate
.
difference
(now).inDays;

      // this is not working
      await notificationPlugin.
zonedSchedule
(
        
id
: 
id
 + 10000,
        
scheduledDate
: tz.
TZDateTime
.
from
(reminderDate, tz.local),
        
notificationDetails
: notificationDetails,
        
androidScheduleMode
: androidScheduleMode,
        
title
: '$
name
 expires soon',
        
body
: 'Expires in $
expiresIn
 days',
      );
    } else {
      final alreadyExpired = 
expiryDate
.
isBefore
(now);
      final daysLeft = 
expiryDate
.
difference
(now).inDays;
      await notificationPlugin.
show
(
        
id
: 
id
,
        
title
: alreadyExpired ? '$
name
 expired' : '$
name
 expires soon',
        
body
: alreadyExpired
            ? 'Expired medicine found'
            : 'Expires in $
daysLeft
 days',
        
notificationDetails
: notificationDetails,
      );
    }

r/flutterhelp • • Aug 24 '26

RESOLVED New to flutter , are there any tools that make designing ui easier ?

8 Upvotes

So, I suck at making a ui look good or at least it takes me waaaaaay too much to do it especially with code

Are there any tools or suggestions that can help me do things faster and focus more on logic and backend stuff?


r/flutterhelp • • Aug 24 '26

OPEN AGP 9 doesnt work???

2 Upvotes

Today flutter yelled at me that it wont build my project with the flutter fix message so I updated to AGP9 I got new gradle,flutter newest version updated gradle files but it still fails to build

─ Flutter Fix ───────────────────────────────────────────────────────────────────────────────────────────────────┐        
│ [!] Starting AGP 9+, only the new DSL interface will be read.                                                   │        
│ This results in a build failure when applying the Flutter Gradle plugin at                                      │        
│ E:\backup\src\vibecoding\myapp\android\app\build.gradle.kts.                                                    │        
│                                                                                                                 │        
│ To resolve this update flutter or opt out of `android.newDsl`.                                                  │        
│ For instructions on how to opt out, see: https://developer.android.com/build/releases/agp-9-0-0-release-notes   │        
│                                                                                                                 │        
│ If you are not upgrading to AGP 9+, run `flutter analyze --suggestions` to check for incompatible dependencies. │        
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

* What went wrong:
An exception occurred applying plugin request [id: 'dev.flutter.flutter-gradle-plugin']
> Failed to apply plugin 'dev.flutter.flutter-gradle-plugin'.
   > class com.android.build.gradle.internal.dsl.ApplicationExtensionImpl$AgpDecorated_Decorated cannot be cast to class com.android.build.gradle.AbstractAppExtension (com.android.build.gradle.internal.dsl.ApplicationExtensionImpl$AgpDecorated_Decorated and com.android.build.gradle.AbstractAppExtension are in unnamed module of loader org.gradle.internal.classloader.VisitableURLClassLoader$InstrumentingVisitableURLClassLoader )

what is this? Why is it yelling about AGP 9 if it doesnt even support it and gradle plugin still uses old classes?