You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There already exists a button which when clicked, cancels location sharing. But the cancellation should be handled properly and stopLocationSharing() method must be called from there so that the data is saved to firebase.
val cancelIntent =Intent(this, ForegroundOnlyLocationService::class.java)
cancelIntent.putExtra(EXTRA_CANCEL_LOCATION_TRACKING_FROM_NOTIFICATION, true)
val servicePendingIntent =PendingIntent.getService(
this, 0, cancelIntent, PendingIntent.FLAG_UPDATE_CURRENT
)
The text was updated successfully, but these errors were encountered:
There already exists a button which when clicked, cancels location sharing. But the cancellation should be handled properly and
stopLocationSharing()
method must be called from there so that the data is saved to firebase.The text was updated successfully, but these errors were encountered: