Hello guys, we are a team trying to develop a chat app like Whatsapp with XMPP, i have a simple question about push notifications; should we use FCM and APNS or we can have push notifications in our app without this two services? Thanks in advance.
edhelashas joined
MattJ
fls: hi! Unfortunately you will generally struggle without them because the mobile OS will terminate your app when it is in the background, including any XMPP connection
kikuchiyohas left
MattJ
There are a few hacky workarounds, but they aren't reliable and can break between different OS versions
MattJ
Apple and Google just want everyone to go through their services
fls
MattJ: thanks for your help friend.
sonnyhas left
sonnyhas joined
sonnyhas left
sonnyhas joined
sonnyhas left
sonnyhas joined
kikuchiyohas joined
paulhas joined
paulhas left
kikuchiyohas left
paulhas joined
kikuchiyohas joined
kikuchiyohas left
debaclehas joined
flshas left
kikuchiyohas joined
kikuchiyohas left
kikuchiyohas joined
kikuchiyohas left
sonnyhas left
sonnyhas joined
sonnyhas left
sonnyhas joined
kikuchiyohas joined
Zashhas left
Zashhas joined
kikuchiyohas left
sonnyhas left
sonnyhas joined
defanor
OOC, do community-maintained operating systems for mobile devices--such as LineageOS--behave the same wrt connections?
MattJ
I'd say generally yes, though they tend to be a bit more flexible
MattJ
The "feature" is built into Android, but different vendors apply different optimisations of their own on top of Android's which makes them worse
MattJ
See also https://dontkillmyapp.com/
MattJ
I don't know if Lineage do something on top of AOSP in this regard, but https://dontkillmyapp.com/google discusses the base Android behaviour
defanor
Thanks, reading.
Zash
The Android runtime on my Jolla seems to let Conversations stay connected just fine.
Martin
Maybe your server is more tolerant about ciphers.
Martin
But I saw some ssl error flashing for a fracture of a second when pulling repo headers with fdroid. I'll do the remaining updates till 3.3.x or whatever is the last one and see if it helps.
Zash
I meant the forced app killing in the name of battery savings.
Martin
Ah ok, I'm not yet at that point as I can't even log in. 😂
sonnyhas left
sonnyhas joined
sonnyhas left
sonnyhas joined
sonnyhas left
sonnyhas joined
kikuchiyohas joined
kikuchiyohas left
kikuchiyohas joined
kikuchiyohas left
waqashas joined
Beherithas left
Beherithas joined
alliehas joined
jonas’
MattJ, FTR, I’m running OK with lineageos on my samsung and Conversations from F-Droid. No google push involved.