# Integrating Firebase Cloud Firestore with Kotlin Coroutines and Flow in Android

DevFeed: [Integrating Firebase Cloud Firestore with Kotlin Coroutines and Flow in Android](<https://devfeed.tech/articles/firebase-ing-with-kotlin-coroutines-flow-25722.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/firebase-ing-with-kotlin-coroutines-flow-dab1bc364816/>)

Author: Shreyas Patil

Published: 2020-04-30T07:35:30Z

Content type: tutorial

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Firebase](<https://devfeed.tech/topics/firebase.md>), [Firestore](<https://devfeed.tech/topics/firestore.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/topics/kotlin-coroutines.md>), [kotlin-flow](<https://devfeed.tech/topics/kotlin-flow.md>), [Android](<https://devfeed.tech/topics/android.md>), [reactive](<https://devfeed.tech/topics/reactive.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [firestore](<https://devfeed.tech/tags/firestore.md>), [flow](<https://devfeed.tech/tags/flow.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [others](<https://devfeed.tech/tags/others.md>), [reactive](<https://devfeed.tech/tags/reactive.md>)

## AI overview

This tutorial demonstrates how to use Kotlin Coroutines and Flow with Firebase Cloud Firestore in Android. It explains Flow as a cold reactive stream and shows a repository-based approach for exposing loading, success, and failure states while retrieving posts.

## Source excerpt

Learn how to integrate Firebase with Kotlin Coroutines and Flow for reactive data streams in your Android applications.