Skip to content
Victor Ng edited this page May 29, 2015 · 1 revision

Using the Firefox Accounts for Android library.

This library is available on JCenter now.

Assuming you're using gradle, all you need to do is include a the fxa dependency into your build.gradle file and you're good to go.

dependencies {
    compile 'org.mozilla.accounts.fxa:fxa:0.9.0'
}

The code in this project is structured as a full Android application and all the Firefox accoutns library source code is available under the libraries/fxa subdirectory.

Under android/build.gradle, you will find a fully working build.gradle configuration for a working Android application with directives to build either from the library source, or to use the JCenter hosted precompiled AAR file.

For all release tags in github, we will set the build.gradle file to use official JCenter releases.

Clone this wiki locally