zom / Zom-Android-XMPP

THIS PROJECT IS NOW CLOSED. WE HAVE MOVED TO A NEW ZOM 2.0 MATRIX CORE. FOLLOW THE LINK!
https://github.com/zom/zom-android-matrix
GNU General Public License v3.0
141 stars 66 forks source link

Delayed notifications for messages #439

Open cstiens opened 6 years ago

cstiens commented 6 years ago

@n8fr8 On Monday, I didn't get any notifications for Zom until 10:30 pm, when they all came in at once. One message was sent the Friday before; the others were sent Monday morning.

n8fr8 commented 6 years ago

Just to clarify that the cause of this is different than on iOS... .meaning the fact that you didn't get notifications on Android meant the app was likely not running or signed in in the background, and when they "all came in at once" meant the app started up and signed in. This has nothing to do with the push server, etc.

cstiens commented 6 years ago

I haven't seen this in the latest build.

n8fr8 commented 6 years ago

The app can still be signed out in the background without warning the user. Need to look into this one more time.

tiffrobo commented 6 years ago

@iamironrabbit So we should see notifications or when the user opens the app see a 'network is offline' snackbar?
In the latest build this is what I'm seeing. Notifications come through at what seems to be stable and if there is a connection error, we see the snackbar to 'connect.'

Moto G play, Nexus 7, Moto E OS: Android 6.0.1, Android 5.1.1, Android 5.1 15.6.0-beta-1

iamironrabbit commented 6 years ago

We haven't made any special notification, but the app should be signed out less now. Let's do some testing, but leave this ticket open.