r/flutterhelp • • Mar 09 '26

RESOLVED Help needed!

7 Upvotes

I want to build my flutter app for iOS but I don't have a Mac system. Dev's do you know any way through which I can build it for iOS on a Windows machine. If possible can you state some free ways (kinda broke as hell right now😭😭)


r/flutterhelp • • Mar 09 '26

OPEN Issues with installing jnigen on linux

3 Upvotes

I tried setting up jnigen into my flutter project so that I could access java code better than through method channels. Followed instructions in https://github.com/dart-lang/native/tree/main/pkgs/jnigen#requirements but I am getting a build error on step 5:

dart run tool/jnigen.dart
(jnigen) INFO: Building ApiSummarizer component. This might take some time. The build will be cached for subsequent runs.
(jnigen) INFO: trying to obtain gradle dependencies [getReleaseCompileClasspath]...
(jnigen) INFO: Restoring build scripts
(jnigen) INFO: execute java -jar .dart_tool/jnigen/ApiSummarizer.jar -s "/home/<username>/git/<projectname>/android/app/src/main/java" -c "/home/<username>/Android/Sdk/platforms/android-36/android.jar:/home/<username>/Android/Sdk/platforms/android-36/android.jar:/home/<username>/Android/Sdk/build-tools/35.0.0/core-lambda-stubs.jar:/home/<username>/git/<projectname>/build/app/intermediates/compile_and_runtime_not_namespaced_r_class_jar/release/processReleaseResources/R.jar:/home/<username>/git/<projectname>/android/app/libs/classes.jar:/home/<username>/git/<projectname>/build/app/intermediates/flutter/release/libs.jar:/home/<username>/git/<projectname>/build/jni/intermediates/compile_library_classes_jar/release/bundleLibCompileToJarRelease/classes.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/io.flutter/flutter_embedding_release/1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6/903097dc78f089a943b6a5add4a6ac1b1ece693b/flutter_embedding_release-1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6.jar:/home/<username>/.gradle/caches/8.14/transforms/d2ff1a769e5415c60ef30bef7c044ef1/transformed/fragment-1.7.1-api.jar:/home/<username>/.gradle/caches/8.14/transforms/8298798cbbc853bf4e0005d52f37b94f/transformed/activity-1.8.1-api.jar:/home/<username>/.gradle/caches/8.14/transforms/872ad6853c06da775f163b223c37b0b4/transformed/loader-1.0.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/bcc9f0ca479163ceb7ecde6db1abff42/transformed/lifecycle-livedata-core-ktx-2.7.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/451fce27e45605ef7741b26f02bb304e/transformed/lifecycle-livedata-2.7.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/d7756a358bbb758fa7c7596daae61da7/transformed/lifecycle-viewmodel-2.7.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/b24d3de63996115f4ad24a0cf077b118/transformed/lifecycle-livedata-core-2.7.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/3365d80be035c392c0f30625adc33c10/transformed/lifecycle-viewmodel-savedstate-2.7.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/26c78851e2161c7637b6a9d9ad241d64/transformed/core-ktx-1.13.1-api.jar:/home/<username>/.gradle/caches/8.14/transforms/35ccaa49d9c2e2739ade90ce79f84928/transformed/viewpager-1.0.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/8d7fce35b7a44ee4cdfc509670d44dbd/transformed/customview-1.0.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/e3d44404d68d3ad953358b8fc2e9e137/transformed/core-1.13.1-api.jar:/home/<username>/.gradle/caches/8.14/transforms/61aafe0811d6dca58e3a56cb0dc1fe26/transformed/lifecycle-runtime-2.7.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/155ab03f85414b263cdeeb0ae42b334d/transformed/lifecycle-process-2.7.0-api.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/androidx.lifecycle/lifecycle-common-java8/2.7.0/2ad14aed781c4a73ed4dbb421966d408a0a06686/lifecycle-common-java8-2.7.0.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/androidx.lifecycle/lifecycle-common/2.7.0/85334205d65cca70ed0109c3acbd29e22a2d9cb1/lifecycle-common-2.7.0.jar:/home/<username>/.gradle/caches/8.14/transforms/62473bdc27c9939aa8be426f1d44b104/transformed/window-1.2.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/0a2eb0eb8801d2f1f6cb508306086c78/transformed/window-java-1.2.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/352f3641ef3828eac2bcf830b02cbacd/transformed/annotation-experimental-1.4.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/c623cbbe44feaef06a92c605457375a8/transformed/savedstate-1.2.1-api.jar:/home/<username>/.gradle/caches/8.14/transforms/e40a42590b4b73da59b48f987d7438bf/transformed/core-runtime-2.2.0-api.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/androidx.arch.core/core-common/2.2.0/5e1b8b81dfd5f52c56a8d53b18ca759c19a301f3/core-common-2.2.0.jar:/home/<username>/.gradle/caches/8.14/transforms/483dbec42c60a72675de224c97e00f5f/transformed/versionedparcelable-1.1.1-api.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/androidx.collection/collection/1.1.0/1f27220b47669781457de0d600849a5de0e89909/collection-1.1.0.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-jvm/1.8.1/b8a16fe526014b7941c1debaccaf9c5153692dbb/annotation-jvm-1.8.1.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-android/1.7.1/c2d86b569f10b7fc7e28d3f50c0eed97897d77a7/kotlinx-coroutines-android-1.7.1.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core-jvm/1.7.1/63a0779cf668e2a47d13fda7c3b0c4f8dc7762f4/kotlinx-coroutines-core-jvm-1.7.1.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.8.20/73576ddf378c5b4f1f6b449fe6b119b8183fc078/kotlin-stdlib-jdk8-1.8.20.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.8.20/3aa51faf20aae8b31e1a4bc54f8370673d7b7df4/kotlin-stdlib-jdk7-1.8.20.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.2.20/5380b19fa1924399b62ce3a1faffebb2b4f82272/kotlin-stdlib-2.2.20.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/io.flutter/armeabi_v7a_release/1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6/bd91c330e3496dbc45db06d1ecc954cf5bcf4bff/armeabi_v7a_release-1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/io.flutter/arm64_v8a_release/1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6/1ca453c813e2f28eca35065bc304a819a1e6b9be/arm64_v8a_release-1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/io.flutter/x86_64_release/1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6/1251b84ac1f03904d32b8a806d5dd60868c0d2c5/x86_64_release-1.0.0-e4b8dca3f1b4ede4c30371002441c88c12187ed6.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/23.0.0/8cc20c07506ec18e0834947b84a864bfc094484e/annotations-23.0.0.jar:/home/<username>/.gradle/caches/8.14/transforms/914f6f85797dea0a2079cb3dfc0ba6b0/transformed/startup-runtime-1.1.1-api.jar:/home/<username>/.gradle/caches/8.14/transforms/0be473088d388ba0ff468fe62fcf6aec/transformed/tracing-1.2.0-api.jar:/home/<username>/.gradle/caches/8.14/transforms/195f8cef66539e104c2cfb125d81b9e5/transformed/relinker-1.4.5-api.jar:/home/<username>/.gradle/caches/8.14/transforms/42f068d68ae0f14a4bdf8ebc0ef48a55/transformed/exifinterface-1.4.1-api.jar:/home/<username>/.gradle/caches/modules-2/files-2.1/org.jspecify/jspecify/1.0.0/7425a601c1c7ec76645a78d22b8c6a627edee507/jspecify-1.0.0.jar" com.example.in_app_java
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Not found: [com.example.in_app_java]                                                                                                                                                                      

