• Stars
    star
    280
  • Rank 142,645 (Top 3 %)
  • Language
    Kotlin
  • License
    Apache License 2.0
  • Created almost 5 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Powerful architecture to mange feature flags locally and remotely

FeatureFlagExample

One of the key ingredients to speed up modern software development is using feature flags. However, they can still be quite a drag to integrate into your app as existing feature flag frameworks mostly focus on the remote toggling aspect of feature flags.

This repository shows a clear, very easy to use architecture to manage feature flags. The benefits are:

  • Super easy to add feature flags: just a single LOC
  • Support for local and remote feature flags
  • Support for both feature flags (temporary for development) and test settings (indefintely to facilitate testing)
  • Automatically generated UI to toggle feature flags in debug builds
  • Able to use in unit/instrumentation testing
  • Support any remote feature flag tool

Read more about it in this blogpost: https://jeroenmols.com/blog/2019/09/12/featureflagsarchitecture/

Architecture

Feature flag architecture

Test settings

In app activity to toggle feature flags and test settings locally on or off. This dramatically helps with testing.

Feature flag test settings

More Repositories

1

LandscapeVideoCamera

Powerful custom Android Camera with granular control over the video quality and filesize, restricting recordings to landscape only.
Java
1,227
star
2

ModularizationExample

Easy to understand real-life example of a modularized Android app
Kotlin
734
star
3

MockitoExample

Sample project to demonstrate Mockito usage on Android
Java
86
star
4

ArtifactoryExample

Example code to upload and use artefacts from Artifactory
Java
69
star
5

AndroidUninstall

Batch uninstall Android apps by provinding (part of) a package name
Shell
57
star
6

MockitoCollectionMatchers

Extension of Mockito that provides easy to use matchers for Collections
Java
48
star
7

Legofy

Android library to Legofy any image
Java
47
star
8

MethodCountExample

Sample project to shrink huge libraries and reduce their method count.
Java
33
star
9

GitAsMaven

Gradle script to use Git as a private Maven repository
28
star
10

WagonGitExample

Example code to upload and use artefacts from Bitbucket
Java
17
star
11

ResourceNamingExample

Non working sample project to demonstrate how to name resources
Java
9
star
12

MigrateArtifactsMavenCentral

Script to migrate existing artifacts from JCenter to Maven Central
Shell
8
star
13

jeroenmols.github.io

Personal blog and website
JavaScript
8
star
14

TravisCoverallsExample

Example code to configure Travis CI and Coveralls
Java
6
star
15

FragmentBackNavigation

Sample project to demonstrate a peculiarity with Fragment back navigation
Kotlin
6
star
16

architecturediagrams

Interactive, versionable architecture diagrms
2
star
17

StrandHoggAttackRecents

Demonstration of a StrandHogg attack via the task switcher
Kotlin
2
star
18

Snap

Sample project to experiment with a full Kotlin reactive app
Kotlin
2
star
19

ReactTicTacToe

My solution to https://reactjs.org/tutorial/tutorial.html#setup-for-the-tutorial
JavaScript
1
star
20

LibraryExample

Demonstrate how to consume release artifacts in project
Kotlin
1
star