Decide and adapt push strategy
Now I'm seeing the notifications appear and quickly get dismissed automatically.
could you describe the progress on this/what this issue refers to/enough for me to take it over? @FredericJacobs
@corbett: Read IRC backlog
I don't have access to that at this stage.
On Tue, Jan 6, 2015 at 11:19 PM, Frederic Jacobs [email protected] wrote:
@corbett https://github.com/corbett: Read IRC backlog
— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/272#issuecomment-68952878 .
Dr. Corbett Moran Rockets @ http://www.spacex.com Physics @ http://www.ICS.uzh.ch http://www.ICS.uzh.ch Dev @ http://circleof6app.com Dev @ https://whispersystems.org www.christinecorbettmoran.com
maybe if you give me a hint about what date you mean?
On Tue, Jan 6, 2015 at 11:23 PM, Christine Corbett Moran < [email protected]> wrote:
I don't have access to that at this stage.
On Tue, Jan 6, 2015 at 11:19 PM, Frederic Jacobs <[email protected]
wrote:
@corbett https://github.com/corbett: Read IRC backlog
— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/272#issuecomment-68952878 .
Dr. Corbett Moran Rockets @ http://www.spacex.com Physics @ http://www.ICS.uzh.ch http://www.ICS.uzh.ch Dev @ http://circleof6app.com Dev @ https://whispersystems.org www.christinecorbettmoran.com
Dr. Corbett Moran Rockets @ http://www.spacex.com Physics @ http://www.ICS.uzh.ch http://www.ICS.uzh.ch Dev @ http://circleof6app.com Dev @ https://whispersystems.org www.christinecorbettmoran.com
Date?
yes to look for the logs in. like was this recently? or when? I don't read all logs?
On Tue, Jan 6, 2015 at 11:27 PM, Frederic Jacobs [email protected] wrote:
Date?
— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/272#issuecomment-68953869 .
Dr. Corbett Moran Rockets @ http://www.spacex.com Physics @ http://www.ICS.uzh.ch http://www.ICS.uzh.ch Dev @ http://circleof6app.com Dev @ https://whispersystems.org www.christinecorbettmoran.com
Yesterday's logs.
OK, I'll see if I had a session open somewhere... =0.
On Tue, Jan 6, 2015 at 11:30 PM, Frederic Jacobs [email protected] wrote:
Yesterday's logs.
— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/272#issuecomment-68954264 .
Dr. Corbett Moran Rockets @ http://www.spacex.com Physics @ http://www.ICS.uzh.ch http://www.ICS.uzh.ch Dev @ http://circleof6app.com Dev @ https://whispersystems.org www.christinecorbettmoran.com
yea, I can't access my servers or vpn from this net connection
On Tue, Jan 6, 2015 at 11:31 PM, Christine Corbett Moran < [email protected]> wrote:
OK, I'll see if I had a session open somewhere... =0.
On Tue, Jan 6, 2015 at 11:30 PM, Frederic Jacobs <[email protected]
wrote:
Yesterday's logs.
— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/272#issuecomment-68954264 .
Dr. Corbett Moran Rockets @ http://www.spacex.com Physics @ http://www.ICS.uzh.ch http://www.ICS.uzh.ch Dev @ http://circleof6app.com Dev @ https://whispersystems.org www.christinecorbettmoran.com
Dr. Corbett Moran Rockets @ http://www.spacex.com Physics @ http://www.ICS.uzh.ch http://www.ICS.uzh.ch Dev @ http://circleof6app.com Dev @ https://whispersystems.org www.christinecorbettmoran.com
@corbett: In short, background fetch is too unreliable. Background decrypt won't work at a larger scale. Server will have to count number of messages awaiting delivery that are not delivery receipts and send that as a badge in the push notification. Sad, but that's one of the limitations of iOS.
ok, so my understanding of that summary is that a) the server takes care of the issue b) we could close this issue in that case?
On Wed, Jan 7, 2015 at 10:31 AM, Frederic Jacobs [email protected] wrote:
@corbett https://github.com/corbett: In short, background fetch is too unreliable. Background decrypt won't work at a larger scale. Server will have to count number of messages awaiting delivery that are not delivery receipts and send that as a badge in the push notification. Sad, but that's one of the limitations of iOS.
— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/272#issuecomment-69004232 .
Dr. Corbett Moran Rockets @ http://www.spacex.com Physics @ http://www.ICS.uzh.ch http://www.ICS.uzh.ch Dev @ http://circleof6app.com Dev @ https://whispersystems.org www.christinecorbettmoran.com
No, we'll have to adapt the code base with the new push strategy and this issue represents that adaptation imo.
OK. so I still have not enough information to do anything about the issue (including priority for launch and needed changes). as you are not working on the codebase this month you will have to do a download of that information to me.
On Wed, Jan 7, 2015 at 10:36 AM, Frederic Jacobs [email protected] wrote:
No, we'll have to adapt the code base with the new push strategy and this issue represents that adaptation imo.
— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/272#issuecomment-69004717 .
Dr. Corbett Moran Rockets @ http://www.spacex.com Physics @ http://www.ICS.uzh.ch http://www.ICS.uzh.ch Dev @ http://circleof6app.com Dev @ https://whispersystems.org www.christinecorbettmoran.com
@corbett: Everything is in the backlog when you get to read that and you'll be with the oracle (@moxie0) soon that will implement it server-side.
ok... I am just not sure I will get to read the backlog! I will ask Moxie I guess, in general I prefer any issue to have enough information for a arbitrary implementer to give it a go. I try to document my progress in issues to help facilitate that.
On Wed, Jan 7, 2015 at 10:41 AM, Frederic Jacobs [email protected] wrote:
@corbett https://github.com/corbett: Everything is in the backlog when you get to read that and you'll be with the oracle (@moxie0 https://github.com/moxie0) soon that will implement it server-side.
— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/272#issuecomment-69005188 .
Dr. Corbett Moran Rockets @ http://www.spacex.com Physics @ http://www.ICS.uzh.ch http://www.ICS.uzh.ch Dev @ http://circleof6app.com Dev @ https://whispersystems.org www.christinecorbettmoran.com
OK, after some discussions I think I get the issue. still am unable to read mentioned logs, but it seems we'll be able to remove some logic on the client side and simplify things, once some changes on the server are made. this will improve performance. I've assigned the issue to me.
Is there an API for the app to check whether background update is active? If yes, when background update is off, the server sends normal notifications. With background update active, the server can send a silent notification with the payload, the app decrypts the message on background and shows the decrypted message as a local notification.
You could explain under Signal (App) -> Settings -> Notification Display Style that the options "NO PREVIEW WITH NAME" and "PREVIEW WITH NAME" are only possible with background update active.
If it's too complex to implement (there is not such an API or server must be adapted), you could put off background decryption.
this issue has already been decided.
On Wed, Jan 7, 2015 at 11:51 AM, NicolasCGN [email protected] wrote:
Is there an API for the app to check whether background update is active? If yes, when background update is off, the server sends normal notifications. With background update active, the server can send a silent notification with the payload, the app decrypts the message on background and shows the decrypted message as a local notification.
You could explain under Signal (App) -> Settings -> Notification Display Style that the options "NO PREVIEW WITH NAME" and "PREVIEW WITH NAME" are only possible with background update active.
If it's too complex to implement (there is not such an API or server must be adapted), you could put off background decryption.
— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/272#issuecomment-69012141 .
Dr. Corbett Moran Rockets @ http://www.spacex.com Physics @ http://www.ICS.uzh.ch http://www.ICS.uzh.ch Dev @ http://circleof6app.com Dev @ https://whispersystems.org www.christinecorbettmoran.com