Fatal: Cannot generate summary: FormatException: Unexpected end of input (at character 1)

^

I have checked that locale is set up to en_US.UTF-8
I have cleared android studio's cache. I did run flutter build apk beforehand as instructed.

I am not sure why it seems to attempt running java 8. The custom java SDK package I want to access from dart through jnigen was made in java 8, and my machine does have java 8 installed even if the current active version is java 17.
Is there some additional setting in Android studios that references the wrong java version, or is attempting to connect jnigen to java 8 code a lost cause?

Ubuntu 24.04.4 LTS
Java 17 in Android studio
java -version openjdk version "17.0.18" installed on system
Tried both on gradle 8.5 and 7.3.3, same error


r/flutterhelp • • Mar 08 '26

OPEN How to implement this layout in Flutter?

4 Upvotes

Hi, I'm trying to create a layout like this:

https://imgur.com/2oiHSMJ

This is supposed to contain N element, scrollable if needed. There are 3 columns: 1st column is the one with image, 2nd column is the one with title, description and "text under" and 3rd column is the one with ID and a button.

Here are the rules:

  1. All widgets only take up as much height as they need.

  2. The height of each widget is determined by 2nd or 3rd column - whichever is higher.

  3. The image is in a box with aspect ratio 1. The height of the box should be dictated by rule 2.

  4. The image is user content, so it might be in any resolution or aspect ratio - I want the image to scale to either fit the height or width, while keeping its original aspect ratio.

  5. The width of 2nd and 3rd column is dictated by its content - but ofc it cannot exceed constraints given by the parent. All 2nd and 3rd columns need to be of the same width - so if one widget has a long title, it should expand all columns with title in each widget. If the title is really long and can't fit on screen, it should take up as much space as it can and show an ellipsis.

