From 8e155366451bca36a4b2265a0660dc458c4cedf9 Mon Sep 17 00:00:00 2001 From: Hamza Ayed <65548534+Hamza-Ayed@users.noreply.github.com> Date: Mon, 22 Jul 2024 00:05:07 +0300 Subject: [PATCH] Update LocationUpdatesService.kt --- .../com/almoullim/background_location/LocationUpdatesService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/kotlin/com/almoullim/background_location/LocationUpdatesService.kt b/android/src/main/kotlin/com/almoullim/background_location/LocationUpdatesService.kt index 991f036..e3e427d 100644 --- a/android/src/main/kotlin/com/almoullim/background_location/LocationUpdatesService.kt +++ b/android/src/main/kotlin/com/almoullim/background_location/LocationUpdatesService.kt @@ -154,7 +154,7 @@ class LocationUpdatesService : Service() { val filter = IntentFilter() filter.addAction(STOP_SERVICE) if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { - registerReceiver(broadcastReceiver, filter, RECEIVER_EXPORTED) + registerReceiver(broadcastReceiver, filter, RECEIVER_NOT_EXPORTED) } else { registerReceiver(broadcastReceiver, filter) }