Open MohHeader opened 10 years ago
@MohHeader When a new article is posted on the site, a notification should appears on the device telling that a new article is available. This has already been implemented, but it doesn't seems to work properly. Most of the times, there is no notification when a new article is posted.
Also, it seems that sometimes when I post a new article on the site and I try to open the app, I get a Force Close and the app doesn't open. But I'm not really sure if this have something to do with the notification problem...
@JeremyPP , Do you have a ready way to test this issue ? i.e. Staging Server for Example or I have to simulate the webservice on my machine ?
@MohHeader Unfortunately, the only way that I have to test this is when a new article is posted. If you have another way to simulate this locally, it would be much easier.
Ok, I will be simulating the issue locally :)
http://bbowden.tumblr.com/post/58650831283/accessing-a-localhost-server-from-the-genymotion
@JeremyPP , I did minor changes, So please let your eye on the issue :), and update me.
I've posted a new article today, and I haven't seen any notification. To be honest, I think that the better thing to do would be to implement the notifications from the beginning again. Because I'm not sure that it was well implemented on the first time.
@JeremyPP , BTW What about adopting Push Notification instead of Pulling data from the server ? http://developer.android.com/google/gcm/index.html
@MohHeader It seems to be a really better idea!
I think I have fixed this bug. I found an error with the notification service and fixed it.
@JeremyPP , Clarify please.