Code Monkey home page Code Monkey logo

Comments (3)

Viish avatar Viish commented on July 28, 2024

Hi @lm2lm2,

This background mode was always a workaround, as Android doesn't like having an app that's always running.
Up until now it was kinda working, depending on the device manufacturer (maybe you remember https://dontkillmyapp.com).
With Android 15 that will be released in a few months, they are definitively killing that: a foreground datasync service will only be allowed 6 hours every day, so this mode will no longer be a solution when push notifications aren't available...

That being said, if it was working before and no longer does, it's likely because LineageOS changed something about that, as we didn't.
I couldn't check your logs because the link simply redirects towards the github issue, could you attach it again so I can confirm everything goes as expected in our app?

Cheers,

from linphone-android.

lm2lm2 avatar lm2lm2 commented on July 28, 2024

Hi @lm2lm2,

This background mode was always a workaround, as Android doesn't like having an app that's always running. Up until now it was kinda working, depending on the device manufacturer (maybe you remember https://dontkillmyapp.com). With Android 15 that will be released in a few months, they are definitively killing that: a foreground datasync service will only be allowed 6 hours every day, so this mode will no longer be a solution when push notifications aren't available...

That being said, if it was working before and no longer does, it's likely because LineageOS changed something about that, as we didn't. I couldn't check your logs because the link simply redirects towards the github issue, could you attach it again so I can confirm everything goes as expected in our app?

Cheers,

hello
xperia_linphone_lineageos_logs.txt

here is the log

on my side, i dont know but it's doing the same on default samsung galaxy android, on pixel/graphene and on xperia/lineage.
but it does it only after few days..

from linphone-android.

Viish avatar Viish commented on July 28, 2024

Thanks for the logs, but from them I can't tell you why the app is being killed, the OS isn't very verbose about it:

2024-05-30 12:29:15:666 [org.linphone/linphone-android] MESSAGE ==== Previous exit reason information dump ====
2024-05-30 12:29:15:666 [org.linphone/linphone-android] MESSAGE REASON=Signaled
2024-05-30 12:29:15:667 [org.linphone/linphone-android] MESSAGE TIMESTAMP=03-05-2024 16:53:59
2024-05-30 12:29:15:667 [org.linphone/linphone-android] MESSAGE DESCRIPTION=null

from linphone-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.