Coder Social home page Coder Social logo

ncsms-android's Introduction

Nextcloud SMS (Android)

codebeat badge

Nextcloud SMS app pushes your Android devices conversation into your Nextcloud instance, using ocsms app.

▶️ Access

Nextcloud Notes App on fdroid.org

ocsms app sources are available here: https://github.com/nextcloud/ocsms

📓 Application documentation

You can find the application documentation here: https://github.com/nerzhul/ncsms-android/wiki

🔗 Requirements

❗ Reporting issues

🚀 Contributions

  • We are searching for translations into others languages. To contribute please download res/values/strings.xml and res/values/google_playstore_strings.xml and provide a Pull Request with a translated version!
  • You can also contribute by adding patches in Java code or cleanups.
  • Application uses a GoMobile AAR to have the best performance on phones with modern technologies like HTTP/2.0

Build requirements

  • gradle

Coding guidelines

  • No empty lines at EOF
  • No trailing whitespaces

📓 License

Nextcloud SMS Android Application license is in reflexion, then sources are partial.

  • App locales and layouts are under BSD 2 clause license
  • App DataProviders are under AGPLv3

ncsms-android's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ncsms-android's Issues

Provide build.gradle

Hi,

seems you have moved to Android Studio but the build.gradle to build the app via gradle is missing. Any chances that you could provide this so i can build the new version for f-droid.

Provide new version for F-Droid

The current version is outdated (0.18.x)

We don't have the current version of this app. (Check mode: Tags) (Auto-update mode: None)
The current (recommended) version is 0.20.0 (version code 33).

Sync error

When i create the account on my phone, the sync process failed with "Error 9: Server set unhandle...".
I tried with disable https and bug is always here.
Sorry but i have no more information.

Also sync deleted messages with 2-way sync

As it is today, the app syncs all the messages but doesn´t delete deleted messages, because deleted messages are not synced. The app should sync 2-way, not only from phone --> server.

Marshmallow Support

Would this application be able to support marshmallow by just incrementing the max sdk version? Or does it currently have incompatibilities with libraries or something?

App crashes on synchronizing

Hi,

your app crashes everytime I try to sync. The Android-debug-console says:
Could not find method android.app.Notification$Builder.build, referenced from method fr.nrz.androidlib.notifications.NrzNotification.createNotify

Here the full error-message:
07-15 15:56:41.554 17513-17513/? D/dalvikvm? Late-enabling CheckJNI
07-15 15:56:41.804 17513-17529/fr.unix_experience.owncloud_sms:sync I/dalvikvm? Could not find method android.app.Notification$Builder.build, referenced from method fr.nrz.androidlib.notifications.NrzNotification.createNotify
07-15 15:56:41.804 17513-17529/fr.unix_experience.owncloud_sms:sync W/dalvikvm? VFY: unable to resolve virtual method 139: Landroid/app/Notification$Builder;.build ()Landroid/app/Notification;
07-15 15:56:41.804 17513-17529/fr.unix_experience.owncloud_sms:sync D/dalvikvm? VFY: replacing opcode 0x6e at 0x0025
07-15 15:56:41.814 17513-17529/fr.unix_experience.owncloud_sms:sync W/dalvikvm? threadid=11: thread exiting with uncaught exception (group=0x40ad8228)
07-15 15:56:41.814 17513-17529/fr.unix_experience.owncloud_sms:sync E/AndroidRuntime? FATAL EXCEPTION: SyncAdapterThread-1
java.lang.NoSuchMethodError: android.app.Notification$Builder.build
at fr.nrz.androidlib.notifications.NrzNotification.createNotify(NrzNotification.java:56)
at fr.unix_experience.owncloud_sms.notifications.OCSMSNotificationManager.createNotificationIfPossible(OCSMSNotificationManager.java:61)
at fr.unix_experience.owncloud_sms.notifications.OCSMSNotificationManager.setSyncProcessMsg(OCSMSNotificationManager.java:33)
at fr.unix_experience.owncloud_sms.sync_adapters.SmsSyncAdapter.onPerformSync(SmsSyncAdapter.java:56)
at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:247)

If I compile the app without the NrzNotification-code it synchronizes the sms with owncloud without a problem. I'm using Android 4.0.3 with three devices. On all the error appears.

kind regards,
Chris

"Sync all messages" issue

I've got problems syncing my messages from my android messages.
Well. I've played a little with the tool before having synchronization partially working, then failed...

