Skip to content

erikeelde/toggles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toggles - feature switching

Development tool to store app settings / feature toggles in an external application making in persist across clean data / reinstallations.

Toggles app

Toggles can be downloaded on play store. and it's sources are on github

Stores settings / toggles behind a content provider.

This is a development tools meant to facilitate feature switching in an external app so that configurations will be retained across clear data / uninstalls.

2 premade libraries to talk to the toggles application. "Prefs" and "Flow" - Backed by a common core library:

Toggles-flow library

Flow

Exposes switches from toggles using a kotlin flow.

    implementation("se.eelde.toggles:toggles-flow:0.0.1")

Toggles-prefs library

Prefs

One-shot fetch of a toggle. Similar API as androids SharedPreferences.

    implementation("se.eelde.toggles:toggles-prefs:0.0.1")

Toggles-core library

Core

Base library exposing common bit to help communicating with the toggles application via the provider. Generally shouldn't be needed unless implementing your own library.

    implementation("se.eelde.toggles:toggles-core:0.0.2")

Previously known as wrench

The idea dates way back to and was inspired by the now removed Dash Clock Widget as well as the still maintained muzei.

Wrench can be downloaded on play store. and it's sources are on github I made wrench while employed at izettle and to be able to continue to provide updates I unfortunately needed to rerelease the application.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published