Skip to content Skip to sidebar Skip to footer

Is It Possible Starting Android Service And Broadcast When App Did Not Run Before

If my app runs once, service can start and request to server on background. But when app did not run before, service could not start. Is it possible starting service even that app

Solution 1:

No, it isn't possible.

When your app is getting installed for the first time OR was force-closed by the user, it is in "inactive" state (meaning no broadcast receivers or alarms will work), and will become active only when the user launches it manually.

See details here

Post a Comment for "Is It Possible Starting Android Service And Broadcast When App Did Not Run Before"