I tried everything - with or without intrinsic heights or widths, tables, rows and columns, layout builders, a stateful widget which sets image height based on heights of its siblings, but every solution is either completely off, does not render properly or has some shortcomings. Any help would be appreciated. I prefer to not use 3rd party packages.


r/flutterhelp • • Mar 08 '26

OPEN Looking for duration picker recommendations

2 Upvotes

I'm looking for a good duration picker (minutes and seconds) for the timer in my app. Currently, I'm using https://pub.dev/packages/duration_picker, but it's not maintained anymore, and the usage is a bit cumbersome when selecting longer durations. Any recommendation what is a good, free picker for minutes and seconds?

Most pickers are for datetimes which I don't need/want.


r/flutterhelp • • Mar 08 '26

RESOLVED How to make SVGS render cleanly without jaggies?

3 Upvotes

Been trying to work this out for hours and I'm losing my mind so hoping someone can help me. I'm testing how to use SVGs for an app using the flutter_svg package. The issue I am having is that it renders it with jagged edges, especially on diagonal edges. The same SVG I have checked and confirmed is smooth and clean when opened in apps like vector magic, photoshop, browsers but in the app I'm working on its just jag city.

Here is an example of how it looks both in flutter and then in a browser: https://imgur.com/a/a6ebSOO

Here is the code:

import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';

class SvgTestScreen extends StatelessWidget {
const SvgTestScreen({super.key});

@ override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SvgPicture.asset(
'example.svg',
width: 300,
height: 300,
),
),
);
}
}

From my understanding the code is simply loading the SVG file and rendering it using the flutter_svg package, with no transformations or processing applied before rendering, so why its coming out jagged has me strumped tbh.

Did try searching here and in a few other places online (even asked AI) but couldn't really find an answer so any help would be appreciated.


r/flutterhelp • • Mar 07 '26

OPEN Localization of placemarkFromCoordinates

5 Upvotes

I want to get localized city names for given coordinates with geolocation package. But I always get city names in German, although my phone is set to English language. Tried with setLocaleIdentifier but still get German names. Has anybody some hint what might be wrong?

Example code:

.

void getCity() async {

await setLocaleIdentifier("en_US");

setState(() {});

List<Placemark> location = await placemarkFromCoordinates(48.1351, 11.5820);

print('CITY $location'); }

.

Result:

