From 0db82fd3f8cc449aa87086602141eb246351b12b Mon Sep 17 00:00:00 2001 From: Ferran Pons Date: Thu, 13 Jul 2017 10:16:41 +0200 Subject: [PATCH] New version 3.4.1. It's a Hotfix. Solves issue with location static values --- README.md | 2 +- leku/build.gradle | 4 ++-- .../java/com/schibstedspain/leku/LocationPickerActivity.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 85c66fbd..8838584c 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Include the dependency in your app `build.gradle`: ```groovy dependencies { - compile 'com.schibstedspain.android:leku:3.4.0' + compile 'com.schibstedspain.android:leku:3.4.1' } ``` diff --git a/leku/build.gradle b/leku/build.gradle index 99dc8c74..47eba6c7 100644 --- a/leku/build.gradle +++ b/leku/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'com.novoda.bintray-release' apply from: '../quality.gradle' group = 'com.schibstedspain.android' -version = '3.4.0' +version = '3.4.1' android { compileSdkVersion 25 @@ -69,7 +69,7 @@ publish { userOrg = 'schibstedspain' groupId = 'com.schibstedspain.android' artifactId = 'leku' - publishVersion = '3.4.0' + publishVersion = '3.4.1' desc = 'Location picker component for Android. It returns a latitude,longitude and an address based on the location picked in the LocationPickerActivity provided.' website = 'https://github.com/SchibstedSpain/leku' } diff --git a/leku/src/main/java/com/schibstedspain/leku/LocationPickerActivity.java b/leku/src/main/java/com/schibstedspain/leku/LocationPickerActivity.java index 27fea7a6..b26f4f6c 100644 --- a/leku/src/main/java/com/schibstedspain/leku/LocationPickerActivity.java +++ b/leku/src/main/java/com/schibstedspain/leku/LocationPickerActivity.java @@ -68,8 +68,8 @@ public class LocationPickerActivity extends AppCompatActivity GoogleApiClient.OnConnectionFailedListener, LocationListener, GoogleMap.OnMapLongClickListener, GeocoderViewInterface, GoogleMap.OnMapClickListener { - public static final String LATITUDE = "locationLatitude"; - public static final String LONGITUDE = "locationLongitude"; + public static final String LATITUDE = "latitude"; + public static final String LONGITUDE = "longitude"; public static final String ZIPCODE = "zipcode"; public static final String ADDRESS = "address"; public static final String LOCATION_ADDRESS = "location_address";