After some discussing with @Mardy. We discovered that what is causing
the bug is that, the messaging app now is a confined app, with that it
can not create accounts on behalf of address-book-app (contact account).

The solutions that we have are:

1 - Workaround online account daemon to accept this kind of action;
2 - Remove "import from google" button from messaging app;
3 - When the user click on "import from google" button from messaging app, it 
launches the address-book-app with a special argument, and the app launches the 
online account dialog.

I have implemented the solution number "3" on silo 46.

Any comments or suggestions?


** Also affects: online-accounts-api (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: online-accounts-api (Ubuntu)
     Assignee: (unassigned) => Alberto Mardegan (mardy)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to messaging-app in Ubuntu.
https://bugs.launchpad.net/bugs/1583014

Title:
  can't import contacts from google from messaging-app when no contacts
  exist

Status in Canonical System Image:
  Confirmed
Status in address-book-app package in Ubuntu:
  Confirmed
Status in messaging-app package in Ubuntu:
  Confirmed
Status in online-accounts-api package in Ubuntu:
  New

Bug description:
  Trying to send an sms, I click on the "person" icon to choose a
  contact. I have none, and the options are "+ Create new", "Import
  contacts from Google" and " Import contacts from SIM card". If I click
  the google option it does nothing (shows loading and goes back to the
  same screen showing the options) I guess it should take me to the "add
  google account" config somehow instead?

  Original reporter: Julia Palandri

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to