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) }