googlemaps / android-maps-utils

Maps SDK for Android Utility Library
https://developers.google.com/maps/documentation/android-sdk/utility
Apache License 2.0
3.54k stars 1.53k forks source link

Google Maps is not loading on Android 8 #1335

Open david-nedeljkovic opened 4 months ago

david-nedeljkovic commented 4 months ago

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

wangela commented 4 months ago

If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.

@david-nedeljkovic Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.