Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googlemaps/android-maps-utils
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.16.2
Choose a base ref
Loading
...
head repository: googlemaps/android-maps-utils
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.17.0
Choose a head ref
Loading
  • 3 commits
  • 14 files changed
  • 2 contributors

Commits on Sep 9, 2025

  1. chore(deps): Bump dependency versions (#1594)

    * chore(deps): Bump dependency versions
    
    * chore: Upgrade Gradle wrapper to 8.14.3
    dkhawk authored Sep 9, 2025
    Configuration menu
    Copy the full SHA
    db84504 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2025

  1. feat(demo): Add StreetViewJavaHelper and demo and enable edge-to-edge (

    …#1595)
    
    * feat(demo): Add Java demo for Street View utility
    
    This commit adds a new demo activity written in Java to demonstrate the usage of the Street View utility. To facilitate this, a Kotlin helper has been introduced to bridge the gap between suspend functions and Java's callback-based asynchronous model.
    
    The key changes are:
    - **`StreetViewDemoActivityJava`**: A new demo activity that shows how to check for Street View availability from Java.
    - **`StreetViewHelper`**: A Kotlin object that wraps the `suspend` function `StreetViewUtils.fetchStreetViewData` and exposes it to Java consumers via a callback interface.
    - **`ApiKeyValidator`**: A new utility class to check for a valid Maps API key within the demo application.
    - **Unit Tests**: Added tests for `StreetViewHelper` using Robolectric, MockK, and coroutine testing libraries to verify its behavior.
    - **Dependencies**: Added `mockk`, `kotlinx-coroutines-test`, and `robolectric` to the demo module's test dependencies.
    
    * feat(demo): Enable edge-to-edge for StreetView demo activities
    
    This commit refactors the `StreetViewDemoActivity` in both its Kotlin and Java versions to support edge-to-edge display.
    
    The key changes include:
    - Changing the base class from `Activity` to `AppCompatActivity`.
    - Using `WindowCompat.setDecorFitsSystemWindows` to allow the app to draw behind the system bars.
    - Adding an `OnApplyWindowInsetsListener` to the root view to apply padding for the system bars, preventing content from being obscured.
    - Updating the `street_view_demo.xml` layout with an ID for the root view to facilitate the insets listener.
    - Updating the copyright year.
    
    * refactor(library): Move StreetViewJavaHelper to library module
    
    This commit moves the `StreetViewHelper` from the `demo` module to the `library` module, making it an officially supported utility for Java consumers.
    
    The key changes include:
    - Renaming `StreetViewHelper` to `StreetViewJavaHelper` for better clarity and moving it to the `com.google.maps.android` package within the library.
    - Migrating the corresponding unit tests from the `demo` to the `library` module and updating them to reflect the class rename.
    - Adjusting `build.gradle.kts` files to move test dependencies (`mockk`, `coroutines-test`, `robolectric`) from the `demo` to the `library` module.
    - Renaming `StreetViewDemoActivityJava` to `StreetViewDemoJavaActivity` and updating it to use the new helper from the library.
    - Improving the warning message for invalid or missing API keys in the demo app.
    
    * refactor: Remove redundant Javadoc in StreetViewDemoJavaActivity
    dkhawk authored Sep 10, 2025
    Configuration menu
    Copy the full SHA
    23a4bb5 View commit details
    Browse the repository at this point in the history
  2. chore(release): 3.17.0 [skip ci]

    # [3.17.0](v3.16.2...v3.17.0) (2025-09-10)
    
    ### Features
    
    * **demo:** Add StreetViewJavaHelper and demo and enable edge-to-edge ([#1595](#1595)) ([23a4bb5](23a4bb5))
    semantic-release-bot committed Sep 10, 2025
    Configuration menu
    Copy the full SHA
    49c06c7 View commit details
    Browse the repository at this point in the history
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.