https://kotlinlang.org logo
#compose-ios
Title
# compose-ios
t

tz311

10/26/2023, 2:21 PM
Hi I'm using this library for Firebase: https://github.com/GitLiveApp/firebase-kotlin-sdk/ Does anyone know if I can get this code to work on this library, I'm trying to port my current xml android app to a compose multiplatform app. What I tried :
Copy code
suspend fun getMyJoinedClasses():List<classModel>{
     try {
        val response = mFireStore.collection("classes").where("learners", mAuth.currentUser!!.email)
            .get()
        return response.documents.map {
            it.data()

        }
Copy code
fun getMyJoinedClasses(context: Context,usersModel: usersModel){
        mFireStore.collection("classes")
           .whereArrayContains("learners",usersModel.email)
            .get()
            .addOnSuccessListener {
verified 2
l

Louis

10/26/2023, 3:18 PM
afaik auth (email password) + firestore + cloud storage works well, I did not try yet the other features
t

tz311

10/26/2023, 3:19 PM
it says it has 60% coverage in firestore. 😞 should i send a picture of my database? maybe someone can help me with it
3 Views