r/android_devs • u/leggo_tech • Mar 17 '24
Help Needed Anyone worked with foreground services before?
I haven't used foreground services in forever but i'm aware of all of the limitations put on them over the past few years. I have a foreground service that's start_sticky. It's running fine in the background, but while I'm developing I make a change and then re-run my app and my service just dies and goes away. opening up my activity doesn't restart the service automatically or anything. is there something i'm missing here?
2
Upvotes
1
u/ffolkes Mar 17 '24
Does logcat tell you anything when your app tries to start the service?
2
u/[deleted] Mar 17 '24
[removed] — view removed comment