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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1530630

Title:
  Receive notification about MMS with mobile data turned off

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to