← Back to team overview

ubuntu-push-devs team mailing list archive

Re: Error with Push

 

I'm not sure what you're asking.

On the surface it reads like you're asking me whether there isn't a
way to use GCM, MPNS, APNS or A2DM to deliver push notifications to
Ubuntu phones. In general the answer to that is “no”, although you
might be able to set something up if you're a developer and you only
are interested in getting notifications to you yourself and not to any
users in general.

However, another way forward, if what you're asking is how you could
get notifications about this social network to ubuntu phone users in
general, would be to intermediate: create a web service that
authenticates to the social network on the users behalf, and polls for
updates, and creates push notifications from that. If the social
network in question uses oauth 2 it should be fairly straightforward
to do the auth dance without the user having to give you their
credentials.

A third way forward would be to poll from the phone, but that's
terrible from battery and user experience, so I'd recommend against
that in all cases.

On 23 February 2015 at 14:41, Roman Zonov <roman2861@xxxxxxxxx> wrote:
> I'm sure, that VK (social network) won't add Ubuntu support. So, there is no
> opportunity?
>
> 23.02.2015, 17:40, "John Lenton" <john.lenton@xxxxxxxxxxxxx>:
>
> GCM is for google, MPNS is for microsoft, APNS is for apple, A2DM is
> for google (again).
>
> Ubuntu is none of these; they'd have to add us in there.
>
> On 23 February 2015 at 14:26, Roman Zonov <roman2861@xxxxxxxxx> wrote:
>
>  On the desktop.
>
>  Thanks, fixed it by launching on device. But I have another question: I
> want
>  to use Push, but site, from which I want to grab notifications, doesn't
>  provide Ubuntu Touch type of push. GCM, MPNS, APNS or C2DM. It is
> impossible
>  to receive notifications?
>
>  23.02.2015, 12:52, "John Lenton" <john.lenton@xxxxxxxxxxxxx>:
>
>  Because you're not running the push notifications service. Where are
>  you running the app?
>
>  On 22 February 2015 at 16:37, Roman Zonov <roman2861@xxxxxxxxx> wrote:
>
>   Hello everybody. Can anybody explain, why demo app shows me "error: the
>  name
>   com.ubuntu.pushnotifications was not provided by any .service files"
> error?
>
>   --
>   Best regards,
>   Roman Zonov.
>
>   VK: http://vk.com/zonov_roman
>   Facebook: https://www.facebook.com/roman2861
>   Twitter: https://twitter.com/zonov_roman
>
>
>   --
>   Mailing list: https://launchpad.net/~ubuntu-push-devs
>   Post to     : ubuntu-push-devs@xxxxxxxxxxxxxxxxxxx
>   Unsubscribe : https://launchpad.net/~ubuntu-push-devs
>   More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
>  --
>  Best regards,
>  Roman Zonov.
>
>  VK: http://vk.com/zonov_roman
>  Facebook: https://www.facebook.com/roman2861
>  Twitter: https://twitter.com/zonov_roman
>
>
>
>
>
> --
> Best regards,
> Roman Zonov.
>
> VK: http://vk.com/zonov_roman
> Facebook: https://www.facebook.com/roman2861
> Twitter: https://twitter.com/zonov_roman
>


Follow ups

References