Skip to content

canerkaseler/jetpack-compose-firebase-remote-config

Repository files navigation

Android Feature Flag Implementation with Firebase Remote Config + Kotlin Flow + Jetpack Compose

This repository has a Medium Article to show how we can implement firebase remote config for feature flag implementation in Android project.

Screenshot 2024-08-19 at 22 56 22

If you would like to support my work, coffee is my best friend for writing code and articles: https://buymeacoffee.com/canerkaseler ☕️

You can reach me on social media and other platforms, stay tuned: https://linktr.ee/canerkaseler 🤝

Introduction of the article

This article goals to show combination of below features together:

  • Firebase Remote Config for feature flags
  • Kotlin Flow to observe Firebase Remote Config
  • Jetpack Compose for screen components

Table of contents:

  1. Quick look Firebase Remote Config file
  2. Example Android project structure and its Gradle files
  3. Observe Firebase Remote Config file with Kotlin Flow
  4. Collect Firebase Remote Config in ViewModel and update compose screen

Example images of the results

There is an example of Firebase Remote Config updating and Android application behaviour.

Example

More details

If you would like to continue reading and learn some details about above parts, please check out the Medium Article. I hope, this repository and its Medium article will be useful and beneficial for your project! 🙌