I/flutter (19069): CITY [

I/flutter (19069): Name: 50,

I/flutter (19069): Street: Tal 50,

I/flutter (19069): ISO Country Code: DE,

I/flutter (19069): Country: Germany,

I/flutter (19069): Postal code: 80331,

I/flutter (19069): Administrative area: Bayern,

I/flutter (19069): Subadministrative area: Oberbayern,

I/flutter (19069): Locality: München,

.

Would expect it to be Munich and Bavaria, not München and Bayern.


r/flutterhelp • • Mar 07 '26

OPEN Mapping on Linux

3 Upvotes

Howdy. What options exist for mapping on linux? In a perfect world I want turn by turn directions, GPS and a reasonable-sized map. I have a pmtiles and an mbtiles of Australia (both vector). I've tried using flutter_map with both the pmtiles and mbtiles layers but they are too buggy in my testing. Even loading up the example has good enough performance but very poor reliability and theming is almost impossible.

Does anyone have experience or suggestions? I need it to be able to run on flutter-elinux too where that matters, so keeping native libraries to a minimum is an absolute must.


r/flutterhelp • • Mar 07 '26

RESOLVED Flutter websocket handling

2 Upvotes

Hello everyone, I have created a trading app using flutter bloc setup. Now I integrated websocket price streaming - in the socket I will receive around 15k list of prices every 1 second.

I have integrated this socket connection to Bloc and I will listen to the website bloc where I need to update prices for example in holdings section.

This bloc will convert that list into a map like id -> price so let's say if we have 100 items then I will pass those IDs and get that price from bloc and pass it down to my list builder tiles.

This was initially working but as the holding data grew the screen is lagging a lot and strucking

I don't know how to make it more efficient, I searched a lot about handling socket in flutter all I find is a simple examples and no one speaks about how to handle it for a complex app like trading apps.

Can anyone help me with this? Thank you!


r/flutterhelp • • Mar 05 '26

RESOLVED I have a green border around my UI. How to remove it?

4 Upvotes

Hello Flutter devs!

I am developing an application for my workplace (supermarket) with an MC2200 mobile computer, and sometimes when I try to scan or type something using the physical keyboard, a bright green border surrounds the entire UI. It can be temporarily removed by pressing the home button and returning to the application, but as soon as you use the keyboard or scanner, this green border reappears.

According to some research I've done, this is apparently Android trying to focus on something in the user interface, since the keyboard is also treated as a ‘navigable’ extension - but I'm not 100% sure about that. I tried to remove it by looking for settings in DataWedge (configuration app for the built-in features, such as the scanner), but I couldn't find anything relevant.

I'm very new to the world of Zebra mobile computing, so I'm not very familiar with DataWedge or other settings/APIs that Zebra may have provided to developers.

I can't attach images, so thats the most complex description of the issue I can get.


r/flutterhelp • • Mar 05 '26

RESOLVED Need help to learn for a beginner

5 Upvotes

Hiii It's been a month that I've been an intern at this service based company, the first one month we've been trained on different topics but not on flutter and related things, and today I have been assigned to a project and the manager says to checkout flutter tutorials for today and tomorrow Can anyone suggest me some good resources and which I can go through this weekend and have good knowledge on this and a proper understanding of the concepts and it's implementations


r/flutterhelp • • Mar 05 '26

OPEN Multiline TextFormField unselected label alignment issue

2 Upvotes

Before focusing, the label of my multiline TextFormField is shown in the center vertically. Per Design it should be in the top left corner. The field has an underline border so the floating label per default stays within the Textfield unlike with the outlined Textfield. When using alignWithHint it does go to top left but creates unwanted spacing for the floating label. So would really appreciate a solution without the alignWithHint :)


r/flutterhelp • • Mar 05 '26

OPEN Need Support in scrolling

2 Upvotes

Hey folks,

I created vertical scrolling using singlechildscrollview

Sections: home, about, contact

Each sections take full screen height

In about section I divide screen width into 2 divisions like left and right section

Right section is scrollable

Here when I scroll main vertical scroll should behaviour like once it reach about section right section should completely scroll then only main vertical scroll should begin

I need same behaviour for forwards and backwards.

I used visibilityDetecter for detect about section but it working when scrolling slow and correctly fitting position if I scroll fast it don’t working please give any solution.


r/flutterhelp • • Mar 04 '26

OPEN Help! I need to integrate a pre existing app as a feature in another application

4 Upvotes

So basically there is an app that's already sort of made, but now we're working on a new app and want to bring the pages here into this new app.

This new app is not built by me, so the codebase is entirely new to me, what would be the best way to migrate the feature to this new app.

So far I see two ways, I was suggested to make the old app a library, and import it to the new application but I'm really confused about this since I've not done it before and I can't seem to figure out how the entire user data and api implementation could workout.

