Re: [Ring] Sending failes or takes hours even if my contacts are online

2018-01-17 Thread inderaue23
Thanks Sébastien for your explanation! But spoken with tons of privacy & 
security concerns: All the messages have to go through Google and Apple then, 
right?

> Maxim Cournoyer  hat am 16. Januar 2018 
> um 20:21 geschrieben:
>
>
> >> - Original Message -
> >> > From: inderau...@arcor.de
> >> > To: "Maxim Cournoyer" 
> >> > Cc: ring@gnu.org
> >> > Sent: Tuesday, January 16, 2018 1:26:05 PM
> >> > Subject: Re: [Ring] Sending failes or takes hours even if my contacts 
> >> > are online
> >>
> >> > Hi Maxim,
> >> >
> >> > you mean that my Android contact's should check their power settings, 
> >> > right?
> >>
> >> Yes, if your contacts are using Ring on Android, they would have to make 
> >> sure
> >> their Ring client is not "power optimized" by Android.
> >> This isn't very user friendly; we are working on push notifications that 
> >> should
> >> make things easier in this regard.
> >
> > Btw. do push notifications work in a decentralised network - without 
> > connecting
> > to servers running in the background?
>
> Short answer: no. The push service frameworks available on mainstream mobile 
> platforms (Android, iOS) are centralized by nature: a connection is at all 
> times maintained between them and the push server, AFAIK.
>
> Maxim


Re: [Ring] Sending failes or takes hours even if my contacts are online

2018-01-16 Thread AmarOk

Long answer to describe a little bit how works push notifications.

Push notifications on a device works with the push provider of the 
device vendor (for example, APN for iOS). A notification pass through 
this provider and is connected to your phone. Because it uses 
authentification, only nodes which have some infos can send 
notifications to your phone (like a certificate).


In short, if you want to use notifications, you will ask a node to 
listen the DHT for your phone. When a node receives a new value it will 
send a wake up notification through a push server (which have infos to 
send notifications). This push server will use the API of the push 
provider which will send the notification to your phone (and your phone 
will wake up and get the value from the DHT)


So, technically, the push provider is a central point.

I wrote a this on the wiki: 
https://github.com/savoirfairelinux/opendht/wiki/Push-notifications-support


Have a nice day,


On 01/16/2018 02:21 PM, Maxim Cournoyer wrote:

- Original Message -

From: inderau...@arcor.de
To: "Maxim Cournoyer" 
Cc: ring@gnu.org
Sent: Tuesday, January 16, 2018 1:26:05 PM
Subject: Re: [Ring] Sending failes or takes hours even if my contacts are online
Hi Maxim,

you mean that my Android contact's should check their power settings, right?

Yes, if your contacts are using Ring on Android, they would have to make sure
their Ring client is not "power optimized" by Android.
This isn't very user friendly; we are working on push notifications that should
make things easier in this regard.

Btw. do push notifications work in a decentralised network - without connecting
to servers running in the background?

Short answer: no. The push service frameworks available on mainstream mobile 
platforms (Android, iOS) are centralized by nature: a connection is at all 
times maintained between them and the push server, AFAIK.

Maxim






Re: [Ring] Sending failes or takes hours even if my contacts are online

2018-01-16 Thread inderaue23

> Maxim Cournoyer  hat am 16. Januar 2018 
> um 20:21 geschrieben:
> 
> 
> >> - Original Message -
> >> > From: inderau...@arcor.de
> >> > To: "Maxim Cournoyer" 
> >> > Cc: ring@gnu.org
> >> > Sent: Tuesday, January 16, 2018 1:26:05 PM
> >> > Subject: Re: [Ring] Sending failes or takes hours even if my contacts 
> >> > are online
> >> 
> >> > Hi Maxim,
> >> > 
> >> > you mean that my Android contact's should check their power settings, 
> >> > right?
> >> 
> >> Yes, if your contacts are using Ring on Android, they would have to make 
> >> sure
> >> their Ring client is not "power optimized" by Android.
> >> This isn't very user friendly; we are working on push notifications that 
> >> should
> >> make things easier in this regard.
> > 
> > Btw. do push notifications work in a decentralised network - without 
> > connecting
> > to servers running in the background?
> 
> Short answer: no. The push service frameworks available on mainstream mobile 
> platforms (Android, iOS) are centralized by nature: a connection is at all 
> times maintained between them and the push server, AFAIK.

https://gerrit-ring.savoirfairelinux.com/#/c/8712/
so all my data will be connected to Google soon?
Or will push notifications be optional? Will the servers be maintained by 
Savoir-faire Linux or self-hostable?

> 
> Maxim



Re: [Ring] Sending failes or takes hours even if my contacts are online

