83,055 questions with no upvoted or accepted answers
17
votes
3
answers
30k
views
Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found. Flutter Firebase
I just installed flutter with firebase but when adding to database I get the following error
İnstalled Google Play Services
Add in AndroidManifest(main)
-Add in AndroidManifest(user)
Local module ...
16
votes
3
answers
1k
views
How to resolve weird and incomplete Uri & Path received while directly sharing image from android gallery to my flutter app
I have written a functionality in Kotlin for the flutter app to share media files directly from the android phone gallery to the app.
Working fine for many devices I have tested like Realme 3 Pro, ...
15
votes
0
answers
6k
views
Flutter 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.4.99
In the last 3 years. Ive probably spent 2 weeks on this issue, it comes up often if you are cloning and working on other peoples projects but doesn't usually occur on your own.
There are a tonne of ...
15
votes
1
answer
6k
views
Multiple targets and multiple build configurations in flutter
We are planning to move our codebase to flutter, but we have some specific requirements and trying to validate them before moving all our codebase to flutter.
With same codebase we are producing ...
15
votes
7
answers
6k
views
How to prevent NestedScrollView from scrolling if body is small?
How do I prevent a NestedScrollView from scrolling the headerSliverBuilder when the body is small?
In the following example, I want to prevent the SliverAppBar from being scrollable if the body does ...
14
votes
1
answer
1k
views
How to fix Google Play Console warnings about missing content labels
I have a Flutter app targeting Android. I have wrapped most widgets with Semantics widget to provide info to screen readers (only excluding Text widgets).
Semantics(
button: true,
...
14
votes
0
answers
1k
views
Does Webpack plugin for MicroFrontends support flutter web app be used as MicroFrontend inside angular app?
I have angular application which works independently. Also there is a flutter web build for a certain feature which runs independently. I would like to use the flutter web build as a micro frontend ...
14
votes
1
answer
2k
views
Flutter Google Play Console Resource Name for Tests
I developed an app in Flutter and I'm posting to Google Play, though, I would like to know how / where I can set the widget name information so that I can enter as login credentials on the Play ...
14
votes
3
answers
12k
views
Firebase Messaging unregister notification for read_timeout failed
I was trying to send a notification from one device to another device to let the user know there is a waiting message for him.
When I was trying to catch and handle the RemoteMessage this is what ...
13
votes
0
answers
3k
views
Google Play app rejected due to: Prominent disclosure Non compliant design for policy: Accessibility API
Our application is getting rejected from the play store for policy violation regarding
Prominent disclosure Non compliant design
for policy: Accessibility API
Initially we were using 3rd party ...
13
votes
3
answers
3k
views
How to open native emoji keyboard in Flutter
IOS and Android have their own emoji keyboards which can be accessed through their keyboards. How can I directly open it when the user tapped the button?
13
votes
1
answer
3k
views
How to handle Google play Redeem Promo code in Flutter?
I'm developing a free Flutter app (Android and iOS), that offers premium content (in-app subscription) using official Flutter in-app-purchase plugin - latest version 2.0.1.
We'd like to use Google ...
13
votes
8
answers
5k
views
MissingPluginException(No implementation found for method file on channel video_thumbnail)
I am using video_thumbnail 0.2.4 package to get thumbnail form video url. If I uploaded video from android device then its working perfect but If I used iPhone device, Always get the error
...
12
votes
0
answers
14k
views
W/Gralloc3(12347): mapper 3.x is not supported ----how can i solve this?
my flutter app currently running on my phone over usb .. but when I run my app it shows W/Gralloc3(12347): mapper 3.x is not supported how can I solve this problem ?
11
votes
1
answer
5k
views
android uses centred app icon in launch screen instead of the image in launch_background
EDIT:
Solution:
https://stackoverflow.com/a/71396586/18197688
If I change the app icon (ic_launcher.png) then it will be shown at splash screen, but also the app icon changes.
It feels as if there ...
11
votes
1
answer
529
views
How to determine cacheSize of Images before launch?
The Flutter DevTools displayed the message:
Consider resizing the asset ahead of time, supplying a cacheWidth
parameter of 35, a cacheHeight parameter of 35, or using a
ResizeImage.
Because my image ...
11
votes
1
answer
2k
views
Flutter Plugin containing static library (.a File) is not linked correctly
I have a Flutter Plugin, which for iOS uses a static library (.a file). If I add the plugin to my pubspec.yaml and install it via flutter pub get, it installs a pod, which I can see in my app`s XCode ...
11
votes
1
answer
1k
views
StreamBuilder Controls and Firestore Pricing
I have a two-part question. After reading through Firestore pricing, it says that you are charged based on the number of documents you read and write and the operations you perform such as deleting ...
11
votes
2
answers
2k
views
How to avoid automatic scrolling in ListView.builder
I'm building a chat application and I've reached the part where I'm creating the actual chat interface. I decided to use the ListView.builder() constructor, as I'm working with potentially a great ...
11
votes
1
answer
4k
views
Flutter WebView window.close() not working (Android)
I cannot close the opened web page using webview flutter with window.close() functionality.
I am using webview_flutter in my application. The website that I've been using has a window.open() function ...
11
votes
4
answers
5k
views
How to use an ellipsis overflow with multiline Text in Flutter
When I configure a Text widget with a maximum of 1 line and an overflow set to ellipsis, the widget shows correctly.
Text(
"Last summer, I was working on a prototype for an AR app that ...
10
votes
0
answers
1k
views
Integrate the Play Integrity API in Google play console
I am new to making apps live in Play console, I have an app that uses firebase phone auth. to remove recaptcha i need to enable app integrity API in cloud console that i did already then in play ...
10
votes
0
answers
4k
views
How to integrate microsoft claity analytics tool in flutter apps?
I want to integrate Microsoft clarity with the Flutter application. There is no proper documentation/information available over the Internet. Microsoft says it can be integrated with native android, ...
10
votes
2
answers
3k
views
Flutter in_app_purchase couse uknown SKError on iOS
I'm struggling with in app payments on iOS. When I try to launch app, I'm restoring past purchases, sometimes I'm getting SKError with code 0 (unknown error).
I am not able to get available products, ...
10
votes
0
answers
506
views
Does Flutter have a way around Android's size limit on Emojis?
Android still seems to scale emojis in a Bizzar way.
I've seen that this is an issue in other Android development platoforms, up to Android 11, and it still seems to exist now in Android 12.
Android ...
10
votes
1
answer
4k
views
Could not load source 'dart:core-patch/errors_patch.dart': <source not available>
When you run testWidgets in flutter_test.dart
errors_patch.dart is automatically opened and
Could not load source 'dart:core-patch/errors_patch.dart': <source not available>.
and the test fails ...
10
votes
1
answer
2k
views
Convert speech to text in flutter for desktop(Windows) application
I am developing a cross platform application in flutter and cannot find any sources for converting speech to text in desktop(windows).
I tried using packages like speech_to_text
I even tried ...
10
votes
3
answers
7k
views
An unexpected packet was received before the handshake. - Android Studio
When I run the Flutter project on Android Studio, before running the application on the emulator, the event log displays "An unexpected packet was received before the handshake" for six to ...
10
votes
0
answers
1k
views
How to keep Flutter app running between integration tests
Follow the example of integration test
Problem: after each test is done, the app is destroyed, need to call app.main() on every test which is quite time-consuming.
Expected: only run app.main() once ...
10
votes
1
answer
2k
views
Internal testing in Google Play publishes the old version of app
I'm trying to create interval test for my flutter app.
But Google Console is not publishes the new version of the app for testers.
I'm NOT publishing the app for the first time.
I have a previous ...
10
votes
1
answer
644
views
How to avoid nested fold in when calling multiple Future with DartZ?
I have a piece of code that look like this:
final Either<Failure, Unit> resA = await deleteA();
resA.fold(
(failure) => handleFailure(),
(success) async {
final Either<Failure, ...
10
votes
1
answer
2k
views
Flutter plugin: Send data from Android BroadcastReceiver to Flutter code
I'm developing a Flutter plugin (for Android only) that automatically executes a Flutter task when the device connects to a specific bluetooth device.
Here is what I do in the Android side of the ...
10
votes
1
answer
1k
views
Unable to attain an output after running main.dart I/flutter (15748): Observatory listening on ************************************
I usually run my apps on my physical device. But 2 days ago I updated it to Android 11(Vivo Z1 Pro)and after the update, I couldn't do it. It is just gets stuck on
I/flutter (15748): Observatory ...
10
votes
1
answer
862
views
How to debug a Flutter app's crash from the provided stack trace in Google Play Console?
I have published a Flutter app on Play Store that reports crashes from time to time. To build it for release, I used obfuscation as described here with the command:
flutter build apk --obfuscate --...
10
votes
2
answers
2k
views
HiTouch_PressGestureDetector error, limitied touch pointer
I'm working on flutter project. I'm using singleChildScrollView and listView for scrolling.
But when I want to scroll in any screen in app I face to this error:
W/HiTouch_PressGestureDetector(20161):...
10
votes
2
answers
3k
views
SocketException in Flutter
I have these exceptions on different phones, some correct way to handle them.
IOS:
SocketException: OS Error: Bad file descriptor, errno = 9, address = api.larvia.ai, port = 50655
SocketException: OS ...
10
votes
1
answer
2k
views
Is there a plugin or a way to show ads in Flutter Website?
I want to show banner, rewarded and interstitial Ads on my website which is built with Flutter Web. It is easy to show Ads for Flutter Android (I have used admob_flutter plugin for that) but I could ...
10
votes
2
answers
8k
views
Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: flutter/textinput. Response ID: 0
I am trying to create a user in Firebase using Flutter, but when tried to send email and password the app crashes.
and this is the code snippet:
void validateAndSubmit() async {
if (...
10
votes
2
answers
3k
views
Is it possible to send a message from android background service to the flutter side via platform channels while the flutter app is close
I am new to flutter and i was wondering if it was possible to send data from my background service running in the native android part of the app to the flutter app, but while the flutter app is closed....
10
votes
1
answer
2k
views
Flutter - How to Send location updates to back-end in real-time, periodically, running in background. (on both android and IOS)
I want to send the user's location updates, periodically, to our back-end service, in real-time, in the background ( even if the App is not running / terminated ).
Currently we are sending location ...
10
votes
1
answer
2k
views
How to set up In App Purchases for Non consumable
I've set up AdMob ads on my app and want to set up In-App Purchases so that people can pay to disable the ads if they want to. I looked around for some guides on how to do it but they are all for ...
10
votes
2
answers
2k
views
Prevent a NestedScrollView from scrolling
I have a widget that is a NestedScrollView and some text in the body. There are cases where I want to "lock" the user and not allow him to scroll. I have tried using the physics property and set it to ...
10
votes
2
answers
13k
views
Impeller Rendering Engine Causing Massive Latency and Memory Consumption
I'm working on a Flutter project (sdk: '>=3.0.1 <4.0.0') for iOS (platform :ios, '13.0') and right after upgrading Flutter this morning I noticed that the iPhone simulator (Xcode 14.3) was using ...