android - Firebase does not sync database anymore, when app is killed -


currently have service, adds change listeners realtime database (onchildadded, onchildchanged etc.), started on boot. when start app , exit , remove recent apps screen, android kills , don't receive database changes anymore. can't fire notifications anymore, notify user, there new data in database.

is there way without creating permanent notification, prevents android killing service?


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -