Mapbox Android Plugins are a collection of libraries that extend our other SDKs, helping you design powerful mapping features while the plugins handle most of the heavy lifting.
In Android 11, if we invoke startForeground multi times, the last notification will not be able to dismissed.
This pr add the check for it and only invoke startForeground for the first notification.
In Android 11, if we invoke
startForeground
multi times, the last notification will not be able to dismissed. This pr add the check for it and only invokestartForeground
for the first notification.