2018-01-16 Thread Maxim Cournoyer
>> - Original Message -
>> > From: inderau...@arcor.de
>> > To: "Maxim Cournoyer" 
>> > Cc: ring@gnu.org
>> > Sent: Tuesday, January 16, 2018 1:26:05 PM
>> > Subject: Re: [Ring] Sending failes or takes hours even if my contacts are 
>> > online
>> 
>> > Hi Maxim,
>> > 
>> > you mean that my Android contact's should check their power settings, 
>> > right?
>> 
>> Yes, if your contacts are using Ring on Android, they would have to make sure
>> their Ring client is not "power optimized" by Android.
>> This isn't very user friendly; we are working on push notifications that 
>> should
>> make things easier in this regard.
> 
> Btw. do push notifications work in a decentralised network - without 
> connecting
> to servers running in the background?

Short answer: no. The push service frameworks available on mainstream mobile 
platforms (Android, iOS) are centralized by nature: a connection is at all 
times maintained between them and the push server, AFAIK.

Maxim



Re: [Ring] Sending failes or takes hours even if my contacts are online

2018-01-16 Thread inderaue23

> Maxim Cournoyer  hat am 16. Januar 2018 
> um 19:39 geschrieben:
> 
> 
> Hello,
> 
> - Original Message -
> > From: inderau...@arcor.de
> > To: "Maxim Cournoyer" 
> > Cc: ring@gnu.org
> > Sent: Tuesday, January 16, 2018 1:26:05 PM
> > Subject: Re: [Ring] Sending failes or takes hours even if my contacts are 
> > online
> 
> > Hi Maxim,
> > 
> > you mean that my Android contact's should check their power settings, right?
> 
> Yes, if your contacts are using Ring on Android, they would have to make sure 
> their Ring client is not "power optimized" by Android.
> This isn't very user friendly; we are working on push notifications that 
> should make things easier in this regard.

Btw. do push notifications work in a decentralised network - without connecting 
to servers running in the background?

> 
> Thank you,
> 
> Maxim



Re: [Ring] Sending failes or takes hours even if my contacts are online

2018-01-16 Thread inderaue23

> Maxim Cournoyer  hat am 16. Januar 2018 
> um 19:39 geschrieben:
> 
> 
> Hello,
> 
> - Original Message -
> > From: inderau...@arcor.de
> > To: "Maxim Cournoyer" 
> > Cc: ring@gnu.org
> > Sent: Tuesday, January 16, 2018 1:26:05 PM
> > Subject: Re: [Ring] Sending failes or takes hours even if my contacts are 
> > online
> 
> > Hi Maxim,
> > 
> > you mean that my Android contact's should check their power settings, right?
> 
> Yes, if your contacts are using Ring on Android, they would have to make sure 
> their Ring client is not "power optimized" by Android.

Ok, will ask them, look into that and get back to you!

> This isn't very user friendly; we are working on push notifications that 
> should make things easier in this regard.

Pretty nice, thanks for working on this!

> 
> Thank you,
> 
> Maxim



Re: [Ring] Sending failes or takes hours even if my contacts are online

2018-01-16 Thread Maxim Cournoyer
Hello,

- Original Message -
> From: inderau...@arcor.de
> To: "Maxim Cournoyer" 
> Cc: ring@gnu.org
> Sent: Tuesday, January 16, 2018 1:26:05 PM
> Subject: Re: [Ring] Sending failes or takes hours even if my contacts are 
> online

> Hi Maxim,
> 
> you mean that my Android contact's should check their power settings, right?

Yes, if your contacts are using Ring on Android, they would have to make sure 
their Ring client is not "power optimized" by Android.
This isn't very user friendly; we are working on push notifications that should 
make things easier in this regard.

Thank you,

Maxim



Re: [Ring] Sending failes or takes hours even if my contacts are online

2018-01-16 Thread inderaue23
Hi Maxim,

you mean that my Android contact's should check their power settings, right?

> Maxim Cournoyer  hat am 12. Januar 2018 
> um 18:07 geschrieben:
> 
> 
> Hi Anna,
> 
> - Original Message -
> > From: "Anna Marei" 
> > To: ring@gnu.org
> > Sent: Tuesday, January 2, 2018 12:32:40 PM
> > Subject: [Ring] Sending failes or takes hours even if my contacts are online
> 
> > Happens from Linux (GNOME) to Android contacts. Any idea?
> 
> I'm guessing that your Android contacts' Ring are actually offline even if 
> you think they should be running. Look into your power optimization settings 
> and try to whitelist Ring so that Android doesn't put Ring to sleep when it's 
> running in the background.
> 
> Maxim



[Ring] Sending failes or takes hours even if my contacts are online

2018-01-02 Thread Anna Marei
Happens from Linux (GNOME) to Android contacts. Any idea?