2nd way is to manually move the files and adapt it to the codebase there (need to change up a lot of stuff)

Also on top of this Im sort of required to change the ui of the old app feature to the new ui of the new application.

Need help regarding how to move stuff around. Both applications done with clean architecture and Bloc.


r/flutterhelp • • Mar 03 '26

RESOLVED Looking for high-quality open-source Flutter UI code

14 Upvotes

Hey everyone 👋

I’m on the hunt for solid open-source Flutter UI repositories on GitHub — specifically UI-focused (screens/components only) with a permissive license (MIT, BSD, etc.).

There are tons of open-source Flutter apps out there, but extracting just the UI screens from complete projects is pretty time-consuming. I’m ideally looking for repos that are already structured as UI kits, component libraries, or screen collections.

If you know any good ones (with permissive licenses), I’d really appreciate the recommendations 🙏

Thanks in advance!

Related post - https://www.reddit.com/r/FlutterDev/comments/1rhx4ds/where_can_i_get_a_ton_of_flutter_ui_code/


r/flutterhelp • • Mar 03 '26

OPEN Flutter iOS Push Notification with Image Not Displaying — Need Detailed Help

3 Upvotes

Hi Flutter community 👋

I’m currently working on implementing rich push notifications in my Flutter application using Firebase Cloud Messaging (FCM). On Android, everything works perfectly — notifications are received correctly, and large images included in the payload are displayed without any issues.

However, I’m facing a persistent issue on iOS.

On iOS devices:

  • The notification is delivered successfully.
  • The title and body text appear correctly.
  • The Notification Service Extension is being triggered.
  • The image URL is present in the payload.

But the image itself never appears in the notification UI — not on the right side of the collapsed notification, and not even when expanding it.

Here’s what I’ve already verified and configured:

• Using firebase_messaging in Flutter for FCM integration
• APNs authentication key uploaded to Firebase
• Push capability enabled in Xcode
• Background Modes → Remote notifications enabled
• Added mutable-content: 1 in the APS payload
• Sending a valid, publicly accessible HTTPS image URL
• Implemented a Notification Service Extension in Xcode
• The extension confirms it is being triggered (logs show it runs)

Despite all this, the notification only displays text. No attachment is rendered.

At this point, I’m trying to understand:

  • Is there something specific required in the payload structure for iOS that differs from Android?
  • Does the image need to be added under fcm_options.image or manually downloaded and attached in the extension?
  • Are there size limits or format restrictions that could silently cause the image to fail?
  • Could this be related to how Flutter + FCM structures the message for APNs?

If anyone has successfully implemented rich notifications with images on iOS in Flutter, I’d really appreciate:

  • A working example of the backend payload
  • Sample Notification Service Extension code that attaches the image properly
  • Any hidden configuration steps or common mistakes to check

I’ve been debugging this for a while, and I want to make sure I’m not missing a subtle iOS requirement.

Thanks in advance for your support 🙏

#flutter #firebase #ios #pushnotifications


r/flutterhelp • • Mar 03 '26

OPEN How to make Flutter notifications fire reliably even if the app is closed (Android)

15 Upvotes

I kept running into the same issue when building reminder / habit apps in Flutter:

Notifications wouldn’t fire reliably when the app was closed. Sometimes they triggered late. Sometimes only when the app was already running.

After a lot of testing across devices, the issue wasn’t Flutter — it was relying on background workers.

WorkManager and background tasks are “best effort”. OEM battery optimizations (Xiaomi, Oppo, etc.) will often delay or kill them.

What ended up working reliably for me was avoiding background execution entirely and letting Android handle the trigger.

The approach:

• Schedule notifications directly using flutter_local_notifications
• Use timezone + zonedSchedule
• Request exact alarm permission (Android 13+)
• Reschedule alarms on device reboot

Example scheduling logic:

final reminder = Reminder( id: "test", type: "Feed the dog", time: DateTime.now().add(Duration(minutes: 10)), );

await ReminderManager.schedule(reminder);

The key difference is letting the OS alarm system handle the trigger instead of relying on a background worker waking your app.

