<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2025 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

    <!--
         The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
         Google Maps Android API v2, but you must specify coarse and fine
         location permissions for the 'MyLocation' functionality.
    -->
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

    <!-- EXTERNAL_STORAGE permissions are optional for Android 6.0 onwards. -->
    <uses-permission
        android:name="android.permission.WRITE_EXTERNAL_STORAGE"
        android:maxSdkVersion="22" />
    <uses-permission
        android:name="android.permission.READ_EXTERNAL_STORAGE"
        android:maxSdkVersion="22" />

    <application
        android:name=".ApiDemoApplication"
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/demo_title"
        android:supportsRtl="true"
        android:theme="@style/MaterialAppTheme">

        <!--
            To add your Maps API key to this project:
            1. Open the root project's secrets.properties file
            2. Add this line, where YOUR_API_KEY is your API key:
                MAPS_API_KEY=YOUR_API_KEY
        -->
        <meta-data
            android:name="com.google.android.geo.API_KEY"
            android:value="${MAPS_API_KEY}" />

        <activity
            android:name=".MainActivity"
            android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".AdvancedMarkersDemoActivity"
            android:exported="true"
            android:label="@string/advanced_markers_demo_label" />
        <activity
            android:name=".BasicMapDemoActivity"
            android:exported="true"
            android:label="@string/basic_map_demo_label" />
        <activity
            android:name=".BackgroundColorCustomizationDemoActivity"
            android:exported="true"
            android:label="@string/background_color_customization_demo_label" />
        <activity
            android:name=".BackgroundColorCustomizationProgrammaticDemoActivity"
            android:exported="true"
            android:label="@string/background_color_customization_programmatic_demo_label" />
        <activity
            android:name=".CameraDemoActivity"
            android:exported="true"
            android:label="@string/camera_demo_label" />
        <activity
            android:name=".CameraClampingDemoActivity"
            android:exported="true"
            android:label="@string/camera_clamping_demo_label" />
        <activity
            android:name=".CloudBasedMapStylingDemoActivity"
            android:exported="true"
            android:label="@string/cloud_styling_label" />
        <activity
            android:name=".CircleDemoActivity"
            android:exported="true"
            android:label="@string/circle_demo_label" />
        <activity
            android:name=".DataDrivenBoundariesActivity"
            android:theme="@style/MaterialAppTheme"
            android:exported="true"
            android:label="@string/data_driven_boundaries_label" />
        <activity
            android:name=".DataDrivenDatasetStylingActivity"
            android:theme="@style/MaterialAppTheme"
            android:exported="true"
            android:label="@string/data_driven_styling_label" />
        <activity
            android:name=".EventsDemoActivity"
            android:exported="true"
            android:label="@string/events_demo_label" />
        <activity
            android:name=".GroundOverlayDemoActivity"
            android:exported="true"
            android:label="@string/ground_overlay_demo_label" />
        <activity
            android:name=".IndoorDemoActivity"
            android:exported="true"
            android:label="@string/indoor_demo_label" />
        <activity
            android:name=".LayersDemoActivity"
            android:exported="true"
            android:label="@string/layers_demo_label" />
        <activity
            android:name=".LiteDemoActivity"
            android:exported="true"
            android:label="@string/lite_demo_label" />
        <activity
            android:name=".LiteListDemoActivity"
            android:exported="true"
            android:label="@string/lite_list_demo_label" />
        <activity
            android:name=".LocationSourceDemoActivity"
            android:exported="true"
            android:label="@string/location_source_demo_label" />
        <activity
            android:name=".MapInPagerDemoActivity"
            android:exported="true"
            android:label="@string/map_in_pager_demo_label" />
        <activity
            android:name=".MapColorSchemeActivity"
            android:exported="true"
            android:label="@string/marker_demo_label" />
        <activity
            android:name=".MarkerDemoActivity"
            android:exported="true"
            android:label="@string/marker_demo_label" />
        <activity
            android:name=".MarkerCloseInfoWindowOnRetapDemoActivity"
            android:exported="true"
            android:label="@string/marker_close_info_window_on_retap_demo_label" />
        <activity
            android:name=".PolylineDemoActivity"
            android:exported="true"
            android:label="@string/polyline_demo_label" />
        <activity
            android:name=".MultiMapDemoActivity"
            android:exported="true"
            android:label="@string/multi_map_demo_label" />
        <activity
            android:name=".MyLocationDemoActivity"
            android:exported="true"
            android:label="@string/my_location_demo_label" />
        <activity
            android:name=".OptionsDemoActivity"
            android:exported="true"
            android:label="@string/options_demo_label" />
        <activity
            android:name=".PolygonDemoActivity"
            android:exported="true"
            android:label="@string/polygon_demo_label" />
        <activity
            android:name=".ProgrammaticDemoActivity"
            android:exported="true"
            android:label="@string/programmatic_demo_label" />
        <activity
            android:name=".RawMapViewDemoActivity"
            android:exported="true"
            android:label="@string/raw_map_view_demo_label" />
        <activity
            android:name=".RetainMapDemoActivity"
            android:exported="true"
            android:label="@string/retain_map_demo_label" />
        <activity
            android:name=".SaveStateDemoActivity"
            android:exported="true"
            android:label="@string/save_state_demo_label" />
        <activity
            android:name=".SnapshotDemoActivity"
            android:exported="true"
            android:label="@string/snapshot_demo_label" />
        <activity
            android:name=".SplitStreetViewPanoramaAndMapDemoActivity"
            android:exported="true"
            android:label="@string/split_street_view_panorama_and_map_demo_label" />
        <activity
            android:name=".StreetViewPanoramaBasicDemoActivity"
            android:exported="true"
            android:label="@string/street_view_panorama_basic_demo_label" />
        <activity
            android:name=".StreetViewPanoramaEventsDemoActivity"
            android:exported="true"
            android:label="@string/street_view_panorama_events_demo_label" />
        <activity
            android:name=".StreetViewPanoramaNavigationDemoActivity"
            android:exported="true"
            android:label="@string/street_view_panorama_navigation_demo_label" />
        <activity
            android:name=".StreetViewPanoramaOptionsDemoActivity"
            android:exported="true"
            android:label="@string/street_view_panorama_options_demo_label" />
        <activity
            android:name=".StreetViewPanoramaViewDemoActivity"
            android:exported="true"
            android:label="@string/street_view_panorama_view_demo_label" />
        <activity
            android:name=".StyledMapDemoActivity"
            android:exported="true"
            android:label="@string/styled_map_demo_label" />
        <activity
            android:name=".TagsDemoActivity"
            android:exported="true"
            android:label="@string/tags_demo_label" />
        <activity
            android:name=".TileCoordinateDemoActivity"
            android:exported="true"
            android:label="@string/tile_coordinate_demo_label" />
        <activity
            android:name=".TileOverlayDemoActivity"
            android:exported="true"
            android:label="@string/tile_overlay_demo_label" />
        <activity
            android:name=".UiSettingsDemoActivity"
            android:exported="true"
            android:label="@string/ui_settings_demo_label" />
        <activity
            android:name=".VisibleRegionDemoActivity"
            android:exported="true"
            android:label="@string/visible_region_demo_label" />

    </application>

</manifest>
