ionic-team / capacitor-google-maps

16 stars 24 forks source link

The app crashes when drags to the map #35

Open thinhlam173 opened 3 months ago

thinhlam173 commented 3 months ago

Bug Report

Plugin(s)

@capacitor/google-maps": "^6.0.0"

Capacitor Version

6.0.0

PASTE OUTPUT HERE
image

Platform(s)

Android

Current Behavior

The app crashes when drags to the map. Another findings, it looks like all capacitor/google-maps 5.x.x version was built with the latest code and got same issues

I found line 891 in CapacitorGoogleMapsPlugin, it is calling "events.removeFirst()". The function removeFirst() required Android API level 35 (the latest one). So it does not support most devices.

image

Expected Behavior

The app should not crash.