201,143 questions
0
votes
0
answers
19
views
Unsigned iOS IPA build suddenly falling (worked in June 2025) - any new Xcode or Flutter restrictions?
I'm using GitHub Workflows to generate an iOS .ipa build because I don’t have a MacBook, and this setup helped me produce IPA files remotely before. Back in June 2025, I successfully built and ...
Tooling
0
votes
0
replies
16
views
Flutter 3.32 or higher freezing the app on Android 10”
“Here is my code: any of my apps that I try to run on Android 10 using Flutter 3.32 or higher freezes as shown in the attached image. However, when I run it on Flutter 3.29, it works normally without ...
1
vote
0
answers
47
views
Looking for flutter navigation package that supports current position provider and predefined full route path [closed]
I'm developing a Flutter navigation application and need a package that can handle both:
Current Position Provider : Real-time GPS location tracking (not from the phone's GPS; I need to supply the ...
0
votes
0
answers
33
views
Android Play Billing (legacy, no offers): prevent duplicate subscriptions when the previous plan is paused; how to detect paused state?
I ship an Android app with subscriptions using the legacy (pre-offer) model — not the new base-plan/offer system. The app has two mutually exclusive plans (e.g., “Plan A” and “Plan B”): the user must ...
-4
votes
0
answers
48
views
Please suggest how to set Apple Sign In to Firebase with Flutter [closed]
I am developing mobile application for Android & iOS via Flutter
As I have been fixing for Apple sign in, it still persists this below error.
flutter: [AppleSignIn] Failed at step: AppleSignInStep....
0
votes
0
answers
33
views
How to play audio in flame game with flutter
I am trying to make a game in flutter using flame (flame: ^1.30.1 flame_audio: ^2.11.11). I wanted to add sound effect, but this is where it goes wrong. When playing the game on an android emulator, ...
0
votes
0
answers
30
views
Flutter Gradle KTS: "Unresolved reference: flutterRoot" in settings.gradle.kts when adding local maven repository for pluginManagement
I've been stuck on a Gradle issue for most of the day trying to get Flutter's Deferred Components working and could really use some help.
After a long battle with the old "v1 embedding" ...
Advice
0
votes
0
replies
41
views
AndroidAuto Flutter Integration
I have a Flutter radio app that plays some radio station using just_audio: ^0.10.5 & audio_service: ^0.18.18 packages. How can I implement the AndroidAuto functionality. I already did for CarPlay ...
0
votes
0
answers
52
views
Flutter SharedPreferences & FlutterToast MissingPluginException
I'm facing an issue after building my Flutter app (especially in release mode).
The app crashes or throws the following errors related to SharedPreferences and FlutterToast plugins.
I/flutter (10569): ...
0
votes
0
answers
29
views
Flutter mqtt_client unstable: TCP works initially, WebSocket fails with IP
I’m building a Flutter app that receives MQTT messages from a Mosquitto broker on a Raspberry Pi. I’ve tried both TCP and WebSocket, but neither works reliably.
Setup:
Broker: Mosquitto (Raspberry Pi)...
0
votes
1
answer
50
views
Flutter constantly freezing and waiting for ages
I'm working on a flutter mobile app on android mainly, currently there is a page that is a simple dropdown and button, and 3 text inputs and another button, the dropdown is retrieving a list from my ...
0
votes
0
answers
37
views
How can I capture and inspect outgoing HTTP requests from a Flutter WebView or video player?
I'm developing a Flutter app that loads a web page containing an embedded video player.
When the page loads, the browser internally makes several HTTP requests (for example, .m3u8 or .ts files), but I ...
2
votes
0
answers
48
views
Random Barcode Detections on Timeout When No QR Code Is Present (mobile_scanner)
I’m getting random barcode values when the scanner view closes due to timeout even though no QR code or barcode in front of the camera.
Each time this happens, the detected values are different.
Code :...
-3
votes
1
answer
70
views
What are the exact steps to correctly set up and test in-app purchases (IAP) in Google Play for a Flutter app?
I’m building a Flutter app that uses the in_app_purchase package to implement Google Play in-app purchases.
I’ve already:
Created my app in the Google Play Console
Uploaded a build (.aab)
Defined ...
1
vote
1
answer
81
views
Images inside assets folder not loading after restarting the app
I have a Flutter project and I added some images inside:
assets/images/
I also added the folder in pubspec.yaml:
flutter:
assets:
- assets/images/
The images load correctly the first time when ...
0
votes
1
answer
42
views
Why is $AppRouter red underlined
Setting up a flutter project my app_router.dart file contains
@AutoRouterConfig(replaceInRouteName: 'Screen,Route')
class AppRouter extends $AppRouter {
@override
List<AutoRoute> get ...
0
votes
0
answers
41
views
Why is it that when I exclude an app from recent tasks and open an unopened app, it will be killed by the system without any error messages?
My Android app (both Flutter and native) works fine when set to "exclude from recent tasks." However, as soon as I open another app, it gets killed. This doesn't happen if it's not hidden. I ...
Best practices
0
votes
3
replies
60
views
How to user Riverpod NotifierProvider with Controllers?
I always struggle to hook up Controllers with Riverpod NotifierProvider. For example, TextEditingController, MapController or in this case I need to hook it up with TreeController from the ...
0
votes
0
answers
57
views
GoRouter StatefulShellRoute : initState not called when revisiting tab
I’m using GoRouter with StatefulShellRoute and a custom bottom navigation bar in my Flutter app.
When I navigate between tabs, the initState() of my HomeScreen does not get called again when I return ...
2
votes
1
answer
55
views
Token refresh with dio fails (sometimes)
This is the code of AuthInterceptor which I use for triggering token refreshing. For safety (that I the interceptor of main dio instance won't attach accesstoken to refresh token api) I even use a ...
0
votes
0
answers
23
views
Mapbox gljs map in Flutter issues with any kind of sheet/overlay
I'm using Mapbox in my Flutter app and am having some issues with building out UI the way I want to because of all of the hacks I need to put in place to have bottom sheets and any kind of overlay ...
-1
votes
1
answer
124
views
How to make a CustomClipper like this folder-shaped card? [closed]
I have this design (screenshot below).
It looks like a rounded rectangle with a small tab on the top — like a folder.
I need to create the same shape using CustomClipper so I can clip a container.
How ...
-5
votes
1
answer
66
views
How to fix "Increase the maximum number of file handles available" [duplicate]
In my case, this issue comes from "Windows --> Registry Editor," and I will explain how you can fix
1
vote
1
answer
51
views
Error with signing with Xcode for build ipa release
I've tried building my app with Xcode 16 for ipa release. For further context I tried to build in macos 12 but I couldn't because the SDK 18 isn't supported, so I updated to macos 14 and I had to ...
0
votes
0
answers
29
views
Xcode not showing syntax or compile errors in Development Pod (Flutter plugin)
The plugin is added to my Flutter app using a local development pod like this:
pod 'face_native', :path => '../face_native/ios'
Inside face_native/ios/ I have my .podspec file and several Swift ...
0
votes
2
answers
90
views
Cannot connect to Firestore from Flutter project (Android)
I'm using Flutter in Visual Studio Code and Android Studio with a Pixel 6a emulator with Android 13 to preview the app.
Despite I could connect to other services of Firebase (Authentication, Storage, ...
0
votes
1
answer
44
views
Adding App Tracking Transparency on Flutter makes API calls fails constantly on iOS
After I have added the app tracking transparency permission to my flutter app for iOS, my apps API calls fail constantly with different server errors. If I remove the ATT permission, everything works ...
0
votes
0
answers
54
views
Focus not visible on ExpansionTile when a background color is defined via ExpansionTileThemeData
I need to apply a background color to expansion tiles. How can I do that and still have a visible confirmation when the ExpansionTile is focused. When I use ExpansionTileThemeData to apply a ...
0
votes
1
answer
43
views
Flutter Android keyboard insets Xiaomi HyperOS
On Android only, while the keyboard is opening, my views anchored at the bottom of the screen do not move up in sync with the keyboard. They remain partially under the keyboard during the animation, ...
0
votes
1
answer
51
views
Flutter LiveKit screen sharing issue, app crashes on Android 14 and above
I'm using LiveKit Flutter SDK to implement screen sharing in my Flutter app.
On Android 14 (SDK 34 and above), the app crashes every time I try to enable screen sharing with:
await room!....
1
vote
1
answer
69
views
Flutter push notification image is cropped in Android and iOS notifications [closed]
I am using Firebase Cloud Messaging (FCM) in my Flutter app to send push notifications on both Android and iOS.
I include an image URL in the FCM payload, and the notification shows the image, but it’...
6
votes
1
answer
1k
views
YouTube video shows “Video unavailable (Error 15 / 153)” using youtube_player_iframe
I’m trying to play a YouTube video in my Flutter app using the youtube_player_iframe package.
Here’s a simplified version of my code:
_controller = YoutubePlayerController.fromVideoId(
videoId: '...
Advice
0
votes
1
replies
52
views
How to avoid dual splash screen in Flutter using flutter_native_splash and custom splash screen?
I am new to Flutter. I’m building a Flutter app and currently using:
Native splash via flutter_native_splash
(logo + background color).
Custom Flutter splash screen (SplashPage) with logo, slogan, and ...
2
votes
0
answers
88
views
Flutter app stuck when SharedPreferences.getInstance() called
I updated my Flutter app to compile with Google Plays 16KB page size policy. I have changed several packages versions. Now I am getting an Platform exception error and app is stuck on splash.
The ...
0
votes
0
answers
68
views
Unable to receive data from characteristics.onValueReceived.listen((value) for a ble device
I’m having trouble getting temperature data from a BLE medical device. I’m following the integration documentation closely and have managed to successfully connect to the device and subscribe to its ...
0
votes
0
answers
32
views
Can I upload files to SharePoint via Microsoft Graph API from Android application without Microsoft login page?
I wrote a Flutter application, which confirms deliveries (generates signed delivery notes and allows to take pictures). The final step is to send the note pdf file and images to SharePoint.
Currently ...
2
votes
1
answer
61
views
Why is Flutter ViewModel initialization inconsistent about awaiting futures only when using Provider?
I'm learning about Flutter, and I have questions about implementing an MVVM architecture. I'm uncertain how to handle the initialization logic for the ViewModel, particularly when using Provider for ...
0
votes
0
answers
45
views
Failed to launch Medium Phone API 35: Error: Emulator didn't connect within 60 seconds [closed]
Answer: Android Studio > Device manager > Cold Boot
0
votes
0
answers
71
views
Flutter: Package install error: Failure [INSTALL_FAILED_OLDER_SDK]
my current device sdk is 21. I tried to manually change minSdk from build.gradle to 21. when I run flutter clean, then flutter run it switch back to the default versions. I tried to change it in ...
-1
votes
0
answers
28
views
Struggling with Vertical PageView + Horizontal Carousel Slider in Flutter – Swipe Issues [closed]
I’m building a Flutter app where I have a vertical PageView.builder to scroll through videos and, within each page, a horizontal carousel using the carousel_slider_plus package for images.
The problem:...
-2
votes
1
answer
70
views
How do I manage multiple pages in one tab? [closed]
I'm trying to create a login/signup page using the tab bar, but the number of pages is greater than the tab bar.
So I'm trying to put multiple pages in one tab bar, but it doesn't work.
I want to ...
0
votes
0
answers
39
views
laggy keyboard animation while appearing
Problem is when clicking on textfield the keyboard appears laggily.
it does not appears in instant like it does on whatspp or any other application
no matter how big size of application is , it will ...
-2
votes
0
answers
37
views
How to resize html component fetched from Instagram oEmbed api [closed]
I'm facing issue with Instagram oEmbed api on flutter.
I sucessfully fetched html to embed content on my flutter web using instagram oembed api and was able to display it.
But issue is that I can't ...
1
vote
0
answers
77
views
Library issues with Android Flutter app 16k alignment
I am trying to get my Android Flutter app to be 16kb memory page compatible but am having trouble with a couple included libraries.
Coming from Play Store
Libraries that do not support 16 KB:
base/...
1
vote
0
answers
125
views
Drawn line lags behind camera movement
I am trying to draw a line from a given coordinate to screen center. I'm not sure why the starting point of the line is not kept at the same position relative to the map while moving the camera ...
-3
votes
0
answers
56
views
How to create iOS like left swipe back navigation in Android using Flutter? [closed]
How to implement left side swipe back navigation within Android similar like iOS with with go_router package in Flutter?
I need to implement in both Android and iOS same functionality and I am using ...
-2
votes
0
answers
86
views
Is support simultaneous multi-channel viewing for audience role Flutter? [closed]
I have try to simultaneous multi-channel viewing for audience role in my Flutter app. but not getting success. if one stream play so another stream will not start and getting the “AgoraRtcException(-...
0
votes
1
answer
98
views
LateInitializationError not appearing in debug mode
I build my app with debug mode, then unplug it and use the app. So after some hours when I open the app, this error appears:
LateInitializationError: field "someservice" has already been ...
1
vote
3
answers
95
views
How to add multiple children based on single ternary operator in Flutter Row
How to add multiple children based on single ternary operator in Flutter Row?
Row(
children: [
Widget1(),
n.type != null
? {
Icon(
Icons.access_time,
size: 14,
...
1
vote
0
answers
79
views
What is dartaotruntime and why does it query some endpoint?
I am reading dartaotruntime documentation and it doesn't mention connecting to network at all: https://dart.dev/tools/dartaotruntime
I wonder if someone knows why would the latest flutter's ...