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

ssh - Vagrant Windows - ssh_exchange_identification: read: Connection reset by peer -

gcc - Neither ld wrap nor LD_PRELOAD working to intercept system call -

maven - jacoco coverage per test setup -