200,804 questions
Best practices
1
vote
0
replies
12
views
Should I create separate cubits for adding/updating/deleting a model? Beginner to bloc
This is the first time I'm using bloc so it's a bit confusing for me.
I have a workout model, and a repository with methods to fetch all workouts, add new, update, or delete a workout. Initially I ...
0
votes
1
answer
22
views
Flutter GetX app freezes on startup due to multiple controllers and heavy initialization work
I am working on a Flutter health management system app that uses GetX with an MVC architecture.
Current setup:
Around 20–25 GetX controllers
All API calls, Hive read/write operations, and business ...
0
votes
0
answers
26
views
"APNS token has not been set yet" only when app is built via pipeline
I'm making a flutter app for a client, and Im currently setting up the push notifications using firebase_messaging: ^16.1.1. I've also set up a Github Actions pipeline.
The problem: if I release to ...
0
votes
0
answers
38
views
Running Flutter app with native C++ code works in debug mode but not in release mode
I have written native C++ code and compiled different libraries for iOS and Android. As long as I was running in debug mode there were no problems. But when I tried to run my app in release mode it ...
0
votes
1
answer
45
views
Flutter Kotlin Version Erro [closed]
I am trying to build a release build for my flutter app. But i keep getting
I have set the kotlin version to 2.3.0 which is the latest. Still I am getting this error. Does anyone know why this is ...
0
votes
0
answers
61
views
FCM Notifications fail to arrive (on device) when internet is slightly disturbed - Flutter
I am facing an issue using FCM in my flutter application while receiving notifications.
The issue is related to receiving notifications on client end, when the internet is slightly disturbed from the ...
Best practices
1
vote
1
replies
72
views
Ask about mobile cross application
I am interested in building a cross-platform mobile application for both Android and iOS.
If I choose Flutter for app development, what core concepts and skills I should focus on? Similarly, if I ...
1
vote
1
answer
61
views
Image_picker and open camera app crashed in Vivo device
final ImagePicker _publicDocPicker = ImagePicker();
RxBool isProductDocFile = false.obs;
Rx<XFile> productDocFile = XFile("").obs;
XFile? productDoc;
Future<bool> ...
0
votes
0
answers
42
views
Error in Flutter foregroundServiceType 0x00000008 [closed]
So I'm getting this error and I'm trying to track if location if on in background.
Has anyone had this issue? I haven't seen some with different foreground service type.
I have created a service it ...
0
votes
0
answers
35
views
Error: An internal error has occurred. [Error code 39] [closed]
I deployed my application on the Google Play console in internal test mode. In my application, I use firebase phone authentication. When I retrieve the application from Google Play and try to register,...
0
votes
0
answers
47
views
Flutter project stopped building after upgrading gradle [closed]
After I upgraded gradle plugin to version 9.3.1,my flutter project stopped building successfully with the following error:
FAILURE: Build failed with an exception.
* Where:
Settings file 'C:\...
0
votes
0
answers
36
views
Flutter app build failing after applying migration from the imperative apply script method to an old app
I need to add a feature to an old app made on Flutter but since the latest updates it seems Flutter made some changes on how gradle scripts are built.
I already did all the changes following the ...
0
votes
1
answer
65
views
How to include a piece of code only for one specific platform in Flutter?
I have a Flutter project where I am building outputs for both web and Android. The code includes classes that are specific to one target (used by web and not Android, and vice versa).
When building ...
0
votes
1
answer
49
views
How to get the text selection of a text field in flutter tests?
I have a TextField in my application, I would like to write some tests about its text selection. I don't have access to this widget as it is deeply nested inside other widget. So I cannot access it's ...
0
votes
0
answers
51
views
MissingPluginException for nfcAvailability only in Android release build (works after restart)
I am getting error in Android release build
MissingPluginException (No implementation found for method
getNFCAvailability)
and NFC starts working again only after restart
Device : Samsung Galaxy A23
...