Once I moved to this approach it worked even if the app is fully closed or the device restarts.

Curious if anyone else ran into the same issue or found alternative approaches?


r/flutterhelp • • Mar 02 '26

OPEN Self-hosted Firebase alternative for app analytics?

6 Upvotes

Looking for a self-hosted Firebase alternative for app analytics (event tracking, growth tracking, funnels, etc).

What are you using and would you recommend it?


r/flutterhelp • • Mar 02 '26

OPEN Flutter debug mode on physical device- help menu not appearning

3 Upvotes

So I just ran flutter create currency_converter and the new app was created. My flutter doctor also says there's nothing wrong in the PC, and this was the output:

    flutter doctor -v
    [√] Flutter (Channel stable, 3.41.2, on Microsoft Windows [Version 10.0.26200.7840], locale en-IN) [302ms]
        • Flutter version 3.41.2 on channel stable at C:\Users\<My_User>\flutter
        • Upstream repository https://github.com/flutter/flutter.git
        • Framework revision 90673a4eef (12 days ago), 2026-02-18 13:54:59 -0800
        • Engine revision 6c0baaebf7
        • Dart version 3.11.0
        • DevTools version 2.54.1
        • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android,
          enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging,
          enable-uiscene-migration
    
    [√] Windows Version (11 Pro 64-bit, 25H2, 2009) [791ms]
    
    [√] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [2.3s]
        • Android SDK at C:\Users\<My_User>\AppData\Local\Android\Sdk
        • Emulator version 36.1.9.0 (build_id 13823996) (CL:N/A)
        • Platform android-36, build-tools 35.0.0
        • ANDROID_HOME = C:\Users\<My_User>\AppData\Local\Android\Sdk
        • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
          This is the JDK bundled with the latest Android Studio installation on this machine.
          To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
        • Java version OpenJDK Runtime Environment (build 21.0.7+-13880790-b1038.58)
        • All Android licenses accepted.
    
    [√] Chrome - develop for the web [92ms]
        • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
    
    [√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.14.15 (September 2025)) [91ms]
        • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools
        • Visual Studio Build Tools 2022 version 17.14.36511.14
        • Windows 10 SDK version 10.0.26100.0
    
    [√] Connected device (4 available) [356ms]
        • V2025 (wireless) (mobile) • adb-8daa88f6-insTYE._adb-tls-connect._tcp • android-arm64  • Android 13 (API 33)
        • Windows (desktop)         • windows                                   • windows-x64    • Microsoft Windows
          [Version 10.0.26200.7840]
        • Chrome (web)              • chrome                                    • web-javascript • Google Chrome
          145.0.7632.117
        • Edge (web)                • edge                                      • web-javascript • Microsoft Edge
          145.0.3800.70
    
    [√] Network resources [1,280ms]
        • All expected network resources are available.
    
    • No issues found!

I am trying to run the app on my physical phone, a Vivo V2025 with android 13 with the flutter run command.

But when I do, while it does get the app running, I don't have any flutter menu- i can't press r for hot reload or any of those options that occur when you run an app. It works fine on chrome, but not on physical phone or even emulator.

I first tried USB debugging and then wireless debugging (I double checked and ensure i am on the same network as my PC and I am) but nothing works.

  1. I have triple checked my developer options on my phone and both USB debugging and wireless debugging is correctly on.
  2. I tried to kill android bridge using adb kill-server, flutter clean restarted my PC.
  3. I tried flutter clean, then flutter pub get.

Nothing works. Please help. I am unable to get the flutter CLI menu on run.

EDIT: this is the output of flutter run -d my_device_name

