rschroll / gmail-scope

Gmail scope for Unity8
GNU General Public License v3.0
3 stars 0 forks source link

Any chance we get notifications working? #15

Open rubencaro opened 9 years ago

rubencaro commented 9 years ago

Is there any chance we get notifications working? If this works, it's perfect.

Thanks

rschroll commented 9 years ago

Scopes cannot provide notifications themselves, since they only run when requested. That said, I'd be happy to include a utility to provide notifications as part of this package.

My understanding is that this isn't possible, though. Apparently, there's only two ways for the phone to receive push notifications. The first is for the service provider to implement something that talks to Canonical's servers to push notifications to your phone. The second is to add code to account-polld (I think that's the name) to check GMail for new messages. Both of these are outside the scope of what we can do here.

I'd be happy to be proven wrong, though, so I'll leave this bug open in the hopes that someone more knowledgeable wanders by.