Relative Content

Tag Archive for androidflutter

Ctrl + . shortcut not working in Google IDX for Flutter project

I’m working on a Flutter project using Google’s IDX, which runs in Google Chrome. While most shortcuts are functioning as expected, the Ctrl + . (used for quick fixes and suggestions) doesn’t seem to work. The same shortcut works fine in VS Code desktop. Every time I have to manually use the mouse and click the yellow bulb to access suggestions, which slows down my workflow. Has anyone encountered this issue or know of any potential fixes?

Android 14 Shared Preferences data not clear when uninstall

I store my users’ login information in shared preferences,
But if the user deletes the app and reinstalls, the same information is still stored and user is logged in with the previously stored info,
It seems like the shared preferences doesn’t get cleared if the app gets deleted.

I’m new to flutter ,I try to write some data into a collection created in Firebase and I have these warnings, any suggestions to achieve it

ConnectivityManager(17405): StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4402)] [android.net.ConnectivityManager.registerDefaultNetworkCallbackForUid(ConnectivityManager.java:4966)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4933)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4907)] [io.grpc.android.AndroidChannelBuilder$AndroidChannel.configureNetworkMonitoring(AndroidChannelBuilder.java:217)] [io.grpc.android.AndroidChannelBuilder$AndroidChannel.(AndroidChannelBuilder.java:198)] [io.grpc.android.AndroidChannelBuilder.build(AndroidChannelBuilder.java:169)] [com.google.firebase.firestore.remote.GrpcCallProvider.initChannel(GrpcCallProvider.java:116)] [com.google.firebase.firestore.remote.GrpcCallProvider.lambda$initChannelTask$6$com-google-firebase-firestore-remote-GrpcCallProvider(GrpcCallProvider.java:242)] [com.google.firebase.firestore.remote.GrpcCallProvider$$ExternalSyntheticLambda1.call(Unknown Source:2)] [com.google.android.gms.tasks.zzz.run(com.google.android.gms:play-services-tasks@@18.1.0:1)] [com.google.firebase.firestore.util.ThrottledForwardingExecutor.lambda$execute$0$com-google-firebase-firestore-util-ThrottledForwardingExecutor(ThrottledForwardingExecutor.java:54)] [com.google.firebase.firestore.util.ThrottledForwardingExecutor$$ExternalSyntheticLambda0.run(Unknown Source:4)] [java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)] [java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)] [java.lang.Thread.run(Thread.java:1012)]

Native android service is not called in Flutter app

I have created a native android service using Kotlin that should be able to be called from another app, the save code is working with a native android app, but with Flutter for android the service is not even been called.
Anyone know what is the issue here? is there others steps for Flutter than
(1) creating service class -> (2) adding service to AndroidManifest)