Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context.startForegroundService() did not then call Service.startForeground() #524

Closed
xgustavoh opened this issue Apr 4, 2019 · 23 comments
Closed

Comments

@xgustavoh
Copy link

Good afternoon,
I had already commented on this error and had given it as "solved", but apparently the same still has problems.

Can it be "initialization" error of the component in React?

screencapture-play-google-apps-publish-2019-04-02-14_08_09

Info Context.startForegroundService() did not then call Service.startForeground(), InvisibleToUser:
screencapture-play-google-apps-publish-2019-04-04-15_12_20

Info Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{ba33f34 u0 com.hunterfm/com.guichaguri.trackplayer.service.MusicService}:
screencapture-play-google-apps-publish-2019-04-04-15_15_04

@ishigamii
Copy link
Contributor

Same here (#473)
I don't see anything in 1.1.4 that seems to solve this but I will give it a try just to check

@hiroyaiizuka
Copy link

any update ?

@FunkyLambda
Copy link

Not sure why there has been no update on this in over 6 months, but I'm having the same issue on v1.2.7.
They all appear to be happening on Android 11 devices according to my Crashlytics logs.

@reinhardholl
Copy link

We are seeing the same issue; Has anyone been able to solve it?

@mohity777
Copy link

Same happening in my app.
Screenshot 2021-06-29 at 3 51 01 PM

@justinhandley
Copy link
Contributor

Also seeing this, so far on Pixel 3 and Samsung Galaxy 9 - all running Android 11

`Message

android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{2a51d52 u0 org.monroeinstitute.expand/com.guichaguri.trackplayer.service.MusicService}

Traceback

android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{2a51d52 u0 org.monroeinstitute.expand/com.guichaguri.trackplayer.service.MusicService}
android.app.ActivityThread$H.handleMessage (ActivityThread.java:2005)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loop (Looper.java:223)
android.app.ActivityThread.main (ActivityThread.java:7664)
java.lang.reflect.Method.invoke (Method.java:-2)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947)`

@koreus7
Copy link

koreus7 commented Jul 23, 2021

👍 Also seeing this. Only on Android 11 + Samsung.

@gyoung-panopto
Copy link

I'm seeing the same issue in crash logs as well. Android 11-only.

@sierrakn
Copy link

sierrakn commented Aug 2, 2021

Has anyone found a workaround for this?

@mohity777

This comment has been minimized.

@dcvz dcvz closed this as completed Aug 10, 2021
@mohity777
Copy link

Why is it Closed?

@dcvz
Copy link
Contributor

dcvz commented Aug 10, 2021

Thanks for flagging this again @mohity777 we're in the process of cleaning up the backlog to give us a better ability to fix issues and maintain this library. I'll reopen this issue as its still relevant!

@dcvz dcvz reopened this Aug 10, 2021
@dcvz
Copy link
Contributor

dcvz commented Aug 11, 2021

We've merged this #1106 to address this issue on the v2 branch -- and will go out with v2.0.1 which has just been released!

@bradfloodx
Copy link
Collaborator

Should be resolved in ^v2.0.1

@mariasyedd
Copy link

Still occurring in v2.1.2

@jenshandersson
Copy link
Contributor

This is still occurring in the latest 2.2.0-rc

RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{392d34e u0 com.uptime/com.doublesymmetry.trackplayer.service.MusicService}

@piotrekzawada
Copy link

still occurring in 2.1.3

RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{607e5e9 u0 com.app.name/com.guichaguri.trackplayer.service.MusicService}

@opeyemiagbeja
Copy link

still hapenning

@luancurti
Copy link

Still ocurring in 2.1.3

Tested devices with this problem

Device: Samsung Galaxy S20 FE OS Version: Android 11
Device: Samsung Galaxy S20+ OS Version: Android 12

@doublesymmetry help us to fix this problem in this version before the breaking changes of the version 2.2.0

@bplucas
Copy link

bplucas commented Dec 14, 2022

We still see this issue on 3.2.0 - It seems to be happening exclusively for Samsungs on Android 12 - Do you think we should reopen this issue?

@praisedavid787
Copy link
Contributor

Hi guys, this issue needs to be reopened. It's been all over my play console as almost the only crash to be recorded multiple times a day. Only just started after 3.2.0 upgrade.

@martinmidtsund
Copy link
Contributor

@praisedavid787 These are probably related #1676

@praisedavid787
Copy link
Contributor

@martinmidtsund Definitely related sir, I'll follow up there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.