You do write that the “IllegalArgumentException” on different IDs only shows on Oreo, but I myself…
Christian Kaiser

Sorry for the late reply. I always saw illegal state exception on the oreo device(Nexus 6P) whenever I start a background service with target sdk 26. (And please note that it would be issued when app is on the background state.)

Receiver is not same with background job, though it has some limitations to receive events. Samsung has own battery optimizer on their product. So I just guess your case came from that situation.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.