Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notifications #4

Open
srcreigh opened this issue May 3, 2014 · 10 comments
Open

Notifications #4

srcreigh opened this issue May 3, 2014 · 10 comments

Comments

@srcreigh
Copy link
Contributor

srcreigh commented May 3, 2014

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:

  • Not sure if notifications would be coupled with Firebase at all
  • I'm not sure if we'll need some kind of simple backend server or something
@VicV
Copy link

VicV commented May 5, 2014

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
Copy link
Contributor Author

srcreigh commented May 5, 2014

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 [email protected]
Date:05/05/2014 2:33 PM (GMT-05:00)
To: hackthenorth/hackthenorth-android [email protected]
Cc: Shane Creighton-Young [email protected]
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
Copy link

VicV commented May 5, 2014

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 <
[email protected]> 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 [email protected]
Date:05/05/2014 2:33 PM (GMT-05:00)
To: hackthenorth/hackthenorth-android <
[email protected]>
Cc: Shane Creighton-Young [email protected]
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//issues/4#issuecomment-42223398
.

@srcreigh
Copy link
Contributor Author

srcreigh commented May 5, 2014

Cool. Sounds easy enough.

-------- Original message --------
From: Victor Vucicevich [email protected]
Date:05/05/2014 2:53 PM (GMT-05:00)
To: hackthenorth/hackthenorth-android [email protected]
Cc: Shane Creighton-Young [email protected]
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 <
[email protected]> 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 [email protected]
Date:05/05/2014 2:33 PM (GMT-05:00)
To: hackthenorth/hackthenorth-android <
[email protected]>
Cc: Shane Creighton-Young [email protected]
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//issues/4#issuecomment-42223398
.


Reply to this email directly or view it on GitHub.

@srcreigh
Copy link
Contributor Author

srcreigh commented Jul 3, 2014

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

  • We can use Firebase to keep track of all the device IDs that we need to send notifications to.
  • We can write an update script (in python or whatever) that does a few things:
    1. Takes input from the user
    2. Makes a push/post to Firebase
    3. Reads all the device IDs from Firebase
    4. Makes the GCM HTTP requests (in the future iOS too)

LMK what you think of this design.

@KartikTalwar
Copy link
Member

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

@srcreigh
Copy link
Contributor Author

srcreigh commented Jul 3, 2014

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
Copy link
Member

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

On Thu, Jul 3, 2014 at 11:15 AM, Shane Creighton-Young <
[email protected]> 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
#4 (comment)
.

@sitefeng
Copy link

sitefeng commented Aug 4, 2014

@KartikTalwar
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants