shotvibe / shotvibe-web

ShotVibe REST API webservice
1 stars 0 forks source link

when I delete album from the Administration website - they are not been immediately deleted from the mobile app on the android #34

Closed omershotvibe closed 11 years ago

omershotvibe commented 11 years ago

first, they are dropping down to the bottom of the albums list in the home page, and only when I am refreshing they are disapearing

prudnikov commented 11 years ago

If you want them to disappear immediately we should create something like long polling service. Also, I don't think this is good for mobile device working on mobile internet because long polling means always connected to the server by sending request one after onther. One request can last one to 5 minutes. Otherwise they will disappear only on refresh.

benny-shotvibe commented 11 years ago

Actually, the built in android push notification system that we are using already takes care of all of this.

The problem is that when deleting albums from the admin, it bypasses our code, and the push notification is not sent.

I think this will be fixed once we switch to the improved signal based system for sending push notifications.

There is also currently a bug in the android app, where even when the app detects a deleted album, there is a delay before it is actually removed from the screen. I think this is what omer is talking about. The relevant issue is: https://github.com/shotvibe/shotvibe-android-client/issues/82

benny-shotvibe commented 11 years ago

I'm closing this, since this issue is really this bug in the android client: https://github.com/shotvibe/shotvibe-android-client/issues/82