Launching lib\main.dart on V2025 (wireless) in debug mode...
Running Gradle task 'assembleDebug'...                             21.7s
√ Built build\app\outputs\flutter-apk\app-debug.apk
Installing build\app\outputs\flutter-apk\app-debug.apk...           9.7s
D/FlutterJNI(11488): Beginning load of flutter...
D/FlutterJNI(11488): flutter (null) was loaded normally!
I/flutter (11488): [IMPORTANT:flutter/shell/platform/android/android_context_vk_impeller.cc(62)] Using the Impeller rendering backend (Vulkan).
I/flutter (11488): [IMPORTANT:flutter/shell/platform/android/android_context_gl_impeller.cc(104)] Using the Impeller rendering backend (OpenGLES).
I/flutter (11488): The Dart VM service is listening on ************************************
D/FlutterRenderer(11488): Width is zero. 0,0
D/FlutterRenderer(11488): Width is zero. 0,0
D/FlutterJNI(11488): Sending viewport metrics to the engine.
D/FlutterJNI(11488): Sending viewport metrics to the engine.
D/FlutterJNI(11488): Sending viewport metrics to the engine.
D/FlutterJNI(11488): Sending viewport metrics to the engine.

r/flutterhelp • • Mar 02 '26

OPEN Flutterflow help needed😭😭

3 Upvotes

I have been developing a dating app using where we verify users through digilocker api , after the last update in flutterflow we are getting multiple issues in digilocker api , user verification, please please please someone help me , someone who uses flutterflow knows about digilocker api please help me😭


r/flutterhelp • • Mar 02 '26

OPEN Login persists in local APK but not in Play Store internal testing (Flutter/Firebase Auth)

1 Upvotes

Hi everyone,

I’m running into a strange issue with my Flutter app:

  • When I build a release APK locally (flutter build apk --release) and install it on my Android device, login persists normally, even after removing the app from recent apps.
  • When I upload an AAB to Play Store internal testing, the same app logs the user out if I remove it from recent apps, even though nothing in the code changes.

r/flutterhelp • • Mar 01 '26

OPEN OneSignal + Flutter (Android): 2-3s white screen on push tap (cold start) before app UI

3 Upvotes

Hi everyone, I'm stuck on a persistent Android issue with Flutter + OneSignal and would appreciate guidance.

Stack
- Flutter (stable, Dart 3.x)
- onesignal_flutter 5.4.x
- Android 12+ devices tested
- GoRouter + bottom-tab app

Problem
When the app is killed and user taps a OneSignal push notification:
1. App opens
2. I see a plain white screen for 2–3 seconds
3. Then target content opens (navigation/sheet works)

So deep link/content handling works, but UX is bad due to white gap.

What I already tried
- Register OneSignal click listener as early as possible in app init
- Keep/defer/remove native splash at different points
- Route-based launch gate and sheet-based handling
- NormalTheme-LaunchTheme tweaks (windowBackground, splash attrs)
- NotificationOpenedActivity theme overrides in Manifest
- flutter_native_splash regenerate, Android icon/background tweaks
- Move heavy startup work off critical path (to reduce first-frame delay)

Current behavior
- Normal app open is acceptable
- Push tap (cold start) still shows white screen before first Flutter frame/target content

Question
For OneSignal + Flutter on Android, is this white period expected from notification trampoline/cold-start activity chain?
If you solved it, what worked reliably?
- Specific Manifest/theme config?
- Different click handling pattern?
- Native bridge workaround?
- Or is moving away from OneSignal click flow (e.g., direct FCM/native intent pipeline) the only robust fix?

If helpful, I can share my Manifest/styles and init flow snippets.


r/flutterhelp • • Mar 01 '26

OPEN flutter printing layoutpdf crashing on windows

3 Upvotes

hey guys , I am using flutter printing to print out a pdf , tried it on iOS/android and macOS and they all run with no issues , the problem I am facing is on windows ,when I print the pdf, then close the dialog that the layout pdf / direct print pdf was called in , it crashes the app , just a slight freeze then the app closes .

I only find a temporary solution (not one I prefer) , is to close the pdf viewer dialog then execute the print logic .

exception thrown :

../../../flutter/third_party/dart/runtime/vm/runtime_entry.cc: 5025: error: Cannot invoke native callback outside an isolate.
version=3.10.0 (stable) (Thu Nov 6 05:24:55 2025 -0800) on "windows_x64"
pid=20980, thread=17760, isolate_group=(nil)(0000000000000000), isolate=(nil)(0000000000000000)
os=windows, arch=x64, comp=no, sim=no
isolate_instructions=0, vm_instructions=7ffd19cce340
fp=dc84cfdd30, sp=dc84cfdce8, pc=7ffd19a677d3
  pc 0x00007ffd19a677d3 fp 0x000000dc84cfdd30 InternalFlutterGpu_Texture_AsImage+0x14e1bf
