Category "android"

Native Android Firebase AppCheck App attestation failed

I am running the following code from android to get the AppCheck Token. However, I am getting an error with in. FirebaseAppCheck.getInstance() .

In Flutter 3.0, the Qr Code Scanner is giving an error

I am updating an old project. This qr code scanner is giving an error.The project had previously run on flutter 2.10. There are errors in Flutter 3.0. import 'p

FATAL EXCEPTION: OkHttp Dispatcher

I'm using the OkHttp library in my android app to make web requests to a weather API. I've already implemented my code and I'm getting a FATAL EXCEPTION when do

List folder content on sdcard

I'm trying to display mp3 files in a specific folder on sdcard/myaudio, I found this example: How to list all files and folders locating on sd card I write t

How to setup protobuf in kotlin/android studio?

First time using protobuf, so following googles instructions I placed all my .protos in a protos folder in my android studio project. I know the .proto files ar

Flutter: upgrade the version code for play store

I have published an application on the play store with flutter, now I want to upload a new version of the application. I am trying to change the version code wi

Prevent dismissal of BottomSheetDialogFragment on touch outside

I have implemented a BottomSheet Dialog and I want to prevent the bottomsheet from dismissing when the user touches outside of the bottomsheet when it's peeking

How to open google play protect in android programatically?

I want to open google play protect directly from my app so that user can enable or disable play protect easily. Image just for refrence

How to get position in Horizontal RecyclerView?

I'm a Kotlin's student. I'm doing a tutorial layout using RecyclerView horizontal, but I'm having an issue, already tried to find some answer on stack but didn'

How to perfectly hide the bottom navigation bar

I am developing an apps which needs enter full-screen mode, however, no matter I tried. The bottom navigation bar is hidden but it will pop up for half second w

Codes Work in USA but not in China?

I am using A/Studio 2.2 My code unpacks a bundle of LatLng-parameters from a preceeding activity and displays the corresponding G/Map, works well in USA. Loved

Android Edit Text Focus Gone after input things in expandable list view

I have problem with the edit text. I have edit text inside child view for each group, and I can add the new group dynamically, when I key in the edit text for t

Error when connecting Firebase to Android Studio [duplicate]

I am trying to learn how to create an Android application with Android Studio. My project is currently blank, the only page is MainActivity.ja

Retrofit2 not working when enabling Proguard

I have an application which uses retrofit to fetch logo form an API. When i don't obfuscate and shrink my code, everything works fine. But when i enable it, th

Could not connect to React Native development server on Android

When I run react-native run-android, it gives me the following error: Could not connect to development server Package server is running and I can access

D8: Cannot fit requested classes in a single dex file

I am trying to add the below dependencies: firebase_auth: ^0.14.0+5 google_sign_in: ^4.0.7 cloud_firestore: ^0.12.9+5 fluttertoast: ^3.1.3 image_pick

RuntimeException: API key not found. Check that geo.API_KEY is in the AndroidManifest.xml

I am attempting to compile a simple map display on my my phone, but the app keeps closing. It seems that all my ducks are in a row, but I'm just stumped. This

After upgrading gradle to 4.0.0, retrofit do not receive response anymore

After upgrading from gradle 3.6.3 to 4.0.0, retrofit only able to send request but not able to receive response. From the logging I can only see: I/okhttp.OkHtt

On React-native, on Android, canOpenURL fails & OpenURL throw an error: Could not open URL

On a React-Native mobile app Linking.canOpenURL and Linking.openURL fail if the URL refers to an app screen, while it works when referring to an HTTPS URL. I su

Getting 403 Forbidden error when trying to load image from Firebase Storage

I'm using firebase storage to store and load images for users on my android app. All users must be authenticated before using it. Occasionally, some user profil