ocsms icon indicating copy to clipboard operation
ocsms copied to clipboard

Sync not working, number instead of name's contact, no translation

Open amikvic opened this issue 6 years ago • 12 comments

Steps to reproduce

Just using

I have several problems with the last stable version :

  • Sync SMS doesn't work with the "Nextcloud SMS" Android apk (says "nothing to sync")
  • Conversations show number phone and not the name's contact (changing paramaters don't do anything and it's not saved)
  • the app stays in english instead to be in french

Server configuration

**NextCloud/ownCloud version: 12.0.4

**PHP version: 7.1

**HTTPd server: Apache 2

**Database engine & version: PostgreSQL 9.6.1

Client configuration

**Android version: 7.1

**NextCloud SMS app version: 1.2.4

amikvic avatar Oct 27 '17 19:10 amikvic

Hello thanks for your report, it seems you are on the wrong repository.

Just for note:

  • app language is managed by android itself
  • can you reset your sync cursor (go to accounts in app)
  • for phone numbers, you should sync your contacts to server using a carddav connector

nerzhul avatar Oct 30 '17 07:10 nerzhul

Hi,

I think, i'm not in wrong, i talk about the Nextcloud web app, not for the Android apk. Before updating the phone sync web app, all was running well.

amikvic avatar Nov 04 '17 20:11 amikvic

What was the working and unworking versions ?

nerzhul avatar Nov 05 '17 09:11 nerzhul

I don't remember the previous version but i'm on the phone sync app 1.12.1 now, the latest. Maybe the problem occurs when i updated nextcloud to 12.0.3

amikvic avatar Nov 05 '17 17:11 amikvic

a android app new release has been published. The app version is very important

nerzhul avatar Nov 08 '17 23:11 nerzhul

One thing, my nginx was blocking some push from the app because the json was to big (no log if you nginx isn't in debug log). My synchronization was blocked since November. Into the Setting of the app, modify the "max message to send per sync" value to "100 SMS"

Az

azlux avatar Dec 05 '17 00:12 azlux

OK, i have a near workaround : i have to reset synchronization on Android app, and new conversations appear on the web app. Just numbers stay instead of name's contact, and parameters (country number ocde for example) are not saved.

amikvic avatar Dec 24 '17 20:12 amikvic

the number is the android number, you should have a proper contact in nextcloud to resolve it

nerzhul avatar Jan 05 '18 07:01 nerzhul

question: there are no contacts in nextcloud (and contact app is disabled), nevertheless about 10% of my SMS's are synced with/resolved to names? why? which parameters/settings are responsible for that behaviour?

hugofant avatar May 17 '18 10:05 hugofant

we only have a sms_address field in database if you have some resolved contacts it means the sms_address on android is a contact name

nerzhul avatar May 17 '18 10:05 nerzhul

i've checked DB directly and there field sms_address (table "oc_ocsms_smsdatas") is filled with name instead of number for that records.

so i would interpret that resolution is already done on android site but that's in oposition to your comment from January 5th

the number is the android number, you should have a proper contact in nextcloud to resolve it

hugofant avatar May 17 '18 10:05 hugofant

the field is populated by android sms database itself. If it's solved (it shouldn't be) it's on your phone, the server app does nothing about already resolved contacts

nerzhul avatar May 18 '18 15:05 nerzhul