-
Notifications
You must be signed in to change notification settings - Fork 545
Android O background service limitations #467
Comments
Hi @bogdanzurac,
I don't think this can really have an impact on RS services. But it would
be nice to test it and see how it behaves with the newest APIs.
Most of RS services do actually execute in the foreground, but this highly
depends f the way an app uses RS..
Stephane
2017-04-02 21:22 GMT+02:00 bogdanzurac <[email protected]>:
… How do the new background service limitations in the newest Android O
Developer Preview affect RoboSpice? Even on earlier releases, when the
Activity goes into background and a request hasn't finished yet, a blank
notification is being shown.
Reference: https://developer.android.com/preview/features/background.
html#services
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#467>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ABv33QbEu1osuwbVkHAsOTiwWOtrNBlZks5rr_VpgaJpZM4Mw5vx>
.
|
Actually I get an IllegalStateException when my app is awoken from the background by an registered alarm through the AlarmManager:
|
Hey there. We are facing similar problems: tryToStartService crashes on Android 8.x devices, since Google limited the backgrounds executions. @stephanenicolas Is there any update for robospice in sight, that uses the new startForegroundService method for 8.x devices, as Google introduced here: https://developer.android.com/about/versions/oreo/android-8.0-changes.html |
Should seriously consider switching to the new, official Android Arch Components. I wouldn't recommend RS on any new project. Now don't get me wrong, it was a very useful library for a quite long time, but its architecture doesn't really suit where Android is at this point. Not to mention the fact that the library hasn't seen an update in over 3 years. Again, I don't mean to offend anybody on the team, especially @stephanenicolas. You've done a tremendously amazing job with RS and all of us are extremely grateful for that. But I think it's time to call it in. |
Thx a lot Bogdan for these kind words. But yes, we froze RS last week, the library is not maintained anymore. Personnally, I now always use a mix of retrofit and Rx instead, RS has sailed a long way home and yes, the latest constraints in android O don't make it easy for RS at all, it's probably the last nail in its coffin. Thx to all RS users for your warm support, it's been a pleasure to ofer this library to the community. Thx to @rciovati too for his important contributions to RS ! |
How do the new background service limitations in the newest Android O Developer Preview affect RoboSpice? Even on earlier releases, when the Activity goes into background and a request hasn't finished yet, a blank notification is being shown.
Reference: https://developer.android.com/preview/features/background.html#services
The text was updated successfully, but these errors were encountered: