8000 GitHub - crankycoder/fxa-android at 0.9.4
[go: up one dir, main page]

Skip to content

crankycoder/fxa-android

Repository files navigation

Firefox Accounts for Android

Build Status

Building a debug version from command line

The build system is smart enough to automatically download and install all the parts of the Android SDK for you. If you cannot build, you can either try to fix your Android dev enviroment to fit the android/build.gradle requirements - or you can simply remove ANDROID_HOME, and all traces of your Android SDK from your PATH.

./gradlew clean build

This code is originally based off of

https://github.com/wareninja/generic-oauth2-login-for-android/

but has been substantially modified for use with Firefox Accounts.

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.1'
}

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.

About

Firefox Accounts for Android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0