Explanations

  • OC Sv7
    • sync fails reported by Android app (timeout) (server-side's logs : getCrypto undefined method)
  • OC Sv8 migration completed
    • (after migration) no sync (server-side's logs : SQL error)
{"reqId":"8a0463b8744XXXXXXXX8c0314a4383af","remoteAddr":"192.168.1.254","app":"index","message":"Exception: {
    "Message":"An exception occurred while executing 'SELECT sms_address,count(sms_date) as ct FROM oc_ocsms_smsdatas WHERE user_id = ? AND sms_mailbox IN (?,?) AND sms_date > ? GROUP BY sms_address' with params ['<USER>', 0, 1, '']:
        SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: ''",
    "Code":0,"Trace":"
            #0 /volume1/web/owncloud_8.0.2/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(116): Doctrine\\DBAL\\Driver\\AbstractPostgreSQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))
            #1 /volume1/web/owncloud_8.0.2/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(172): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOPgSql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'SELECT sms_addr...', Array)
            #2 /volume1/web/owncloud_8.0.2/lib/private/db/statementwrapper.php(63): Doctrine\\DBAL\\Statement->execute(Array)
            #3 /volume1/web/owncloud_8.0.2/apps/ocsms/db/smsmapper.php(204): OC_DB_StatementWrapper->execute(Array)
            #4 /volume1/web/owncloud_8.0.2/apps/ocsms/controller/smscontroller.php(164): OCA\\OcSms\\Db\\SmsMapper->getNewMessagesCountForAllPhonesNumbers('bertrand', '')
            #5 [internal function]: OCA\\OcSms\\Controller\\SmsController->checkNewMessages('')
            #6 /volume1/web/owncloud_8.0.2/lib/private/appframework/http/dispatcher.php(158): call_user_func_array(Array, Array)
            #7 /volume1/web/owncloud_8.0.2/lib/private/appframework/http/dispatcher.php(86): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OCA\\OcSms\\Controller\\SmsController), 'checkNewMessage...')
            #8 /volume1/web/owncloud_8.0.2/lib/private/appframework/app.php(97): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\OcSms\\Controller\\SmsController), 'checkNewMessage...')
            #9 /volume1/web/owncloud_8.0.2/lib/private/appframework/routing/routeactionhandler.php(44): OC\\AppFramework\\App::main('SmsController', 'checkNewMessage...', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)
            #10 [internal function]: OC\\AppFramework\\routing\\RouteActionHandler->__invoke(Array)
            #11 /volume1/web/owncloud_8.0.2/lib/private/route/router.php(250): call_user_func(Object(OC\\AppFramework\\routing\\RouteActionHandler), Array)
            #12 /volume1/web/owncloud_8.0.2/lib/base.php(767): OC\\Route\\Router->match('/apps/ocsms/get...')
            #13 /volume1/web/owncloud_8.0.2/index.php(36): OC::handleRequest()
            #14 {main}",
    "File":"/volume1/web/owncloud_8.0.2/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractPostgreSQLDriver.php","Line":91}",
"level":4,"time":"2015-04-12T20:21:13+00:00"}
  • (server-side deletion of oc_ocsms tables + oc_appconfig "ocsms" entries + app files + new app install_) sync of today's messages
  • (account deletion on android app + account re creation) nothing more, only today's messages remains having been synced previously
  • (another deletion of everything server-side + account deletion terminal-side + reinstallation of everything + "auto-sync" disabled terminal-side) nothing is synced. SMS panel into web interface is empty. "smsdatas" table too. Same SQL message

Something else I should try ?

Option to Limit SMS shown per page

Hi,

first of all, thank you very much for this app.
Unfortunately, I cannot use it at the moment as it always crashes my firefox.
I suspect this is due to the amount of SMS per conversation I have.
Most of my conversations work fine in ownCloud-SMS-App (meaning i can sync and view them in ownCoud) but by longer conversations (>3000 SMS) can only be synced and not viewed without firefox freezing and, if I do not stop the scripts running, crashing.

Could the please have an options to like display the last x SMS in the conversation? Let x=500 as the default and if someone needs older SMS he can just click "next page" or scroll up and the next messages can be loaded in the background ore something.

With best regards,

p91

Restore messages from ownCloud instance

As the title says: I had to wipe my device and had my SMS backed up to ownCloud with your App.
After the wipe I installed the App again and tried to restore them.
It says syncing and there are no errors but the SMS are not shown in the Messenger App.

Crashing app when syncing

Hi,

First of all, thks for your work, i was looking for this kind of software for a long time !

I just got a little problem : when i start syncing, app crashes after some seconds displaying : "Unfortunatly, owncloud SMS" has stopped". ( this kind of android system error : http://www.ekoob.com/wp-content/uploads/2012/07/app-has-stopped-crashed-android-nexus-7.png ).

Above, you'll find information about my client/server configuration.
Btw, I've got a bit more than 25000 sms to sync...

Server

ownCloud version: 7.0.4
PHP version: 5.4
HTTPd server: Apache
HTTPS: wat do you mean ? :)

