Skip to content

Commit 2f91022

Browse files
authored
Release version 7.0.0 (#299)
* Release version 7.0.0 * added Alex as reviewer * updated screenshot
1 parent a80040a commit 2f91022

8 files changed

Lines changed: 34 additions & 11 deletions

File tree

.github/auto_assign.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ reviewers:
55
- gerardpedreny
66
- danieldisu
77
- jlquintana
8+
- alxsimo
89

910
# A number of reviewers added to the pull request
1011
# Set 0 to add all the reviewers (default: 0)

README.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Component library for Android that uses Google Maps and returns a latitude, long
4848
### Features
4949

5050
<img align="right" width="0" height="368px" hspace="20"/>
51-
<img src="docs/images/screenshot.gif" height="368px" align="right" />
51+
<img src="docs/images/new_design_screenshot.png" height="368px" align="right" />
5252

5353
* Search by voice
5454
* Search by text
@@ -66,7 +66,7 @@ Component library for Android that uses Google Maps and returns a latitude, long
6666
### Prerequisites
6767

6868
minSdkVersion >= 15<br/>
69-
Google Play Services = 16.0.0<br/>
69+
Google Play Services = 17.0.0<br/>
7070
AndroidX
7171

7272
### Download
@@ -83,14 +83,14 @@ Include the dependency in your app `build.gradle`:
8383

8484
```groovy
8585
dependencies {
86-
implementation 'com.schibstedspain.android:leku:6.4.0'
86+
implementation 'com.schibstedspain.android:leku:7.0.0'
8787
}
8888
```
8989

9090
Alternatively, if you are using a different version of Google Play Services and AndroidX use this instead:
9191

9292
```groovy
93-
implementation ('com.schibstedspain.android:leku:6.4.0') {
93+
implementation ('com.schibstedspain.android:leku:7.0.0') {
9494
exclude group: 'com.google.android.gms'
9595
exclude group: 'androidx.appcompat'
9696
}
@@ -102,7 +102,7 @@ Note that Places on Google Play services is deprecated and this library currentl
102102
For the <b>legacy versions of Leku</b> that does not use AndroidX and want to use the latest Places SDK, you could use it in this way:
103103

104104
```groovy
105-
implementation ("com.google.android.libraries.places:places-compat:1.0.0")
105+
implementation ("com.google.android.libraries.places:places-compat:2.2.0")
106106
implementation ("com.schibstedspain.android:leku:5.0.0") {
107107
exclude group: 'com.google.android.gms'
108108
exclude module: "play-services-places"
@@ -347,6 +347,17 @@ Using tha bundle parameter **LocationPickerActivity.LAYOUTS_TO_HIDE** you can ch
347347
intent.putExtra(LocationPickerActivity.LAYOUTS_TO_HIDE, "street|city|zipcode")
348348
```
349349

350+
##### Legacy Layout
351+
352+
<img src="docs/images/screenshot.gif" height="368px" align="right" />
353+
354+
If you want to use the old Leku layout design you need to add this line to the builder:
355+
356+
```kotlin
357+
val locationPickerIntent = LocationPickerActivity.Builder()
358+
.withLegacyLayout()
359+
```
360+
350361
##### Search Zone
351362

352363
By default the search will be restricted to a zone determined by your default locale. If you want to force the search zone you can do it by adding this line with the locale preferred:

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
<string name="launch_legacy_map_picker" translatable="false">LAUNCH LEGACY MAP LOCATION ACTIVITY</string>
66
<string name="launch_map_picker_with_pois" translatable="false">LAUNCH MAP WITH POIS</string>
77
<string name="launch_map_picker_with_style" translatable="false">LAUNCH MAP WITH STYLE</string>
8-
<string name="leku_lib_version" translatable="false">version 6.4.0</string>
8+
<string name="leku_lib_version" translatable="false">version 7.0.0</string>
99
</resources>

docs/customization.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@ Using tha bundle parameter **LocationPickerActivity.LAYOUTS_TO_HIDE** you can ch
2929
intent.putExtra(LocationPickerActivity.LAYOUTS_TO_HIDE, "street|city|zipcode")
3030
```
3131

32+
##### Legacy Layout
33+
34+
<img src="docs/images/screenshot.gif" height="368px" align="right" />
35+
36+
If you want to use the old Leku layout design you need to add this line to the builder:
37+
38+
```kotlin
39+
val locationPickerIntent = LocationPickerActivity.Builder()
40+
.withLegacyLayout()
41+
```
42+
3243
##### Search Zone
3344

3445
By default the search will be restricted to a zone determined by your default locale. If you want to force the search zone you can do it by adding this line with the locale preferred:

docs/getting_started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ Include the dependency in your app `build.gradle`:
1818

1919
```groovy
2020
dependencies {
21-
implementation 'com.schibstedspain.android:leku:6.4.0'
21+
implementation 'com.schibstedspain.android:leku:7.0.0'
2222
}
2323
```
2424

2525
Alternatively, if you are using a different version of Google Play Services and AndroidX use this instead:
2626

2727
```groovy
28-
implementation ('com.schibstedspain.android:leku:6.4.0') {
28+
implementation ('com.schibstedspain.android:leku:7.0.0') {
2929
exclude group: 'com.google.android.gms'
3030
exclude group: 'androidx.appcompat'
3131
}
442 KB
Loading

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Component library for Android that uses Google Maps and returns a latitude, long
1414
### Features
1515

1616
<img align="right" width="0" height="368px" hspace="20"/>
17-
<img src="images/screenshot.gif" height="368px" align="right" />
17+
<img src="images/new_design_screenshot.png" height="368px" align="right" />
1818

1919
* Search by voice
2020
* Search by text

version.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
MAJOR=6
2-
MINOR=5
1+
MAJOR=7
2+
MINOR=0
33
PATCH=0

0 commit comments

Comments
 (0)