83 Commits

Author SHA1 Message Date
Angela Yu
fa63927d15
chore: add region tags to 6 samples (#1552) 2024-04-25 11:10:15 -07:00
Angela Yu
cf74be5bc2
chore: add region tag to basic map demo and upgrade gradle (#1551)
* chore: add region tag to basic map demo

* chore: update gradle verison
2024-04-24 17:23:01 -07:00
Enrique López Mañas
8caba9ce7b
feat: add Advanced Markers Samples (#1435) 2023-12-08 14:35:47 -08:00
Enrique López Mañas
49c4502f1b
feat: adding styled map sample (#1433) 2023-12-08 10:00:39 -08:00
Enrique López Mañas
596b127a7c
feat: removed renderer selection from the samples (#1430)
Since the new renderer is default as of Maps SDK for Android v18.2.0, the renderer selection is unnecessary for these demos.
2023-12-06 14:55:13 -08:00
Enrique López Mañas
e6f8b8a913
feat: updated targetSdk and compileSdk (#1428)
* feat: updated targetSdk and compileSdk

* docs: added licenses

* docs: excluded markdown files from header check
2023-12-06 13:20:48 -08:00
Angela Yu
f777167272
chore: set up new snippets modules for region tags (#1368)
* chore: move MapsCompose.kt to snippets/app-compose app

* chore: create app-places-ktx snippets module with places-ktx install snippet

* chore: create app-maps-rx snippets module

* chore: create app-ktx snippets module

* chore: add app-utils-ktx snippets module

* chore: rename app-maps-rx to app-rx

* chore: add app-utils snippets module

* chore: move region tag from tutorials to snippets for play services sdk dependency

* chore: move kotlin utils to app-utils-ktx module

* chore: move utils and utils-ktx snippets into corresponding modules

* chore: finalize maps sdk snippets

* chore: upgrade AGP and add namespaces

* chore: fix build issues

* chore: udpate build workflow to Java 17

* chore: fix build errors

* chore: remove v3 files

* Revert "chore: remove v3 files"

This reverts commit f70c47bd0cbd5ed73dfd43199371dcfc6afd6350.

* chore: add default PLACES_API_KEY to Current Place tutorial

* chore: fix tutorial builds
2023-10-31 09:33:26 -07:00
dependabot[bot]
fa98515825
chore(deps): bump androidx.recyclerview:recyclerview from 1.3.0 to 1.3.1 in /ApiDemos/java (#1300)
chore(deps): bump androidx.recyclerview:recyclerview in /ApiDemos/java

Bumps androidx.recyclerview:recyclerview from 1.3.0 to 1.3.1.

---
updated-dependencies:
- dependency-name: androidx.recyclerview:recyclerview
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 13:49:27 +00:00
dependabot[bot]
6d8897f250
chore(deps): bump androidx.recyclerview:recyclerview from 1.2.1 to 1.3.0 in /ApiDemos/java (#1217)
chore(deps): bump androidx.recyclerview:recyclerview in /ApiDemos/java

Bumps androidx.recyclerview:recyclerview from 1.2.1 to 1.3.0.

---
updated-dependencies:
- dependency-name: androidx.recyclerview:recyclerview
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 14:03:21 +00:00
dependabot[bot]
2e06e75147
chore(deps): bump androidx.appcompat:appcompat from 1.6.0 to 1.6.1 in /ApiDemos/java (#1202)
chore(deps): bump androidx.appcompat:appcompat in /ApiDemos/java

Bumps androidx.appcompat:appcompat from 1.6.0 to 1.6.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 14:05:33 +00:00
dependabot[bot]
8c93b9b126
chore(deps): bump appcompat from 1.5.1 to 1.6.0 in /ApiDemos/java (#1161)
Bumps appcompat from 1.5.1 to 1.6.0.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 13:15:34 +00:00
dependabot[bot]
7944084ea3
chore(deps): bump espresso-core from 3.5.0 to 3.5.1 in /ApiDemos/java (#1144)
Bumps espresso-core from 3.5.0 to 3.5.1.

---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 13:16:31 +00:00
dependabot[bot]
fa5b5db4e6
chore(deps): bump junit from 1.1.4 to 1.1.5 in /ApiDemos/java (#1137)
Bumps junit from 1.1.4 to 1.1.5.

---
updated-dependencies:
- dependency-name: androidx.test.ext:junit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 13:08:12 +00:00
Enrique López Mañas
b20987b9c3
chore(dependencies): general update of dependencies (#1107)
* chore(dependencies): general update of dependencies

* doc: updated API level for WearOS

* chore: updated API level for WearOS

* chore: moved namespace to Gradle file

Co-authored-by: Angela Yu <5506675+wangela@users.noreply.github.com>
2022-12-20 13:50:58 -08:00
dependabot[bot]
1a1fe31058
chore(deps): bump junit from 1.1.3 to 1.1.4 in /ApiDemos/java (#1087)
Bumps junit from 1.1.3 to 1.1.4.

---
updated-dependencies:
- dependency-name: androidx.test.ext:junit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 13:20:17 +00:00
dependabot[bot]
3fd8822c27
chore(deps): bump espresso-core from 3.4.0 to 3.5.0 in /ApiDemos/java (#1089)
Bumps espresso-core from 3.4.0 to 3.5.0.

---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 13:06:13 +00:00
dependabot[bot]
e0eb1eda5b
chore(deps): bump appcompat from 1.5.0 to 1.5.1 in /ApiDemos/java (#1043)
Bumps appcompat from 1.5.0 to 1.5.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 13:11:35 +00:00
dependabot[bot]
d6b072b5d0
chore(deps): bump appcompat from 1.4.2 to 1.5.0 in /ApiDemos/java (#1037)
Bumps appcompat from 1.4.2 to 1.5.0.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 13:13:30 +00:00
dependabot[bot]
0616c0a171
chore(deps): bump play-services-maps from 18.0.2 to 18.1.0 in /ApiDemos/java (#1014)
chore(deps): bump play-services-maps in /ApiDemos/java

Bumps play-services-maps from 18.0.2 to 18.1.0.

---
updated-dependencies:
- dependency-name: com.google.android.gms:play-services-maps
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-25 13:44:38 +00:00
dependabot[bot]
120c682624
chore(deps): bump appcompat from 1.4.1 to 1.4.2 in /ApiDemos/java (#977)
Bumps appcompat from 1.4.1 to 1.4.2.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 13:11:55 +00:00
Chris Arriola
d301ecedce
chore: Demonstrate using ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION. (#901)
* chore: Demonstrate using ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION.

Change-Id: I2e8b240a9c2a6d7aca111f0ce23b24e689a180c7

* Update Java sample.

Change-Id: I30a73fdee25dc341f57bc13c6a2a29241768369a
2022-03-25 10:05:47 -07:00
Chris Arriola
a88ca81998
chore: Add CloudBasedMapStylingDemoActivity to gms flavor. (#853)
* chore: Add CloudBasedMapStylingDemoActivity to gms flavor.

Change-Id: I95e1c76f04dfabed43cfea13a65c61e518acb279

* chore: Add CloudBasedMapStylingDemoActivity to gms demos kotlin.

Change-Id: I907741c12a4fba1ef10dcd0ec83fe2f10e8ee233

* Use gradle 7.2

Change-Id: I24ee0594db9f36f49f15d0c32a2c89f81ce6336f
2022-03-21 15:57:06 -07:00
dependabot[bot]
20233ae1da
chore(deps): bump appcompat from 1.4.0 to 1.4.1 in /ApiDemos/java (#816)
Bumps appcompat from 1.4.0 to 1.4.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-03 23:20:09 +00:00
dependabot[bot]
f83c80dde9
chore(deps): bump play-services-maps in /ApiDemos/java (#804)
Bumps play-services-maps from 18.0.1 to 18.0.2.

---
updated-dependencies:
- dependency-name: com.google.android.gms:play-services-maps
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 13:12:07 +00:00
dependabot[bot]
9274f0ebe8
chore(deps): bump play-services-maps in /ApiDemos/java (#774)
Bumps play-services-maps from 18.0.0 to 18.0.1.

---
updated-dependencies:
- dependency-name: com.google.android.gms:play-services-maps
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 13:19:22 +00:00
dependabot[bot]
7623f5adb3
chore(deps): bump appcompat from 1.3.1 to 1.4.0 in /ApiDemos/java (#757)
Bumps appcompat from 1.3.1 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 13:20:28 +00:00
Chris Arriola
4ee2170919
fix: Fix v18.0.0 build errors (#740)
* fix: Fix build errors from v18.0.0

Change-Id: Id4a2b5edf71832ffe71e2296de979b9a48b7786a

* Update CI to only build GMS on non-snippet code.

Change-Id: I1cbc08546758ec1ae40851777efdbe2ac2e941a4

* Remove redundant snippet end tag.

Change-Id: I8101762c705a31af6c63deec91152246e19b9622

* Fix nullability errors.

Change-Id: I3e535c0389586bf69a6780c5ce46c813e2b3241f
2021-10-27 11:21:21 -07:00
Chris Arriola
cd44d81c3c
feat: 18.0.0 samples (#732)
* feat: 18.0.0 samples

* Map BG Color
* Moving cloud based map styling from v3 to gms
* Opt-in renderer

Change-Id: I094e53c9d9ef6b59abe443fb0791646b025cbd3d

* Add exported and bump minSdkVersion

Change-Id: Ied1e4e0aa507b3e67ce09679824225dd4fca88a3

* Bump snippet repo versions.

Change-Id: I50183bcfa4ef5a11d910545848200a9be03605c3

* Bump 18.0.0

Change-Id: I6c174f15e4afa4b2b20a52e956fc1c82e9f71d60
2021-10-27 09:04:41 -07:00
dependabot[bot]
2f195f031a
chore(deps): bump volley from 1.2.0 to 1.2.1 in /ApiDemos/java (#683)
Bumps [volley](https://github.com/google/volley) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/google/volley/releases)
- [Commits](https://github.com/google/volley/compare/1.2.0...1.2.1)

---
updated-dependencies:
- dependency-name: com.android.volley:volley
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-30 13:17:43 +00:00
dependabot[bot]
6ff91ed6b6
chore(deps): bump recyclerview from 1.1.0 to 1.2.1 in /ApiDemos/java (#577)
Bumps recyclerview from 1.1.0 to 1.2.1.

---
updated-dependencies:
- dependency-name: androidx.recyclerview:recyclerview
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 14:08:47 +00:00
Chris Arriola
5e9359b25e
chore: Update dependencies and remove jcenter() (#582)
* chore: Bump AGP 4.2.1 and use secrets-gradle-plugin 1.3.0

* chore: Remove jcenter()

* Use gradle 6.7.1

* Add volley 1.2.0

* Fix build errors.

* Use requireActivity.
2021-07-14 17:22:31 -07:00
dependabot[bot]
22893a1201
chore(deps): bump espresso-core from 3.3.0 to 3.4.0 in /ApiDemos/java (#626)
Bumps espresso-core from 3.3.0 to 3.4.0.

---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-05 14:26:00 +00:00
dependabot[bot]
064c493254
chore(deps): bump junit from 1.1.2 to 1.1.3 in /ApiDemos/java (#623)
Bumps junit from 1.1.2 to 1.1.3.

---
updated-dependencies:
- dependency-name: androidx.test.ext:junit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-05 13:46:10 +00:00
Chris Arriola
49f0bf91e5
chore: Update to secrets-gradle-plugin 1.2.0 (#580)
* chore: Update to secrets-gradle-plugin 1.2.0

* Add new snippet.
2021-06-21 13:25:12 -07:00
Chris Arriola
de8c96bbd2
chore: Update secrets-gradle-plugin to 1.1.0 (#579) 2021-06-16 11:47:18 -07:00
Chris Arriola
e1253fe7ff
chore: Remove queries entry. (#545) 2021-05-13 17:18:13 -07:00
dependabot[bot]
b448796c42
chore(deps): bump play-services-maps in /ApiDemos/java (#523)
Bumps play-services-maps from 17.0.0 to 17.0.1.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-29 18:29:23 +00:00
dependabot-preview[bot]
f842a629c8
chore(deps): bump com.google.secrets_gradle_plugin in /ApiDemos/java (#458)
Bumps com.google.secrets_gradle_plugin from 0.4 to 0.5.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-22 08:13:05 +00:00
dependabot-preview[bot]
8944fad9e6
chore(deps): bump junit from 4.13.1 to 4.13.2 in /ApiDemos/java (#448)
Bumps [junit](https://github.com/junit-team/junit4) from 4.13.1 to 4.13.2.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13.1...r4.13.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-15 07:49:34 +00:00
Chris Arriola
99da3d7c5f
chore: Using secrets-gradle-plugin (#432)
* chore: Using secrets-gradle-plugin

* Using secrets-gradle-plugin in all projects.

* Using 0.4 version of secrets-gradle-plugin
2021-01-27 13:30:29 -08:00
Chris Arriola
5578ecaa3c chore: Use GITHUB_WORKSPACE. 2021-01-25 14:54:22 -08:00
Chris Arriola
2ab19b7e0d
feat: Using local.properties to provide API key (#398)
* feat: Using local.properties to provide API key instead of secure.properties.

* Remove redundant declaration in main AndroidManifest.xml

* Migrate ApiDemos - Kotlin to use local.properties.

* Update README for tutorials.

* Genericize.

* Remove references to secure.properties.

* s/master/main
2020-11-25 13:38:00 -08:00
dependabot-preview[bot]
b9d2916fda
chore(deps): bump junit from 4.13 to 4.13.1 in /ApiDemos/java (#345)
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-09 08:28:43 +00:00
Chris Arriola
0a4969eb76
feat: Target API level 30. (#376) 2020-11-04 12:52:18 -08:00
Chris Arriola
6eb23eee45
chore: Add missing snippets (#316)
* chore: Add missing snippets.

* Add POI behavior

* License.

* Adding snippets for Maps Object.

* Add OnPoiClickDemoActivity

* Add LiteMode.

* Add street view sample code.

* Add missing headers.

* Marking activity as public.

* Making activity internal

* Move exclude.

* Adding snippets for Events.

* Add camera and view snippets.

* Adding MyLocationLayerActivity.

* Add snippets for Markers.

* Adding InfoWindows.

* Addiing snippets for Shapes.

* Add GroundOverlays snippets.

* Add tile overlays samples.

* Add AMU + GeoJSON samples.

* ADd KML snippets.

* Adding heatmaps.

* Add clustering.

* Add multilayer.
2020-09-23 15:14:56 -07:00
dependabot-preview[bot]
0d3459b723
chore(deps): bump espresso-core from 3.2.0 to 3.3.0 in /ApiDemos/java (#299) 2020-09-10 17:25:56 +00:00
dependabot-preview[bot]
2076009bf7
chore(deps): bump appcompat from 1.1.0 to 1.2.0 in /ApiDemos/java (#300) 2020-09-10 17:16:41 +00:00
dependabot-preview[bot]
483c28d2a3 chore(deps): bump junit from 1.1.1 to 1.1.2 in /ApiDemos/java
Bumps junit from 1.1.1 to 1.1.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-10 17:16:37 +00:00
Chris Arriola
c82e1a8120
build: Adding SuppressLint for MissingPermission. (#261)
* build: Adding SuppressLint for MissingPermission.

* Using NDK version 21.3.6528147

* Uninstall NDK bundle.

* Fix build errors.

* Fix per-flavor manifests.
2020-07-28 10:33:02 -07:00
Chris Arriola
7768691408
docs: Update README on how to provide GMP API Key. (#248)
* docs: Update README on how to provide GMP API Key.

* fix references.

* Update reference.

* Update string.

* Update references.
2020-06-17 09:47:42 -07:00