Client

Android version: 4.2.2
Phone: Samsung galaxy S2
ownCloud SMS app version: 0.16.1

Thks a lot and have a nice day :).

more info on "connection failed, ensure this is a right server"

I keep getting this error when creating an account. I'm positive all information entered is correct. Same information works with official ownCloud sync app. I'd appreciate more information in the error message. I suspect a certificate problem but cannot tell for sure.

App version: 0.17.0 (F-Droid)
Android: 4.4.4 (CM11)
Phone: Xperia ZR

Also, if this turns out to be a certificate problem (be it self-signed, unknown CA or expired), there should be an override option since the connection still gets encrypted and trustworthiness of a certificate should ultimately be decided by the user - provided detailed info on the certificate is displayed to the user prior its acceptance.

Spanish translation of Play Store Description

La aplicación ownCloud SMS sincroniza sus mensajes SMS en un servidor ownCloud remoto y le permite leer sus mensajes desde él.

El envio de SMS desde el servidor ownCloud será implementado en futuras versiones.

La aplicación es totalmente compatible con Android 4.0 a 5.0

App crashes OS

Installing this app got my phone stuck in a boot logo loop - it would show the boot logo, then the lock screen for a few seconds, then repeat. Rebooting did not solve the issue.

I wish I could give more info but I had to restore my phone! The issue only started after setting up the app. I installed it from F-Droid.

I'm on Fairphone OS 1.8, based on Android 4.2.2. The Owncloud version is 8.0.0.

Multiple Android device sync

Trying to sync my SMS from phone to owncloud then to tablet
ownCloud SMS installed on my phone and tablet, sync is ok
ownCloud server show my SMS from my phone => ok
tablet with SMS AOSP app doesn't show any SMS, I tried also with Google Messenger but no luck

Should multiple Android device sync work ?

Sync error Error #9 Server set unhandled h...

Hi I am running the latest Android app.
Phone: Huawei P7-L10
Androi: 4.4.2

Owncloud server hosted on Ubuntu server with ssl.
ownCloud 8.0.2 (stable).

Is there anyway i can extract logs from the app or server to see what's going wrong?
I get Error #9 Server set unhandled h... (I can't see the rest of the message)

This might be due to the large amount of sms i am trying to sync? about 10k+

I have tried syncing over Wifi/4G both end up with errors. I have seen a couple of different error codes, nut never wrote them down. Will do from now on.

Error #9: Server set unhandled HTTP return code

i'am getting on client this error, on logs i see "Server set unhandled HTTP return code 500" is a problem with owncloud server, can you make status code 500 handled and set a better error description. From a owncloud sms client perspective it's not an error, from a owncloud sms server this is an error.

Server

ownCloud version: 7.0.4 (stable)
PHP version: PHP 5.6.5
HTTPd server: Apache/2.4.10
HTTPS: Apache/2.4.10
mysqld : 5.6.17

Client

Android version: 4.2.2
Phone: -
ownCloud SMS app version: 0.17.0

Thank you

Sync error message although sync interval is disabled

