You can solve this by using an actual Service instead of an IntentService

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Cannot get MediaPlayer.prepareAsync to work
    via Stack Overflow by JimCzek
  • Clarity on IntentService
    via Stack Overflow by Napster
  • Stopping CaptureCallback request
    via by Unknown author,
  • GitHub comment 5#92084569
    via GitHub by madhavajay
  • GitHub comment 2#92100787
    via GitHub by madhavajay
    • java.lang.IllegalStateException: { when=0 what=4 target=com.marianhello.react.BackgroundGeolocationModule$IncomingHandler } This message is already in use. at android.os.MessageQueue.enqueueMessage( at android.os.Handler.enqueueMessage( at android.os.Handler.sendMessageAtTime( at android.os.Handler.sendMessageDelayed( at android.os.Handler.sendMessage( at android.os.Handler$MessengerImpl.send( at android.os.Messenger.send( at com.marianhello.bgloc.LocationService.sendClientMessage( at com.marianhello.bgloc.LocationService.handleLocation( at com.marianhello.bgloc.AbstractLocationProvider.handleLocation( at com.tenforwardconsulting.bgloc.DistanceFilterLocationProvider.onLocationChanged( at android.location.LocationManager$ListenerTransport._handleMessage(

    Users with the same issue

    4448 times, last one,
    85 times, last one,
    Hiren Amaliyar
    245 times, last one,
    Agócs Tamás
    24 times, last one,
    Indri Yunita
    59 times, last one,
    94 more bugmates