Toggles Prefs

Toggles

License

License

GroupId

GroupId

se.eelde.toggles
ArtifactId

ArtifactId

toggles-prefs
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

aar
Description

Description

Toggles Prefs
Toggles
Project URL

Project URL

https://github.com/erikeelde/toggles
Source Code Management

Source Code Management

https://github.com/erikeelde/toggles

Download toggles-prefs

How to add to project

<!-- https://jarcasting.com/artifacts/se.eelde.toggles/toggles-prefs/ -->
<dependency>
    <groupId>se.eelde.toggles</groupId>
    <artifactId>toggles-prefs</artifactId>
    <version>0.0.1</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/se.eelde.toggles/toggles-prefs/
implementation 'se.eelde.toggles:toggles-prefs:0.0.1'
// https://jarcasting.com/artifacts/se.eelde.toggles/toggles-prefs/
implementation ("se.eelde.toggles:toggles-prefs:0.0.1")
'se.eelde.toggles:toggles-prefs:aar:0.0.1'
<dependency org="se.eelde.toggles" name="toggles-prefs" rev="0.0.1">
  <artifact name="toggles-prefs" type="aar" />
</dependency>
@Grapes(
@Grab(group='se.eelde.toggles', module='toggles-prefs', version='0.0.1')
)
libraryDependencies += "se.eelde.toggles" % "toggles-prefs" % "0.0.1"
[se.eelde.toggles/toggles-prefs "0.0.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib jar 1.4.32

runtime (2)

Group / Artifact Type Version
se.eelde.toggles : toggles-core jar 0.0.2
androidx.annotation » annotation jar 1.2.0

Project Modules

There are no modules declared in this project.

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

Exposes switches from toggles using a kotlin flow.

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

Toggles-prefs library

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

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

Toggles-core library

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.

Versions

Version
0.0.1