oxen-io / session-android

A private messenger for Android.
https://getsession.org
GNU General Public License v3.0
1.73k stars 165 forks source link

Push notifications on de-Googled devices #169

Open hialvaro opened 4 years ago

hialvaro commented 4 years ago

Have you checked on OpenPush for Android without Google Services push notifications? Is under development but maybe it helps to solve the "problem"

KeeJef commented 4 years ago

I think OpenPush is going to face the same issues as all other previous approaches, which is the device OS likes to shutdown background and even foreground services that it feels are draining the device battery. Also OpenPush looks like its still waiting on an Android client implementation (Only server right now?)

Sepero commented 3 years ago

*possible duplicate to #558

byteme-git commented 2 years ago

Maybe i'm missing a key difference here but signals solution seems to work quite well. As far as i understand it, the app uses a permanent notification to avoid being closed. I use a degoogled phone (microG but without device registration & google push notifications) and it works super reliably.

sc0w commented 2 years ago

more info about openpush:

https://www.youtube.com/watch?v=mxB6_ZsotR8

citizenserious commented 2 years ago

Signal and Telegram FOSS are using a live notification, besides that Unified Push (NextPush) could be an option too. https://unifiedpush.org/users/distributors/nextpush/

gitbq commented 1 year ago

This seems like a really important requirement that seems intrinsic to the premise of session. Is it not possible for a foreground service to be used? Currently apps like signal, conversations, simplexchat all support de-gooogled devices.

majestrate commented 1 year ago

according to https://bubu1.eu/openpush/

Note: This is is an unfinished prototype project that's currently not being continued. The design detailed below might still be of interest to people and I still recommend watching the FOSDEM talk.

andrewheadricke commented 1 year ago

Here is a very basic hack to make session run as a foreground service (like signal & elements do).

https://github.com/oxen-io/session-android/pull/1124