My current use case is to sync with my owncloud server on my pc. Because this pc is not always turned on (and I am not always in my home network) I set sync interval of owncloud-SMS-App disabled ("Nie" (=never) in my German version). Until version f-droid 0.18.2 this approach worked well (on my CM11 and my wife's Android 5), but current version 0.18.5 produces server connect error messages.
I understand that ownCloud-SMS tries to sync receiving a message and therefore an error message is reasonable when the server is turned off. But I would appreciate if there was an operating mode for those who do not operate a permanent available server and do not want to have error messages.

Possible solutions:

  • error messages only on connect errors during recurring syncs (as in vsn. 0.18.2)
  • better: connect error messages can be suppressed
  • much better: only permanently recurring occurrences of errors (for a configurable time span, e.g. one week or zero (for a behaviour like now)) will be reported ("no successful sync for xyz days")

I hope one of the listed possible solutions is feasible. Last but not least thanks for this app.

Error #9 on synce

During sync from Android phone, get "Fatal error ! Error #9: Server set unhandled HTTP return code

Messages are no longer being synced with owncloud

Server:
Owncloud version: 7.0.3
HTTPd server: Apache/2.2.22
MySQL 5.5.40

Client
Android version: 4.1.2
phone samsung sph-l300
OwnCloud SMS app version: 0.15.3

crash on sync

The app/service crashes on sync when using a design with app icons.

You could try for example with "Onze".

I think the most relevant part of the log is:

W/StatusBarIconView( 1192): No icon for slot fr.unix_experience.owncloud_sms/0x0

The full log:

E/AccessibilityNodeInfoCache( 1693): Node from: 201 not from:190 android.view.accessibility.AccessibilityNodeInfo@1780e; boundsInParent: Rect(0, 0 - 446, 73); boundsInScreen: Rect(72, 542 - 518, 615); packageName: fr.unix_experience.owncloud_sms; className: android.widget.TextView; text: Allg. Einstellungen; contentDescription: null; viewIdResName: android:id/title; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; enabled: true; password: false; scrollable: false; [ACTION_SELECT, ACTION_CLEAR_SELECTION, ACTION_ACCESSIBILITY_FOCUS, ACTION_NEXT_AT_MOVEMENT_GRANULARITY, ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY, ACTION_SET_SELECTION]
E/AccessibilityNodeInfoCache( 1693): Node from: 201 not from:190 android.view.accessibility.AccessibilityNodeInfo@17bcf; boundsInParent: Rect(0, 0 - 358, 57); boundsInScreen: Rect(72, 615 - 430, 672); packageName: fr.unix_experience.owncloud_sms; className: android.widget.TextView; text: Sync-Einstellungen; contentDescription: null; viewIdResName: android:id/summary; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; enabled: true; password: false; scrollable: false; [ACTION_SELECT, ACTION_CLEAR_SELECTION, ACTION_ACCESSIBILITY_FOCUS, ACTION_NEXT_AT_MOVEMENT_GRANULARITY, ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY, ACTION_SET_SELECTION]
E/AccessibilityNodeInfoCache( 1693): Node from: 201 not from:190 android.view.accessibility.AccessibilityNodeInfo@1b41e; boundsInParent: Rect(0, 0 - 984, 192); boundsInScreen: Rect(48, 511 - 1032, 703); packageName: fr.unix_experience.owncloud_sms; className: android.widget.LinearLayout; text: null; contentDescription: null; viewIdResName: null; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: true; longClickable: false; enabled: true; password: false; scrollable: false; [ACTION_SELECT, ACTION_CLEAR_SELECTION, ACTION_CLICK, ACTION_ACCESSIBILITY_FOCUS]
I/ActivityManager(  755): Start proc fr.unix_experience.owncloud_sms:sync for service fr.unix_experience.owncloud_sms/.sync_adapters.SmsSyncService: pid=4277 uid=10505 gids={50505, 3003}
D/ActivityThread( 4277): handleBindApplication:fr.unix_experience.owncloud_sms:sync
W/StatusBarIconView( 1192): No icon for slot fr.unix_experience.owncloud_sms/0x0
D/NotificationService(  755): onNotification error pkg=fr.unix_experience.owncloud_sms tag=null id=0; will crashApplication(uid=10505, pid=4277)
E/AndroidRuntime( 4277): Process: fr.unix_experience.owncloud_sms:sync, PID: 4277
E/AndroidRuntime( 4277): android.app.RemoteServiceException: Bad notification posted from package fr.unix_experience.owncloud_sms: Couldn't create icon: StatusBarIcon(pkg=fr.unix_experience.owncloud_smsuser=0 id=0x7f020057 level=0 visible=true num=0 )
D/NetworkUtils( 4277): Searching known-servers store at /data/data/fr.unix_experience.owncloud_sms/files/knownServers.bks
I/ActivityManager(  755): Process fr.unix_experience.owncloud_sms:sync (pid 4277) has died.
W/ActivityManager(  755): Scheduling restart of crashed service fr.unix_experience.owncloud_sms/.sync_adapters.SmsSyncService in 1000ms

https not connection to host with other port than 443

Android version: 4.3.1 (CM 10.2.1.3)
Phone: Samsung Galaxy S4 Mini
ownCloud SMS app version: 0.16.1
ownCloud Version: 7.0.4 (stable)
ocsms Version: 1.4.1

I can successfully connect to my owncloud instance with this URL:
http://sub.myhost.org

It won't connect, asking if it is the correct server address with these URL(s) with self signed certificate:
https://sub.myhost.org:50666
https://sub.myhost.org:50666/

  • Opening owncloud in the Android browser works with these two URLs.
  • Certificate is already imported to Android
  • Owncloud sync with calendar and contacts is up and running on the same phone

Greetings
Martin

Missing root project

The buildscript portion of the gradle setup is missing. It looks like this is a multiproject setup, so you should have a ../settings.gradle and ../build.gradle while the code you posted most likely belongs in a subfolder like ../app/.

Synchronise by using timestamp instead of msg id comparison (was: Too heavy synchronisation process)

On my phone are stored more than 20000 messages, thus making complete synchronizations very long (around fifteen minutes).
This is normal for a first sync, but it is the same each time the app synchronizes, and this cause a huge battery drain.

It seems that each synchronization compare all the messages. It should be far more efficient to sync only messages which are more recent than the last synchronization.

No sms synched on first install neither when received/sent

I installed the app on my server, in the appropriate directory, activated it in Owncloud, bought the Android app and created my owncloud-sms account.
It says it synchronizes, for a few seconds, but nothing appears in Owncloud.

Any solution ?

Thank you.

MK

Spanish translation of strings.xml

<string name="app_name">ownCloud-SMS</string>
<string name="account_type">fr.unix_experience.owncloud_sms</string>
<string name="account_authority">fr.unix_experience.owncloud_sms.datasync.provider</string>

<string name="target_package">fr.unix_experience.owncloud_sms</string>
<string name="pref_title_sync_frequency">Frecuencia de sincronización</string>

<!-- Translations must begin there -->
<!-- Preferences -->
<string name="action_settings">Configuración</string>
<string name="sync_now">Sincronizar ahora</string>
<string name="pref_category_sync">Sincronización</string>

<string name="title_global_pref_to_general_prefs">Preferencias generales</string>
<string name="summary_global_pref_to_general_prefs">Opciones de sincronización</string>
<string name="summary_notif_prefs">Notificaciones</string>

<string name="pref_header_data_sync">Data &amp; sync</string>

<string name="title_activity_general_settings">Configuración general</string>

<string name="pref_title_sync_frequency">Frecuencia de sincronización</string>

<string-array name="pref_sync_frequency_titles">
    <item>15 minutos</item>
    <item>30 minutos</item>
    <item>1 hora</item>
    <item>3 horas</item>
    <item>6 horas</item>
    <item>12 horas</item>
    <item>24 horas</item>
    <item>Nunca</item>
</string-array>
<string-array name="pref_sync_frequency_values">
    <item>15</item>
    <item>30</item>
    <item>60</item>
    <item>180</item>
    <item>360</item>
    <item>720</item>
    <item>1440</item>
    <item>-1</item>
</string-array>

<string name="title_activity_login">Unirse</string>

<!-- Login -->
<string name="prompt_login">Usuario</string>
<string name="prompt_password">Contraseña</string>
<string name="action_sign_in">Unirse o registrarse</string>
<string name="action_sign_in_short">Unirse</string>
<string name="error_invalid_login">Usuario o contraseña incorrecto</string>
<string name="error_invalid_password">Contraseña demasiado corta</string>
<string name="error_field_required">Campo requerido</string>
<string name="prompt_serverURI">Dirección del servidor</string>
<string name="error_invalid_server_address">Dirección inválida</string>
<string name="error_connection_failed">Imposible conectar al servidor. Por favor asegúrese que la dirección del servidor es correcta</string>
<string name="error_http_connection_failed">Imposible establecer una conexión HTTP. Por favor asegúrese que el servidor HTTP esta ejecutándose</string>

<string-array name="protocol_array">
    <item>https://</item>
    <item>http://</item>
</string-array>

<!-- Notifications -->
<string name="sync_title">Proceso de sincronización</string>
<string name="sync_inprogress">Sincronización en progreso...</string>
<string name="fatal_error">Error Fatal ! </string>

Heavy data usage?

I installed ocsms 0.18.5 from fdroid and using it with an ownCloud 8.1 instance with latest ocsms app (from git, pulled early August 2015). I'm seeing a lot of data usage from the app. It seems to use around 20MB per day. Is this to be expected? Is it sending all of SMSs over and over? I can imagine the initial push to consume some bandwidth, but after that it seems bandwidth usage should be limited to handshake noise and sending new SMSs.

contact list, "Server doesn't support this feature."

Owncloud 8.2 from owncloud Open Build Service
ownCloud SMS web app 1.5.0 from owncloud app store
ownCloud SMS 0.19.2 from google play store

Choose Account and under Contact list and Contact informations it says "Server doesn't support this feature".

I have CardDAV-Sync installed and have all contacts on my owncloud instance. Am I doing something wrong or missing some dependency?

After sync, i have null messages

Hi,

ocsms web work, applics for android have succeful sync my data but in owncloud i have nobody message in http://<my_cloud>/index.php/apps/ocsms/

I use :
owncloud-sms 0.18.2
owncloud 8.4
android 5.0
sansumg S5

Fdroid?

Have you considered pushing this app into fdroid? Any reason doing so would be a bad idea? I can look into it if you don't have anything against that.

fatal error #13 on automatic sync

Hi,

I keep getting 'fatal error #13' every time I switch on my wifi/data connection.
However, when I sync manually, everything works fine.
What could be the reason for this?

Here my environment:
Gentoo Linux/Owncloud 8.2.1
Android 4.2/owncloud-sms 0.18.5 from f-droid

[sync] owncloud sms tab empty

Hello. My Android apps syncs normally, nothing seems to be strange on owncloud log (or IIS log) except that nothing syncs: the OCSMS tab remains empty: no conversation, no messages. The OCSMS commit is the one correcting the #9 error.
Thanx

app doesn't work with oc 8.1.0.3

since i upgrade to oc 8.1 the apps doesn't sync anymore: Fehler #9: Unbekannter HTTP-Antwortcode vom Server, on oc 8.0 everything was fine

i'm using oc 8.1.0.3 / oc sms 1.5.0
latest app version on android

Errror message date

Hi,
Thanks a lot for this application, I have an issue with the oc_ocsms_smsdatas.sms_date.
it's always the same value '2147483647' Screen : http://hpics.li/fef5634

I don't know if it's an error in the Owncloud App or in the Android App...
Please don't hesitate to contact me if you need more informations ;)

(sorry for my english I'm french...)

Thanks for your time.
Have a good day.

Don't repeat synchronization after fail

Main reason I set update interval to Never and therefore experienced #31 is because my ownCloud server is on my own computer, which isn't always on, and ownCloud-SMS keeps trying to connect to it indefinitely. So it makes sense to introduce a mechanism of silent fail: when the server can't be reached (or otherwise synchronization fails for some other reason) app will not trying to connect again until next scheduled sync.

Phone Number / Name assignment with country codes

Hi,

I'm using your app since today and the sync worked perfectly. But now I have the problem that the Webfrontend does not recognize the contact if as country code was given for the phone number (XOR, either in the sms oder in the contact - if both have it is of course linked).

Example:
Contact: Mr. Phone: 0199 99999
SMS: +49 199 999999

It looks like you are doing a simple comparison, whether the numbers are identical. If they are not, a new entry with just the number is created.

Solution:
It should be quite easy to link the two - as soon as there is an "+" in the phone number, ignore the first two digits of the SMS number and ignore the first digit of the contact number to find a match.

Thanks in advance!

0.19 Costantly crashes on Android 5.0.1

Hi, the app was great with 0.18.5.
Now with 0.19 I receive "owncloud sms has stopped working" when loading the SMS app.
When forcing syncing, it hangs on "sync in progress".
I push 1000 sms per sync.
No messages on OC server.

Thank you

Install doesn't create a shortcut, running from play store doesn't work

Hi. Just bought and installed the app from play store (LG G3 with lollipop) and it didn't install a shortcut, and doesn't work when I open it from the play store using the ... button from the search dialog (no other way available of opening it).
Strangely if I go into the list of apps in the play store there is an "open" button for all apps but this one, just uninstall available, the open option only appears by searching for the app and click only the vertical row of dots. Hope that makes sense.
Any ideas?
Thanks
Andy

Enhancement: Ignoring specific conversations of texts?

I would like to propose that we ignore conversations (Texts) that are from senders with less than 6 numbers for a number.
As most routing of phones requires a minimum of 7 numbers for a phone number to be valid.

(I get texts from my voicemail telling me I have voicemail, and its just stupid.)

Can't use self signed certificate

Hi, my owncloud installation is set on a custom port with ssl and a self-signed cert.
I can't login properly with all thos settings defined.

If I set my port like user@host:port, I always get an error.
Thanks for your promising app, it looks pretty awesome!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.