|
From: | Sylvain Berfini |
Subject: | Re: [Linphone-developers] Uninstalling Linphone on Android seems to remove all Contacts - what does initializeSyncAccount do? |
Date: | Mon, 8 Jun 2020 10:00:16 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
Hi Dave,
Indeed Linphone Android app has 2 modes regarding the contacts: use it's own "storage" or the OS default one.
Using linphone's account we can do a little more things regarding
SIP addresses that when using the default one, that's why it's the
default mode. The downside is indeed that changes (and contacts
created by the app) are removed when the app is uninstalled
(because it's account is removed too, and so far I haven't found a
way to make them stay). When you comment out the initializeSyncAccount
method, it
fallbacks in the default mode, hence the storage working properly.
Cheers,
Sylvain Berfini Software Engineer @ Belledonne Communications
Hi All,
I have an issue with a new android device (Lineageos no gapps or google play) and Linphone (I do change recompile every now and then) using Android Studio.
When I uninstall Linhone all contacts that were added to the new phone seems to disappear.
I didn't make the connection for quite a while (a few days), but after looking into the disappearing contacts I ended up commenting all the code in theinitializeSyncAccount()
routine insidepackage org.linphone.contacts;
if I install and uninstall now I don't loose the contacts and Linphone doesn't seem any the worse for it.
I think my issues is around the Liphone contact upload / sync and it does something to "own" the contacts and when it's removed they are all removed too.
I would very much appreciate any light any one can shed on this...
Regards,
Dave
_______________________________________________ Linphone-developers mailing list Linphone-developers@nongnu.org https://lists.nongnu.org/mailman/listinfo/linphone-developers
[Prev in Thread] | Current Thread | [Next in Thread] |