Can't save contacts with Google Contacts


  • developer

    Is this maybe the same as https://forums.bitfire.at/topic/2333/save-contact-to-on-note10/ and rather related to Google Contacts instead of Android 11?

    I can’t reproduce the problem in the emulator with the same Android version: 11 (RPB1.200504.020) and com.android.contacts 1.7.31.

    Can you try another contacts app, for instance Simple Contacts?t


  • developer

    Two threads merged. We have also received this related tweet:

    https://twitter.com/one_solo/status/1280443556105240576

    hello, just found out that w/ the latest Google Contacts (v3.26.2.316952635) my carddav account doesn’t show anymore under the picker accounts. I reverted to an old version and it shows normally


  • developer

    This seems to only affect

    • Android 11, in combination with
    • the latest Google Contacts app, which has been marked as “compatible with Android 11” (targetSdkLevel=30).

    In Android 11, apps which are marked as compatible with Android 11 can’t see other apps anymore, unless they use one of these methods: https://developer.android.com/preview/privacy/package-visibility#all-apps

    Google Contacts doesn’t use any of these methods, so it doesn’t see DAVx⁵ anymore, so it can’t contacts to it.

    This should be fixed in Google Contacts, and I hope they will do it.



  • @rfc2822 said in Can't save contacts with Google Contacts:


    Google Contacts doesn’t use any of these methods, so it doesn’t see DAVx⁵ anymore, so it can’t contacts to it.
    This should be fixed in Google Contacts, and I hope they will do it.

    I agree that something has changed in Google Contacts, but it does see other apps providing calendar data (e.g. “Nine - Email & Calendar” - target API 28) just fine. So it might be a bug in Google Calendar but probably also might have something to do with DAVx⁵ 🤔


  • developer

    @Thomas-Birke said in Can't save contacts with Google Contacts:

    So it might be a bug in Google Calendar but probably also might have something to do with DAVx⁵ 🤔

    I assume you mean Google Contacts?

    So you can still add contacts using Google Contacts into a “Nine - Email & Calendar” account?



  • @rfc2822 said in Can't save contacts with Google Contacts:

    @Thomas-Birke said in Can't save contacts with Google Contacts:

    So it might be a bug in Google Calendar but probably also might have something to do with DAVx⁵ 🤔

    I assume you mean Google Contacts?

    Indeed… Google Contacts of course.

    So you can still add contacts using Google Contacts into a “Nine - Email & Calendar” account?

    Yes, I can edit and/or add contacts in “Nine” perfectly fine. “Nine” has been updated yesterday, but the changelog doesn’t mention anything regarding this topic…

    Sidenote: syncing calendar data both ways works just fine with both DAVx⁵ as well as Nine…


  • developer

    Maybe because Nine doesn’t have to use two different account types? But who knows, Google Contacts is not open-source 😕

    And I wonder how other contacts apps will solve that problem as soon as they have targetSdkLevel=30, because I don’t know how it could work, except by changing the Android system again or getting the QUERY_ALL_PACKAGES permission.

    We will see… I’m quite sure that it’s not related to DAVx⁵; but if there is new information, please post it here.



  • @rfc2822 it was me that send that tweet. I further investigate, and with Contacts v3.25 https://www.apkmirror.com/apk/google-inc/google-contacts/google-contacts-3-25-3-314396553-release/google-contacts-3-25-3-314396553-2-android-apk-download/ although it’s already target A11 Api30, but it still shows contacts from davx5. The only problem right now is with Contacts v3.26 that doesn’t show them.

    f7703e67-c1fd-4ba1-bca7-904a128d8d51-image.png

    Or it’s a bug or it was made on purpose



  • Still the same on the newest released v3.27



  • Updated on August 5th to version 3.29 and is still does not work



  • Just to make it clear: For me, since the RPB1 all up to the current version 3.29 of Google Contacts do actually show contact information coming from DAVx5. But they seem to be read-only for Google Contacts.
    I neither can select DAVx5 as the default account for new contacts, nor can I edit any of the contact-information coming from DAVx5.

    For pure DAVx5-contacts (without any merged information from the same contact in my Google-account), there’s not even an “edit contact” button on the lower right.

    The problem doesn’t exist for other CardDAV-clients like e.g. CardDAV-sync free, which just works fine and is currently my saviour and daily driver.


  • developer

    Good to hear that there are working alternatives.

    @all: If you have an idea or hint why Contacts now hides DAVx5 accounts (but not other accounts) since Android 11 only on Pixel devices, please let me know.


  • developer

    I can confirm that this problem occurs in the Android 11 emulator with the newest Google Contacts (but not with the AOSP Contacts app which is shipped with Android 11 without Google apps; seems that I have confused those two apps, which are both named “Contacts”).

    But still no idea why…

    It might be related to another problem: Google Contacts does not only show the address book accounts, but also the main account, which is not used for storing contacts. If users put contacts into this main account, they won’t be synchronized. This occurs with Google Contacts on all Android versions and is not only limited to DAVx5, but also occurs with “CardDav-Sync”.



  • Still the same on v3.30

    @Thomas-Birke said in Can't save contacts with Google Contacts:

    Just to make it clear: For me, since the RPB1 all up to the current version 3.29 of Google Contacts do actually show contact information coming from DAVx5. But they seem to be read-only for Google Contacts.
    I neither can select DAVx5 as the default account for new contacts, nor can I edit any of the contact-information coming from DAVx5.

    For pure DAVx5-contacts (without any merged information from the same contact in my Google-account), there’s not even an “edit contact” button on the lower right.

    The problem doesn’t exist for other CardDAV-clients like e.g. CardDAV-sync free, which just works fine and is currently my saviour and daily driver.

    Too bad that that client is too old and got no recent update…
    I’m hoping this is resolved till A11 is released. I don’t what to have an extra app to do the same thing that davx5 already does…


  • developer

    @one_solo And I’d like to know the reason for this problem, regardless of whether a competitor app works or not…



  • @one_solo said in Can't save contacts with Google Contacts:

    Still the same on v3.30

    Too bad that that client is too old and got no recent update…
    I’m hoping this is resolved till A11 is released. I don’t what to have an extra app to do the same thing that davx5 already does…

    Strange thing is: despite being old/outdated/unmaintained/… it nevertheless works.


  • developer

    @Thomas-Birke And I’m wondering why Google Contacts (and only Google Contacts, in contrast to, for instance, Android Contacts or Samsung Contacts) doesn’t work with DAVx5 anymore, but only on Android 11…

    By the way, the “contacts can be inserted in main account (instead of address book account) and thus won’t be synchronized” problem occurs with CardDav-Sync, too.



  • @rfc2822 said in Can't save contacts with Google Contacts:

    @Thomas-Birke And I’m wondering why Google Contacts (and only Google Contacts, in contrast to, for instance, Android Contacts or Samsung Contacts) doesn’t work with DAVx5 anymore, but only on Android 11…

    Yeah… very weird.

    By the way, the “contacts can be inserted in main account (instead of address book account) and thus won’t be synchronized” problem occurs with CardDav-Sync, too.

    I’m not sure what you mean, but if I

    • setup the CardDav-Sync account (since DAVx5 is not possible) as the “account to store new contacts in”
    • create a new contact
    • manually sync (or wait for it to happen according to schedule)

    it syncs perfectly fine. It soon appears in DAVx5 as well.

    Here’s how I see them in Google Contacts:
    screens.png


  • developer

    I mean that if you sync two address books with CardDav sync:

    Screenshot_1598864617.png

    you get three accounts in the latest Google Contacts app:

    Screenshot_1598864645.png

    The last account is a display error of the latest Google Contacts versions. It exists in the system (as an account), but it should not be shown as address book (= contacts-capable account).

    If you add a contact to this account, it won’t be synchronized. The same problem occurs with DAVx⁵, so it seems that the latest Google Contacts has some serious problems.


  • developer

    I think I have found a workaround. Is there somebody who could test it? Can send an APK.


Log in to reply
 

Similar topics

  • 2
  • 2
  • 1