hackthenorth / hackthenorth-android

Hack the North Android App (2014 Version)
26 stars 2 forks source link

Notifications #4

Open srcreigh opened 10 years ago

srcreigh commented 10 years ago

branched from issue #1 with @KartikTalwar

Notifications are important and I haven't worked with them before. Does anyone have experience with them or does research need to be done?

thoughts:

VicV commented 10 years ago

I've done notifications too many goddamn times.

We'll use GCM. Its straightforward enough.

If not we can do simple polling, but that removes our ability to issue notifications whenever we want.

srcreigh commented 10 years ago

I looked at GCM last night. It seems straightforward enough. 

If we're just pushing notifications to the phone, I was thinking we can just use some kind of script to make those requests and update firebase. We'll have to make sure this is possible for iOS notifications as well, though.

-------- Original message -------- From: Victor Vucicevich notifications@github.com Date:05/05/2014 2:33 PM (GMT-05:00) To: hackthenorth/hackthenorth-android hackthenorth-android@noreply.github.com Cc: Shane Creighton-Young srcreigh@uwaterloo.ca Subject: Re: [hackthenorth-android] Notifications (#4)

I've done notifications too many goddamn times.

We'll use GCM. Its straightforward enough.

If not we can do simple polling, but that removes our ability to issue notifications whenever we want.

— Reply to this email directly or view it on GitHub.

VicV commented 10 years ago

It is, its just a bit different.

But yeah thats exactly how GCM works. GCM doesn't only push notifications though, we just push information. So all we have to do is have a case where if we get an "update" command, we just update. Very straightforward.

On Mon, May 5, 2014 at 11:51 AM, Shane Creighton-Young < notifications@github.com> wrote:

I looked at GCM last night. It seems straightforward enough.

If we're just pushing notifications to the phone, I was thinking we can just use some kind of script to make those requests and update firebase. We'll have to make sure this is possible for iOS notifications as well, though.

-------- Original message -------- From: Victor Vucicevich notifications@github.com Date:05/05/2014 2:33 PM (GMT-05:00) To: hackthenorth/hackthenorth-android < hackthenorth-android@noreply.github.com> Cc: Shane Creighton-Young srcreigh@uwaterloo.ca Subject: Re: [hackthenorth-android] Notifications (#4)

I've done notifications too many goddamn times.

We'll use GCM. Its straightforward enough.

If not we can do simple polling, but that removes our ability to issue notifications whenever we want.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/hackthenorth/hackthenorth-android/issues/4#issuecomment-42223398 .

srcreigh commented 10 years ago

Cool. Sounds easy enough.

-------- Original message -------- From: Victor Vucicevich notifications@github.com Date:05/05/2014 2:53 PM (GMT-05:00) To: hackthenorth/hackthenorth-android hackthenorth-android@noreply.github.com Cc: Shane Creighton-Young srcreigh@uwaterloo.ca Subject: Re: [hackthenorth-android] Notifications (#4)

It is, its just a bit different.

But yeah thats exactly how GCM works. GCM doesn't only push notifications though, we just push information. So all we have to do is have a case where if we get an "update" command, we just update. Very straightforward.

On Mon, May 5, 2014 at 11:51 AM, Shane Creighton-Young < notifications@github.com> wrote:

I looked at GCM last night. It seems straightforward enough.

If we're just pushing notifications to the phone, I was thinking we can just use some kind of script to make those requests and update firebase. We'll have to make sure this is possible for iOS notifications as well, though.

-------- Original message -------- From: Victor Vucicevich notifications@github.com Date:05/05/2014 2:33 PM (GMT-05:00) To: hackthenorth/hackthenorth-android < hackthenorth-android@noreply.github.com> Cc: Shane Creighton-Young srcreigh@uwaterloo.ca Subject: Re: [hackthenorth-android] Notifications (#4)

I've done notifications too many goddamn times.

We'll use GCM. Its straightforward enough.

If not we can do simple polling, but that removes our ability to issue notifications whenever we want.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/hackthenorth/hackthenorth-android/issues/4#issuecomment-42223398 .

— Reply to this email directly or view it on GitHub.

srcreigh commented 10 years ago

Hey @VicV, I was thinking about this more last night:

LMK what you think of this design.

KartikTalwar commented 10 years ago

side note: how long does it take for an app to be published to both stores?

srcreigh commented 10 years ago

On iOS to be safe we should allocate two weeks, although it usually doesnt take more than a week and sometimes takes like a day. So... we should start very soon.

For Android, the turnaround time is a few hours.

KartikTalwar commented 10 years ago

cool, lets have things ship out by end of August then

On Thu, Jul 3, 2014 at 11:15 AM, Shane Creighton-Young < notifications@github.com> wrote:

On iOS to be safe we should allocate two weeks, although it usually doesnt take more than a week and sometimes takes like a day. So... we should start very soon.

For Android, the turnaround time is a few hours.

— Reply to this email directly or view it on GitHub https://github.com/hackthenorth/hackthenorth-android/issues/4#issuecomment-47965502 .

sitefeng commented 10 years ago

http://appreviewtimes.com

KartikTalwar commented 10 years ago

not bad. let's have end of August as our deadline