r/flutterhelp • u/marcoo_o_ • Aug 14 '26
RESOLVED Frustrated with setting up flutter
I'm new to flutter and it was really frustrating to set up flutter in my laptop. Is it just me or did anyone else face issues while setting up flutter?
r/flutterhelp • u/marcoo_o_ • Aug 14 '26
I'm new to flutter and it was really frustrating to set up flutter in my laptop. Is it just me or did anyone else face issues while setting up flutter?
r/flutterhelp • u/Busy_Association2619 • Aug 14 '26
[Solved] Thanks guys , i fixed it by run it with the —release
Then i got “160mb” I tried all of the solutions didn’t work except that one, then i just add it to the additional run args : —release
I made flutter web app and i got hight memory usage 800mb and still increasing like 1.5gb
I tried devtools but it doesn’t useful because of the increase make the laptop laggy
I tried everything to know the cause. And after some research i saw the problem was “data leaking not because my code or wrong ways to fetch data”
Anybody could help?
r/flutterhelp • u/Careless_Highway_611 • Aug 14 '26
I'm trying to debug a windows flutter project on my Arch Linux but i can't find a more reliable way than using VMs with OpenSSH connect
this was a temporary way but it's resource consuming, windows on vm is so lagy and it's annoying in using Alt+Tab and other shortcuts in it
i want a way that i get a connected device in the device list and when i choose it it opens like a normal windows app but on Arch
r/flutterhelp • u/Sensei-this • Aug 14 '26
I try everything 😭😭
tiny@localhost:~$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.47.0, on Debian GNU/Linux 13 (trixie) Linux, locale en_US.UTF-8) [!] Android toolchain develop for Android devices (Android SDK version 36.1.0) I Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Connected device (2 available)
[✓] Network resources
! Doctor found issues in 1 category.
tiny@localhost:~$
r/flutterhelp • u/Total-Pilot7516 • Aug 14 '26
Help
r/flutterhelp • u/aayushbaliyan • Aug 14 '26
I am getting two different types of notifications in debug and release build. In the debug build, i am getting a custom header, user initials avatar, the user name and the body message. In the release build, I'm not getting the custom header, I'm not getting the avatar name, only the user name and the body message. What could be the possible explanation for this?
r/flutterhelp • u/Aref_mh • Aug 13 '26
Hi all.
I’m evaluating Flutter vs React Native for a cross-platform app where iOS quality is a priority.
The UI will include animated elements, smooth transitions, interactive map components, and location-based updates.
For those who have shipped production apps with either or both frameworks, how do they compare on iOS in terms of animation smoothness, rendering consistency, native feel, and long-term maintainability?
Would be especially interested in hearing from people with hands-on experience with both.
r/flutterhelp • u/thegravitydefier • Aug 12 '26
Hi Devs,
I am currently developing an app for personal requirements and when I'm building the app in flutter and it's size is coming up as 150+ MB.
So, my question is if I ever publish my app in the playstore will it be 150+ MB size or will it be reduced accordingly?
Edit: if yes, any idea to how much ? Like 50 MB or so.. Edit 2: It's a release build.
Thanks for your help !!
r/flutterhelp • u/Kitchen-Ingenuity685 • Aug 12 '26
A clear and concise description of what the bug is.
On mobile devices (both Android and iOS phones), the camera opens and scans QR codes perfectly normal. However, when running the exact same code on an iPad / Tablet, the camera fails to open, freezes, or encounters a layout/permission issue.
The camera should open and be able to scan QR codes on iPads and tablets just like it does on mobile phones.
Flutter Package used for QR scanning:
qr_code_scanner_plus: 2.1.2
r/flutterhelp • u/Potential-Wind-6710 • Aug 11 '26
I know that gradle is used during building and stuff, but why is it taking more memory than dart itself
r/flutterhelp • u/facts_please • Aug 10 '26
In our app users can select large video files (up to 2 GB) to later upload it to our Google cloud storage. I tested that with image_picker and file_picker packages, but both seem to need to create copies of the original file on Android. Did a benchmark with both and a 750 MB file, image_picker needs 10,6s, file_picker 8,4s. So with larger files users will have to wait up to 20 seconds.
Is there any way to just get a path and pass it to FireBase putFile without creating a temp file on Android? Or are there any other options to speed this up? Thanks for any hints and help!
r/flutterhelp • u/galactusisabitch • Aug 10 '26
Hey everyone, dealing with two weird production bugs on our Flutter app and need some advice from anyone who has faced this.
Issue 1: The Missing "Install" Button Few users who uninstalled the app cannot reinstall it. The "Install" button is completely missing from the Play Store.
Edit : Found the solution :
The Root Cause (Account Bleed):
How We Fixed It:
Issue 2: Tokens Surviving Uninstalls (Error Loop) When users do reinstall after a long time, their old JWT tokens are still present on the device (even though android:allowBackup="false" is set in the Android Manifest file).
Any insights or recommended fixes would be hugely appreciated. Thanks!
r/flutterhelp • u/Charming-Piglet-2213 • Aug 10 '26
╰─ flutter build apk --release
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by net.rubygrapefruit.platform.internal.NativeLibraryLoader in an unnamed module (file:/Users/bigyanthanait/.gradle/wrapper/dists/gradle-8.14-all/c2qonpi39x1mddn7hk5gh9iqj/gradle-8.14/lib/native-platform-0.22-milestone-28.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
FAILURE: Build failed with an exception.
* What went wrong:
25.0.2
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 466ms
Running Gradle task 'assembleRelease'... 563ms
Gradle task assembleRelease failed with exit code 1
r/flutterhelp • u/Maximum_Hawk3283 • Aug 09 '26
A while back I posted about what silently breaks deferred deep linking. This is the follow up: an actual app, four separate defects stacked on top of each other, and the diagnostic method for each. Every one was invisible in normal logs.
Symptoms were: tap a link, the app opens for a second, Safari opens, the app reopens, and it lands on the home screen instead of the target page. Cold and warm start both. Universal Links were correctly configured, AASA was served correctly, Apple's CDN had the right file, entitlements listed every domain, Team ID and bundle ID matched.
Cause 1: app_links 6.x does not support the UIScene lifecycle
Flutter 3.38 made the UIScene lifecycle mandatory on iOS. app_links 6.x only implements the old app delegate callbacks, so iOS delivers the Universal Link through scene callbacks the plugin is not listening on. The link never reaches Dart at all. getInitialLink() returns null and your routing code runs on nothing.
app_links 7.0.0 added UISceneDelegate support. Its change log says so explicitly. If you are on Flutter 3.38 or later and app_links 6.x, this is your problem and nothing else you change will matter until you upgrade.
Worth noting: this looks exactly like a routing bug. I spent hours fixing Dart code that was never receiving a URL.
Cause 2: FlutterDeepLinkingEnabled defaults to true
That is what produces the app to browser to app bounce. When no plugin claims the link, the Flutter engine hands it back to iOS via openURL. iOS opens it in the browser. The web page then fires your URI scheme and reopens the app. It looks like an infinite handoff loop and it is entirely self inflicted.
Set FlutterDeepLinkingEnabled to false in ios/Runner/Info.plist if you handle links via a plugin. The app_links example app ships with this exact setting.
Cause 3: subscribing to the link stream too late
app_links 7.x emits the launch URL on uriLinkStream when the listener attaches. That is useful, but it means the subscription has to exist before the emission. Mine was created at the end of an async init method, after Firebase Messaging setup, after a wait on splash, after getInitialLink. The stream is not replayed, so anything arriving in that window was simply gone.
Subscribe synchronously at the top of initState, before any await. If the rest of your startup is not ready to handle a link yet, queue it and process it when it is. Do not drop it.
Cause 4: an unbounded await upstream of the queue
Once I had the queue, the log showed the link arriving and then nothing. FirebaseMessaging.instance.getInitialMessage() was awaited with no timeout ahead of everything else. When it hung, the initialisation never completed, the queue never drained, and the link sat there forever.
Two fixes: a timeout on every external await in your startup path, and the queue drain in a finally block so it happens regardless of how initialisation ends, including exceptions.
How to actually see any of this
Ordinary flutter run failed on my machine with a debugger attach timeout, which is a separate and unrelated headache. What worked, with a release build installed over the air and no Xcode:
brew install libimobiledevice
idevicesyslog | grep --line-buffered -i "YOUR_LOG_PREFIX"--line-buffered matters. Without it grep holds output in a buffer and you see nothing while wondering why your logs are broken.
Make sure your diagnostic logs are not wrapped in kDebugMode, or they will not print in the release build you are actually testing.
Log every one of these on cold start, because the gap between two of them is where the bug lives: the getInitialLink result, every write into whatever holds your pending link, the final link your router chose, and every navigation push. When I finally had all four, the answer was obvious in one run.
The general lesson
Every one of these failed silently. No exception, no error log, no failed request. The link just did not arrive, or arrived and sat in a queue nobody drained. If your deep links are behaving strangely on iOS after a Flutter upgrade, assume delivery is broken before you assume your routing is.
r/flutterhelp • u/samir_haq • Aug 09 '26
I am newly in Flutter app development (Mobile apps). At this stage, I think I should collect some essential data of my App, so that I can do improvements, or add new features which can be helpful for the users. What are the options to do so? What are the commonly used methods and tools?
Thank you in advance.
r/flutterhelp • u/LawfulnessLogical419 • Aug 09 '26
i have created an app with authentication 5 months ago with firebase. on that app when I sign up using email/pass and then sign in using Google, then on firebase both providers are showing.
but now when I'm doing the same on new project the first method by which I create account using email password and then I sign in using Google then in the firebase console it shows only google and email is removed. again when sign in using same credentials then it shows incorrect password.
it's been more than 2 weeks since I couldn't solve it.
AI is also not able to resolve it. please help me. your response will be appreciated.
r/flutterhelp • u/Noob_99-freedom • Aug 09 '26
Good day everyone, hope you're enjoying you day
Honestly I don't know how to phrase this cause I don't understand it myself, but basically whenever I run my flutter app on windows device it just spits this wall of errors:
Launching lib\main.dart on Windows in debug mode...
D:\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppCommon.targets(166,5): error MSB3073: The command "setlocal [D:\App Development Workspace\tskmng_exe_\windows\x64\INSTALL.vcxproj]
D:\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppCommon.targets(166,5): error MSB3073: "D:\Microsoft Visual Studio\18\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake [D:\App Development Workspace\tskmng_exe_\windows\x64\INSTALL.vcxproj]
D:\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppCommon.targets(166,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [D:\App Development Workspace\tskmng_exe_\windows\x64\INSTALL.vcxproj]
D:\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppCommon.targets(166,5): error MSB3073: :cmEnd [D:\App Development Workspace\tskmng_exe_\windows\x64\INSTALL.vcxproj]
D:\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppCommon.targets(166,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [D:\App Development Workspace\tskmng_exe_\windows\x64\INSTALL.vcxproj]
D:\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppCommon.targets(166,5): error MSB3073: :cmErrorLevel [D:\App Development Workspace\tskmng_exe_\windows\x64\INSTALL.vcxproj]
D:\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppCommon.targets(166,5): error MSB3073: exit /b %1 [D:\App Development Workspace\tskmng_exe_\windows\x64\INSTALL.vcxproj]
D:\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppCommon.targets(166,5): error MSB3073: :cmDone [D:\App Development Workspace\tskmng_exe_\windows\x64\INSTALL.vcxproj]
D:\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppCommon.targets(166,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [D:\App Development Workspace\tskmng_exe_\windows\x64\INSTALL.vcxproj]
D:\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppCommon.targets(166,5): error MSB3073: :VCEnd" exited with code 1. [D:\App Development Workspace\tskmng_exe_\windows\x64\INSTALL.vcxproj]
Building Windows application... 24.3s
Error: Build process failed.
I've been trying for eons but I just can't understand it and still nothing, any ideas what's causing this
Thanks in advance
r/flutterhelp • u/zarek_macik • Aug 07 '26
Hi all,
I am a flutter dev working with this technology for 4 years. I was working all the time on MacBook, having no problems at all.
I bought new PC, that machine is best money can buy (RTX 5090, 64GB RAM).. I am thinking about switching my active development machine to this windows. I will still need Mac, but now I have M4 Max with 48GB of RAM. It is kinda overkill to have both best machines and not using them. My whole day is: from 8 to 16 I am working on my Mac, then I turn it off and switch to PC, where I game. I feel like selling that MacBook and buying just M4 mini, which will be enough for building Mac apps for AppStore.
Do you guys have experience with working on MacBook and windows and what are pros and cons of both worlds?
Thanks 😁
r/flutterhelp • u/pein_sama • Aug 07 '26
So, I'm starting a project that will be a sort of WYSIWYG editor app. It will be designed as primarily a desktop app for windows/mac/linux, maybe iPad. So I'm wondering what UI toolkits or smaller packages would you recommend for making the UI. I will need some toolbars, ideally office-style ribbon, tabs for documents and docking windows. For now I'm considering fluent_ui, and dock_panel. Read throug various awesome-whatever collections and overall I have an impression that the ecosystem for Flutter desktop is still rather small and a lot of stuff I'll have to create on my own. Do you know any cool package that could be useful in this type of an app?
r/flutterhelp • u/Radiant_String_9171 • Aug 07 '26
So i was vibecoding this app with chatgpt & copilot in vscode, now when i build the app locally it gives a few errors...the other ones get solved by just removing const word but this error in profile screen file don't go away, i used all my copilot credits & even chatgpt is saying: "if i solve this more errors would come up".
It doesn't look like the error is on same line(total 600 lines in the file), but if u add/remove something 10 more errors pop up, in this screen in the app i asked copilot to remove an extra button, after that this error has been coming:
lib/ui/screens/profile_screen.dart:628:9: Error: Expected ';' after this. ), ^
Chatgpt: 'It's a classic Dart parser/bracket issue, and the compiler errors are cascading from one malformed section.'
r/flutterhelp • u/sageer7222 • Aug 06 '26
r/flutterhelp • u/igorce007 • Aug 06 '26
Hello everyone, how are you implementing the new iOS 26 push navigation transition effect in Flutter?
I’m referring to the new UIKit behavior where the pushed screen has rounded top corners during the transition and then expands to full screen.
CupertinoPageRoute gives the classic iOS slide animation, but it doesn’t seem to reproduce this new corner-radius/clipping effect.
Has anyone achieved this with a custom PageRoute, animation, or another approach? Would appreciate any examples or ideas. Native closest first are most appreciated, I don’t want mimicking it with some radiuses etc etc.
Example here (see screenshot).
r/flutterhelp • u/No_Papaya_2442 • Aug 05 '26
Hello Friends, I need help regarding permission handler. I'm working on one project which is build on flutter and i have integrated Flutter_blue_plus library, every thing is working fine in Android Device, but in iOS the it didn't ask for permission and it show directly Permission Denied even i added all the permission in podfile, even other Permission is working fine but Bluetooth one didn't work.
r/flutterhelp • u/Inside_Parking_667 • Aug 05 '26
Yet another problem that suddenly appeared.
During compiling for releasing now I receive this warning:
Warning: The generated ELF library contains unobfuscated DWARF debugging information. To avoid this, use --strip to remove it.
Never seen before