Skip to content

Google Maps is not loading on Android 8 #1335

Open
@david-nedeljkovic

Description

The app utilizes Google Maps, which runs on all versions except Android 8. To load the map, we use SupportMapFragment from com.google.android.gms.maps.SupportMapFragment().

open class SupportMapFragment : com.google.android.gms.maps.SupportMapFragment() {
    fun getMapAsynchronous(callback: OnMapReadyCallback) {
        super.getMapAsync { googleMap: GoogleMap ->
            callback.onMapReady(MapClient(googleMap))
        }
    }
}

The map version we are using is
gmsImplementation 'com.google.android.gms:play-services-maps:18.1.0'.

Can you help me? Thanks in advance.

Regards,
David Nedeljkovic

Metadata

Assignees

No one assigned

    Labels

    triage meI really want to be triaged.type: questionRequest for information or clarification. Not an issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions