|Subject:||Re: [Linphone-developers] Uninstalling Linphone on Android seems to remove all Contacts - what does initializeSyncAccount do?|
|Date:||Mon, 8 Jun 2020 09:01:59 +0100|
|User-agent:||Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0|
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
initializeSyncAccountmethod, it fallbacks in the default mode, hence the storage working properly.
Sylvain Berfini Software Engineer @ Belledonne CommunicationsLe 08/06/2020 à 09:56, Dave Osbourne a écrit :
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 the
package 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...
_______________________________________________ Linphone-developers mailing list Linphoneemail@example.com https://lists.nongnu.org/mailman/listinfo/linphone-developers
|[Prev in Thread]||Current Thread||[Next in Thread]|