Using Digits from source in production applications is not officially supported by Fabric. Please utilize the available binaries.
Define via Gradle:
buildscript {
repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'io.fabric'
repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
compile('com.digits.sdk.android:1.5.0@aar') {
transitive = true
}
}
Check out more details and other build tool integrations
- Sign up for a Fabric account and follow onboarding instructions to get your Fabric API Key and build secret, found under the organization settings of the Fabric web dashboard.
- Get your Digits API key from the IDE plugin.
- Rename samples/app/fabric.properties.sample to samples/app/fabric.properties and populate information.
- Run Sample app to verify build.
- For extensive documentation, please see the official documentation.
This, and all github.com/twitter projects, are under the Twitter Open Source Code of Conduct. Additionally, see the Typelevel Code of Conduct for specific examples of harassing behavior that are not tolerated.
Please use the provided gradle wrapper to build the project.
./gradlew assemble
Run all automated tests on device to verify.
./gradlew connectedCheck
To run the sample app
./gradlew :samples:app:installDebug
Contributing
The master branch of this repository contains the latest stable release of Digits. See CONTRIBUTING.md for more details about how to contribute.
For usage questions post on Digits Community or email [email protected]
Please report any bugs as issues.
Follow @Digits on Twitter for updates.
Thanks for assistance and contributions:
Copyright 2015 Twitter, Inc.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0