traccar / traccar-sms-gateway

Traccar SMS Gateway for Android
GNU General Public License v3.0
639 stars 102 forks source link

Use Qksms existing send functionality #10

Closed timbze closed 2 years ago

timbze commented 2 years ago

Fixes #7 Fixes #9

This changes Traccar sms sending so that it uses Qksms functionality. That way sent message is saved and message is split if needed

This would also make #5 and #8 irrelevant. I believe this is a better approach

@tananaev

tananaev commented 2 years ago

Is it possible to make saving messages configurable?

timbze commented 2 years ago

Is it possible to make saving messages configurable?

Yes, I have pushed another commit to do that now. It will not save by default, but you can (optionally) send "saveMessage":true in API in addition to to and message and the message will save

timbze commented 2 years ago

It would of course also be possible through a app setting, but would be a bit more work than how I did it now

gaeldb commented 2 years ago

Thnak you for the PR and merge guys! Could you please generate release and post APK? Thanks!