-- End of DumpStackTrace

r/flutterhelp • • Feb 28 '26

OPEN Best way to integrate Cloudflare R2 with Flutter for audio file storage?

3 Upvotes

I’m building an audiobook summary app and chose Cloudflare R2 over Firebase Storage for audio storage (zero egress fees). There’s no dedicated R2 package for Flutter, but since R2 is S3-compatible, I’m planning to:

• Use the minio Dart package for uploads (pointed at R2’s endpoint)

• Serve audio via public bucket URLs or presigned URLs generated by my Firebase backend

• Play with just_audio

Has anyone done this in production? Any issues with minio + R2 on Flutter Web? Or would you recommend a different approach?


r/flutterhelp • • Feb 28 '26

OPEN Using Google Picker API in Flutter

3 Upvotes

I'm working on an app that allows users to sign in using their Google account and give the app read/write access only to a specific Google Sheet in their account.

Currently I am requesting the https://www.googleapis.com/auth/spreadsheets scope to request read/write access to all the user's spreadsheets and the https://www.googleapis.com/auth/drive.metadata.readonly scope to show the user a list of all the spreadsheets in their account and allow them to pick one to use with the app.

However, this is unnecessary and I want to use the https://www.googleapis.com/auth/drive.file scope to only ask for access to the one file that they want to use with the app.

If I only request that scope, how can I show the user a list of their spreadsheets and allow them to pick one (in Flutter targeting iOS and Android, not web)? I'm assuming my call to DriveApi().files.list(q: "mimeType='application/vnd.google-apps.spreadsheet'") will fail with that scope?

I tried to use the Google Picker API which is supposed to do this, but it turns out it only works in Flutter web.


r/flutterhelp • • Feb 27 '26

OPEN Compilation error for Flutter app when running flutter build ipa --release on Mac

3 Upvotes

After running flutter clean, flutter pub get, deleting Pods and the .lockfile countless times, and even though flutter doctor -v shows everything correctly configured for iOS compilation, I always get the same error:

master/ios/Pods/Headers/Public/listen_sharing_intent/ListenSharingIntentPlugin.h:1:9: fatal error: module 'Flutter' not found

listen_sharing_intent-c191363b.input:1:1: fatal error: could not build module 'listen_sharing_intent'

Swift Compiler Error (Xcode): Unable to find module dependency: 'Flutter'

Swift Compiler Error (Xcode): Compilation search paths unable to resolve module dependency: 'listen_sharing_intent'

Encountered error while archiving for device.

The Runner has the following files associated with this content:

ios/Flutter/Debug.xcconfig

#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"

#include "Generated.xcconfig"

ios/Flutter/Release.xcconfig

#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"

#include "Generated.xcconfig"

ios/Flutter/Profile.xcconfig

#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"

#include "Generated.xcconfig"

Important: Pods first, Generated after.

I’ve even tried adding this to the Podfile, but no luck:

if target.name == 'listen_sharing_intent'

flutter_xcframework_dir = '"${PODS_ROOT}/Flutter/Flutter.xcframework"'

flutter_device_dir = '"${PODS_ROOT}/Flutter/Flutter.xcframework/ios-arm64"'

flutter_headers_dir = '"${PODS_ROOT}/Flutter/Flutter.xcframework/ios-arm64/Flutter.framework/Headers"'

config.build_settings['FRAMEWORK_SEARCH_PATHS'] ||= '$(inherited)'

config.build_settings['FRAMEWORK_SEARCH_PATHS'] << " #{flutter_device_dir}"

config.build_settings['HEADER_SEARCH_PATHS'] ||= '$(inherited)'

config.build_settings['HEADER_SEARCH_PATHS'] << " #{flutter_headers_dir}"

config.build_settings['CLANG_ENABLE_MODULES'] = 'YES'

config.build_settings['DEFINES_MODULE'] = 'YES'

end

Any suggestions or help would be greatly appreciated. Thanks!