The problem we have is that nuntium simply ignores the push notifications, so 
the upper layers never receive any signal, and it
wont trigger a download once mobile data is active.

func (mediator *Mediator) 
handleDeferredDownload(mNotificationInd*mms.MNotificationInd) {
        //TODO send MessageAdded with status="deferred" and mNotificationInd 
relevant headers
}

We would need to store the push notification locally in nuntium, send a
signal to the upper layers (telepathy-ofono) so the indicator could
display a notification asking the user to activate mobile data and then
on nuntium trigger the downloads once it detects mobile data is active.
That would be the easiest path for now.

If we wish to add them to the history service so they appear in messaging-app 
and the user has the chance to trigger the download
manually, more work will be needed, since that involves implementing the 
telepathy file transfer api.

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to ofono in Ubuntu.
https://bugs.launchpad.net/bugs/1530630

Title:
  Receive notification about MMS with mobile data turned off

Status in Canonical System Image:
  Confirmed
Status in nuntium:
  New
Status in nuntium package in Ubuntu:
  Confirmed
Status in ofono package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  Please look at example:

  8:00 Mobile data turned on
  ....
  12:02 Mobile data turned off
  ...
  12:04 - someone send us MMS
  12:04 - we should get some information that there is MMS pending to download 
- but we don't get it
  ...
  12:10 Mobile data turned on
  ...
  In that case we don't know that someone send us MMS and we don't get that 
MMS. We should get some info about MMS pending, even while mobile data or WiFi 
is off (like in other OSes)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1530630/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-phonedations-bugs
Post to     : ubuntu-phonedations-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phonedations-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to