Skip to content
Kalyan Dechiraju edited this page Apr 23, 2017 · 3 revisions

Using Gradle

The Android-Smart-Login library is pushed to jcenter, so you need to add the following dependency to your app's build.gradle.

compile 'codelight.studios:android-smart-login:1.2'

As a module

If you can't include it as Gradle dependency, you can also download this GitHub repo and copy the library folder to your project.

Enable Google Services

In order to use Google Login Service, you need to enable google services in your project. This can be done by adding below line in your project level build.gradle file under dependencies section.

classpath 'com.google.gms:google-services:3.0.0'

Project level build.gradle

dependencies {
    classpath 'com.android.tools.build:gradle:2.3.0'
    classpath 'com.google.gms:google-services:3.0.0'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}
Clone this wiki locally