8 Commits

Author SHA1 Message Date
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
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
Chris Arriola
c26ca13366 docs: Adding note about product flavors. 2020-06-12 15:14:11 -07:00
Chris Arriola
fc64eca151
chore: ApiDemos for Maps SDK V3 BETA (#199)
* chore: Adding samples for V3.

Adding samples for V3 BETA in a new module `app-v3`. These samples are
generated by the `generateV3` Gradle task which runs when the `app`
module is built.

TODOs left:
- [ ] Update README with a note about V3 samples

* Update README and location of secure.properties.

* Using product flavors instead of creating a new module for V3 & GMS.

* Update build workflow to run lint and assemble on all flavor/build types.

* Not using deprecated API.

* Install Android NDK.

* Update license headers.
2020-05-12 17:15:09 -07:00
Sean Barbeau
b2246b1c8f
feat: Get Maps API key from unversioned file instead of resource - Java (#190)
Previously the Java demo app API key was hard-coded directly in a versioned string resource file, which is dangerous as it's easy to accidentally commit your key into version control.

This PR adds a new process to add your own Google Maps API key for the Java demo app:

1. [Get a Maps API key](https://developers.google.com/maps/documentation/android-sdk/get-api-key)
1. Create a file in the `ApiDemos/java/app` directory called `secure.properties` (this file should *NOT* be under version control to protect your API key)
1. Add a single line to `ApiDemos/java/app/secure.properties` that looks like `MAPS_API_KEY=YOUR_API_KEY`, where `YOUR_API_KEY` is the API key you obtained in the first step
1. Build and run
2020-05-06 14:05:14 -07:00
Bella Mangunsong
656b286e48
Update README.md 2018-02-07 15:59:28 +11:00
Bella Mangunsong
ae45ead8b2 started the Kotlin ApiDemos project and created menu system 2018-02-06 10:19:34 +11:00
Bella Mangunsong
d6a371a6b9 moved ApiDemos to java/ 2018-02-06 10:19:01 +11:00