Skip to content
Permalink
Browse files

Issue #542: Fretboard: Remove deleted RegionProvider from README

Closes #542: Fretboard: Remove deleted RegionProvider from README
  • Loading branch information...
fercarcedo authored and pocmo committed Aug 2, 2018
1 parent e4d9463 commit 6e856a4ddde730058326f2eb4c2441f3c0e8cda9
Showing with 3 additions and 2 deletions.
  1. +3 −2 components/service/fretboard/README.md
@@ -9,7 +9,7 @@ An Android framework for segmenting users in order to run A/B tests and rollout
Use gradle to download the library from JCenter:

```Groovy
implementation "org.mozilla.components:fretboard:{latest-version}
implementation "org.mozilla.components:fretboard:{latest-version}"
```

### Creating Fretboard instance
@@ -153,9 +153,10 @@ Fretboard allows you to specify the following filters:
- device (regex): Android device name
- manufacturer (regex): Android device manufacturer
- region: custom region, different from the one from the default locale (like a GeoIP, or something similar).
For this to work you must provide a RegionProvider implementation when creating the `Fretboard` instance.
- release channel: release channel of the app (alpha, beta, etc)

For region and release channel to work you must provide a `ValuesProvider` implementation when creating the `Fretboard` instance, as detailed below

### Specifying custom values for filters
Additionally, Fretboard allows you to specify a custom `ValuesProvider` object in order to return a custom region,
different from the one of the current locale (perhaps doing a GeoIP or something like that), or the app

0 comments on commit 6e856a4

Please sign in to comment.
You can’t perform that action at this time.