Since the original library has not changed at all by 2 years, i decided to convert it into AndroidStudio Project in order to make it easier to include in applications.
To include, get aar file from here and put it into 'libs' folder, then have project's gradle file following lines:
android {
...
repositories {
flatDir {
dirs 'libs'
}
}
...
}
dependencies {
compile(name: 'easyFoursquare4Android_v1.2.1', ext: 'aar')
}
Don't forget to set your clientId & clientSecret & callbackURL as below:
FoursquareConfig.setClient(CLIENT_ID, CLIENT_SECRET);
FoursquareConfig.setCallbackUrl(CALLBACK_URL);
# Because it uses gson, we need to keep models
-keep class br.com.condesales.models.** { *; }
-dontwarn fi.foyt.foursquare.**