Skip to main content

All Questions

0 votes
0 answers
46 views

How to show bottomsheet inside a composable after receiving FireBase Notification

the code I shared that is fine , am able to get the notification data on logcat, but I want to show notification data in one of my composble screen. I did not get How I can pass notification data from ...
Gurjeet Singh's user avatar
0 votes
1 answer
58 views

How can I verify whether the email exists using Firebase?

I have implemented the firebase authentication using google and using email and password but the issue is the user can just type in the email that just does not exist. So how can i make sure that the ...
Abhay Sharma's user avatar
1 vote
1 answer
34 views

How can I initiate a Jetpack Compose AlertDialog from within a onClick (from onClickListener) or onComplete (from onCompleteListener) function

I am working to convert an existing Kotlin application to Kotlin MultiPlatform and Jetpack Compose. As part of a login activity, I sign in the user and direct logic from there. Part of the sign-in ...
GeorgeRussell's user avatar
2 votes
1 answer
52 views

Login Screen Appears For a Moment Before Redirecting to Main Screen in Android App

I'm currently developing an Android app using Jetpack Compose. My app has a login screen that uses Firebase Authentication (Google Sign-In). When the user is already logged in, I want the app to ...
Vbcc Vbccc's user avatar
1 vote
0 answers
72 views

How to stop the requests from being performed in Jetpack Compose?

I created an app for daily workouts with Jetpack Compose. What I need is to display and manage the daily workouts: Years( response = { years -> Log.d(TAG, years.toString()) ...
Always Learner's user avatar
1 vote
0 answers
62 views

Firebase Phone Authentication: onCodeSent() Called But OTP Not Received on Android

I'm implementing phone number authentication in my Android app using Firebase. I'm able to initiate the verification process, and the onCodeSent() callback is triggered in my UserRepositoryImpl class, ...
Aashish Ace's user avatar
0 votes
0 answers
50 views

Kotlin Compose Google SignIn with Firebase returns null

I'm trying to create a button in my kotlin compose app that lets users to sign in with a google account. To do so I've realizaed the code below that sends a request to firebase but instead of ...
WiseAppDev's user avatar
0 votes
0 answers
37 views

Why is my UI not being updated even when the state of my List changes? [duplicate]

So I have the following Screen in my app - fun TodoListPage(viewModel: TodoViewModel, modifier: Modifier = Modifier, navHost: NavHostController, ...
UMANG SHARMA's user avatar
0 votes
0 answers
35 views

Why isn't my data in the viewmodel saving? Jetpack Compose + Firebase

I am trying to do an auth system and I am encountering a problem. My data in the view model is not saving even tho I am using the same viewmodel entity. My signUpResponse and signInResponse doesn't ...
Mihneas22's user avatar
0 votes
1 answer
82 views

Firebase Storage Image Caching using Datastore Preferences in Jetpack Compose

@HiltViewModel class ProfileViewModel @Inject constructor( // code ) : ViewModel() { private val _profilePicUrl = MutableStateFlow("") val profilePicUrl: StateFlow<String?> ...
user avatar
0 votes
0 answers
52 views

java.lang.IllegalArgumentException: CreationExtras must have a value by `SAVED_STATE_REGISTRY_OWNER_KEY` in UI tests when mocking firebase user(FIXED)

When running UI tests with hilt, I encounter the exception above. I removed view model and state listener implementations in order to debug properly but to no avail Class definition class ...
Yauheni Mokich's user avatar
0 votes
1 answer
94 views

How to handle both user does not exist and wrong password cases differently in firebase Jetpack compose [duplicate]

override suspend fun signIn(email: String, password: String): Flow<Response<Boolean>> = callbackFlow { try { auth.signInWithEmailAndPassword(email, password) ...
Tushar Bhatia's user avatar
0 votes
0 answers
41 views

My code is not Dsiplaying my profile screen content to see my profile screen

This is my ViewModel @HiltViewModel class galBaatviewModel @Inject constructor( val auth: FirebaseAuth, var db : FirebaseFirestore, val storage : FirebaseStorage ) : ViewModel() { ...
Tejaswi bhagat's user avatar
0 votes
1 answer
51 views

Picture from Firebase is not updating in compose

When i click picture it updates in firebase storage, but doesn't updates in my ui. But if i click this picture again, it will update in the ui. Code: var user by remember { mutableStateOf( ...
Егор Сауткин's user avatar
3 votes
0 answers
523 views

Implementing a Lazy Vertical Pager with Pagination in Jetpack Compose

We have implemented most of the features and we tried to use both LazyColumn and VerticalPager, our issue start from here: using lazyColumn work and its fetching the data dynamically with the ...
Rebin A. Dev's user avatar

15 30 50 per page
1
2 3 4 5