Skip to content

Create objective-c-xcode.yml #2174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: update-wearos-sample-versions
Choose a base branch
from

Conversation

mccoystevens079-prog
Copy link

Thank you for opening a Pull Request!


Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open a GitHub issue as a bug/feature request before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

kikoso and others added 16 commits January 14, 2025 10:29
# [1.14.0](googlemaps-samples/android-samples@v1.13.0...v1.14.0) (2025-01-14)

### Bug Fixes

* add dynamic key values to secrets.properties in idx template ([googlemaps-samples#1814](googlemaps-samples#1814)) ([46abfae](googlemaps-samples@46abfae))
* always use secrets.properties for storing the API keys ([googlemaps-samples#1812](googlemaps-samples#1812)) ([561e829](googlemaps-samples@561e829))
* Exports sample activities so they can be run directly ([googlemaps-samples#1808](googlemaps-samples#1808)) ([206cdcf](googlemaps-samples@206cdcf))
* fixed release config ([googlemaps-samples#1944](googlemaps-samples#1944)) ([6b62127](googlemaps-samples@6b62127))
* fixed release step ([googlemaps-samples#1770](googlemaps-samples#1770)) ([cb53eb4](googlemaps-samples@cb53eb4))
* fixed secrets in wearable module ([googlemaps-samples#1788](googlemaps-samples#1788)) ([5ea1951](googlemaps-samples@5ea1951))
* import rememberMarkerState and use the marker state correctly ([googlemaps-samples#1787](googlemaps-samples#1787)) ([5095437](googlemaps-samples@5095437))
* prevents infinite recursion when getting the location permission ([googlemaps-samples#1813](googlemaps-samples#1813)) ([5790ff2](googlemaps-samples@5790ff2))
* Re-add MarkerDemoActivity in Kotlin sample ([googlemaps-samples#1916](googlemaps-samples#1916)) ([66db0fa](googlemaps-samples@66db0fa))
* stop memory leak in CoordTileProvider ([googlemaps-samples#1929](googlemaps-samples#1929)) ([55c6297](googlemaps-samples@55c6297))
* Update emulator host in dev.nix for IDX ([googlemaps-samples#1893](googlemaps-samples#1893)) ([26e5bd3](googlemaps-samples@26e5bd3))
* Updates secrets in app-level build.gradle.kts files to set secrets.properties as propertiesFileName. ([googlemaps-samples#1785](googlemaps-samples#1785)) ([dcec2ce](googlemaps-samples@dcec2ce))
* using rememberMarkerState instead of MarkerState ([googlemaps-samples#1768](googlemaps-samples#1768)) ([6007cc8](googlemaps-samples@6007cc8))

### Features

* Introduces an idx folder containing an IDX template, enabling users to open Android tutorials directly in the IDX IDE. ([googlemaps-samples#1757](googlemaps-samples#1757)) ([b32a515](googlemaps-samples@b32a515))
* tooling modernization ([googlemaps-samples#1753](googlemaps-samples#1753)) ([42f3887](googlemaps-samples@42f3887))
….0 to 3.10.0 in /snippets (googlemaps-samples#1949)

chore(deps): bump com.google.maps.android:android-maps-utils

Bumps [com.google.maps.android:android-maps-utils](https://github.com/googlemaps/android-maps-utils) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/googlemaps/android-maps-utils/releases)
- [Changelog](https://github.com/googlemaps/android-maps-utils/blob/main/.releaserc)
- [Commits](googlemaps/android-maps-utils@v3.9.0...v3.10.0)

---
updated-dependencies:
- dependency-name: com.google.maps.android:android-maps-utils
  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>
…googlemaps-samples#1950)

chore: bump versions for gradle (8.8.0), kotlin(2.1.0)), the targetSdk(35) and other deps
* fix: import rememberMarkerState and use the marker state correctly

* feat: dataset styling Kotlin samples

* feat: added DataDrivenBoundariesActivity.kt

* feat: added DataDrivenBoundariesActivity

* feat: added documentation

* feat: added header

* chore: changed MY_MAP_ID to DEMO_MAP_ID

* feat: moved data files to raw

* feat: added DataDrivenBoundariesActivity

* feat: removed unused files

* feat: map id

* chore: replace System.out.println with Log.d

* feat: added region tags

* feat: added different set of DDS

* feat: added different set of DDS

* feat: replacing files

feat: replacing files

* feat: replacing files

* feat: compileSdk 35

* feat: compileSdk 35

* chore: updated README file

* feat: trying to force different datasets

* feat: updated samples

* feat: Add data-driven styling for datasets

This commit introduces data-driven styling for datasets in the ApiDemos application.

The following changes were made:

Added a custom Application class (ApiDemoApplication) to check for the presence and validity of the API key during startup.
Added a new data structure (DataSet) to hold information about each dataset, including its label, dataset ID, location, and styling callback.
Updated the DataDrivenDatasetStylingActivity to use the new data structure and styling callbacks.
Rename the dataset input files to better reflect there contents.

* fix: moves the dataset ids to the secrets.properties file

* feat: significant rewrite to of DataDrivenDatasetStylingActivity

* Makes the app look better on full screen with a cutout
* Uses material elements
* Switch to using secrets for the data set ids
  * more of a convenience to prevent having to remove the ids when submitting
* moves dataset data files to common area since they are not used directly by the app
* Detailed instructions for uploading the data to console (WIP)

* fix: exports the data driven styling activities so they can be run directly

* feat: added header

* feat: change ubuntu-latest

* feat: change ubuntu-latest

* feat: change ubuntu-latest

---------

Co-authored-by: dkhawk <107309+dkhawk@users.noreply.github.com>
…y.java demo (googlemaps-samples#1979)

* fix: support devices with cutouts for DataDrivenDatasetStylingActivity.java demo

* fix: remove unnecessary 'res/' from paths in README.md file

* feat(apidemos): enhance DataDrivenBoundariesActivity UI and boundary selection

This commit enhances the DataDrivenBoundariesActivity demo with UI and
functionality improvements focusing on boundary type selection and visual
enhancements.

- Implements Material Design theming and UI elements.
- Adds boundary type selection via PopupMenu (Locality, Admin Area, Country).
- Refactors styling and implements persistent country selection.
- Handles system UI insets for improved display.

These changes improve the demo's user experience and code structure,
better showcasing data-driven boundary styling.

* feat(apidemos): configure dataset-specific zoom levels for datasets demo

This commit introduces dataset-specific zoom levels to the DataDrivenDatasetStylingActivity, enhancing the user experience when switching between datasets.

- Adds a `zoomLevel` field to the `DataSet` class to store the desired zoom level for each dataset.
- Updates the `dataSets` array to include appropriate zoom levels for Boulder, New York, and Kyoto datasets.
- Modifies the `centerMapOnLocation` method to accept a `zoomLevel` parameter, allowing it to be dynamically set.
- Updates the `switchDataSet` method to utilize the `zoomLevel` from the selected `DataSet` when centering the map, ensuring the map zooms to the optimal level for each dataset.
- Removes the previously hardcoded `ZOOM_LEVEL` constant, as the zoom level is now dataset-dependent.

These changes ensure that when a user selects a dataset, the map automatically zooms to a relevant level for that specific dataset, improving clarity and usability of the demo.

Also adds missing copyright header.
## [1.15.1](googlemaps-samples/android-samples@v1.15.0...v1.15.1) (2025-02-14)

### Bug Fixes

* support devices with cutouts for DataDrivenDatasetStylingActivity.java demo ([googlemaps-samples#1979](googlemaps-samples#1979)) ([683b21d](googlemaps-samples@683b21d))
* feat: added material to samples

* feat: WIP

* feat: added material to samples

* feat: some more samples

* feat: base activity

* feat: some more samples
* chore: update README per template
* chore: more README fixes from template

Skipping failed tests for this README update.
* chore: unified Kotlin and Java modules

* chore: unified resources

* chore: removed Kotlin

* chore: headers

* chore: headers

* chore: headers

* chore: headers

* chore: added insets

* chore: headers

* chore: renamed

* fix: Refactor map creation, centralize Map ID, add Kotlin boundary controls

This commit refactors how map fragments and Map IDs are handled across the Java and Kotlin demo applications, and introduces feature parity for boundary layer controls in the Kotlin demo.

Key changes include:

- **Programmatic Map Fragment Creation:**
    - Replaced static `<fragment>` map declarations with `<FrameLayout>` containers (`map_fragment_container`) in `data_driven_boundaries_demo.xml` and `data_driven_styling_demo.xml` layouts.
    - Modified `DataDrivenBoundariesActivity` and `DataDrivenDatasetStylingActivity` (Java & Kotlin) to instantiate `SupportMapFragment` programmatically using `SupportMapFragment.newInstance(mapOptions)`.
    - Map options (`GoogleMapOptions`) are now created with the dynamically retrieved Map ID before fragment creation.
      - this allows moving the Map ID out of the xml files

- **Centralized Map ID and Configuration Logic:**
    - Introduced `ApiDemoApplication` in both Java (`java-app`) and Kotlin (`kotlin-app`) modules.
    - This class centralizes Map ID retrieval, checking `BuildConfig.MAP_ID` first, then the `R.string.map_id` resource, providing a consistent source.
    - The Kotlin `ApiDemoApplication` also includes API Key validation on application startup.

- **Kotlin DataDrivenBoundaries Feature Enhancement:**
    - Added boundary layer selection controls (popup menu via `button_feature_type`) to the Kotlin `DataDrivenBoundariesActivity`, achieving parity with the Java version's functionality.
    - Implemented state management for toggling Locality, Administrative Area Level 1, and Country layers.
    - Added dynamic styling logic to apply/remove styles based on layer visibility.
    - Updated feature click handling for country selection, respecting layer activation state.

- **Miscellaneous Improvements:**
    - Added distinct demo titles (`demo_title_java`, `demo_title_kotlin`) in `strings.xml` for better app identification.
    - Updated resource references within Java/Kotlin activities for cleaner imports (e.g., `R.id...` instead of fully qualified names).

* chore: address various lint issues

* fix: explicitly bind checkboxes in the UI

---------

Co-authored-by: dkhawk <107309+dkhawk@users.noreply.github.com>
* chore: updated versions

* chore: updated snippets

* chore: updated tutorials java

* chore: updated tutorials java

* chore: permission

* chore: permission

* chore: added material
)

docs: Add EEA Terms of Service notice to README
@mccoystevens079-prog mccoystevens079-prog changed the base branch from main to update-wearos-sample-versions July 20, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants