New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature-request: sending sms from ocsms app #4
Comments
Hi, in fact i already have this idea but i need to found a proper way to do it, because ownCloud is a HTTP app, then it's not like a XMPP chat with a TCP socket opened everytime. It's my objective for Android app version 2. Reading is better, writing is must have ! |
Hi there, Caus, once you are able to send sms via owncloud webapp to the android app, you could 'easily' add features, like having the phone react on a given SMS (tracking, deleting files, lock the phone ... ) I'd really like to have something like that directly from within owncloud, definitely worth paying for! |
This should also include delete on phone IMHO. |
@enoch85 indeed |
Have you thought about Firebase Cloud Messaging (formerly Google Cloud Messaging)? |
Any update here? I got a request from a customer that were interested in this app. ping @nerzhul |
I am not a developer but this is something I would love to see! |
Should we re-open this issue on the new bug tracker? |
@jonlachmann Which new bug tracker? |
@enoch85 My bad, this is the new bug tracker, I was scrolling back and forth and thought this was the old one (before the move to nextcloud) |
The requirement as specified does not say that the sending has to be done in near real time. In the context of this app, I would find it perfectly acceptable to queue messages to be uploaded to the phone and sent when the phone next tries to connect to the server. Then, in the client application you could add, as a configuration option, a “poll server for queued messages” entry that takes as value a number (seconds or minutes). This is then used to set an Android alarm (or whatever they're called) that wakes up the app regularly and causes it to poll the server for queued messages. Note that this would cause extra battery drain and you would have to deal with Android's “battery optimisation” |
Here, someone proposed to use smsgateway.me/. Seems pretty straightforward to me, if that's a viable solution. ODE TO SendSMS FEATURE: May I ask why it was dropped from 2.0 milestone ? |
Not a solution at all. It requires signing up with an external provider, which is quite unnecessary, and installing a closed source application on your phone. This issue is precisely about leveraging Nextcloud / OCSMS to not have to do that. |
Ok, I understand. Sorry, I am not really a developer. I just thought you would need a sort of gateway when also sending SMS from any Browser, not just the Android App. I am not sure how the workflow then would be to send SMS:
|
It is one possible implementation, but since OCSMS has both server and a phone components that talk to each other, the straightforward (relatively speaking) solution is to send SMS directly from the phone. There is no advantage in using a gateway.
Yes.
Yes.
No. You would just log into your Nextcloud account, navigate to the OCSMS component, and on the web page you would have “Reply to this SMS” / “Write new SMS” sort of widgets, consisting of a textbox and a “queue” button. Then, next time the OCSMS app on the phone connects to the server (e.g., by polling every few minutes), it would receive the details of the messages to be sent and despatch them, assuming that the user has given the app the relevant permissions. This is of course just one possible vision of how this could be implemented. There may be better ways.
That is a separate requirement, although it would necessitate the feature described in this issue to be implemented first. |
We don't need a gateway, ocsms app is the gateway, but currently there is not way to send messages. I miss some dev time, but i have the design in head. |
AFAIC it would kill https://messages.android.com |
Wow. Didn't know about this Android feature - I've been waiting so long for this feature to send sms from nextcloud. Been using whatsapp and mysms in between. Now I've signed up for the android version. Let me know when a Nextcloud version becomes available |
+1 to the feedback from @azmeuk and @pascalBokBok. This is exactly what I thought this app was aiming to provide. I was pretty bummed when I realized that it simply synced and displayed SMS from my phone but didn't allow me to actually send anything. I did a bunch of research (which turned into running in circles) trying to figure out what Google was using to make their web UI work. I'd love to see this become a clone of Android Messenger + https://messages.android.com, but I have zero idea what would be required, so I'm just another person making demands without contributing anything. What about this example? Does this properly illustrate how to send messages? (I'm not sure if the challenge faced by the developer is figuring out a method to send messages using APIs on the device itself or if the issue is figuring out how to send the messages from NextCloud to the device in the first place): Another thought. What about reaching out to the devs behind KDE Connect? They may be willing to help. Either that, or you could always look at their source code to figure out how their magic works. UPDATE: Sounds like they're working on their own SMS app of sorts. Might be some code that you could borrow. Also, the Signal app might be another good place to check. Thoughts? |
The developers of the /e/ project implemented this, we are waiting for @PhieF to push their changes to this repository so all of the Nextcloud users can enjoy this feature: nerzhul/ncsms-android#230 |
This feature would be a HUGE plus to compete with google message, I wanted to try out the apps made by /e/ but the feature seems to be only working with /e/ os .. is there any ETA about this ? (just to know if this is actually being implemented). |
Hello,
Since you've asked for it, i might have a feature idea :
Why not add a prompt to send sms from owncloud to your cellphone ? Kind of a 2-way sync between the apps.
The text was updated successfully, but these errors were encountered: