flsHello 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
MattJfls: 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
MattJThere are a few hacky workarounds, but they aren't reliable and can break between different OS versions
MattJApple and Google just want everyone to go through their services
flsMattJ: 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
defanorOOC, do community-maintained operating systems for mobile devices--such as LineageOS--behave the same wrt connections?
MattJI'd say generally yes, though they tend to be a bit more flexible
MattJThe "feature" is built into Android, but different vendors apply different optimisations of their own on top of Android's which makes them worse
MattJSee also https://dontkillmyapp.com/
MattJI don't know if Lineage do something on top of AOSP in this regard, but https://dontkillmyapp.com/google discusses the base Android behaviour
defanorThanks, reading.
ZashThe Android runtime on my Jolla seems to let Conversations stay connected just fine.
MartinMaybe your server is more tolerant about ciphers.
MartinBut 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.
ZashI meant the forced app killing in the name of battery savings.
MartinAh 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.