Skip to content

feat(android): add SMS sending capability to Android node#172

Merged
steipete merged 1 commit intoopenclaw:mainfrom
vsabavat:feature/android-sms-support
Jan 4, 2026
Merged

feat(android): add SMS sending capability to Android node#172
steipete merged 1 commit intoopenclaw:mainfrom
vsabavat:feature/android-sms-support

Conversation

@vsabavat
Copy link
Copy Markdown

@vsabavat vsabavat commented Jan 4, 2026

Add sms.send command to allow sending text messages via the paired Android device.

Changes:

  • Add SmsManager class to handle SMS sending via Android SmsManager API
  • Add ClawdisSmsCommand enum and Sms capability to protocol constants
  • Wire sms.send command into NodeRuntime invoke handler
  • Add SEND_SMS permission to AndroidManifest.xml
  • Advertise sms capability when SEND_SMS permission is granted

The SMS capability is only advertised when the user has granted SEND_SMS permission. Messages longer than 160 chars are automatically split into multipart messages.

Add sms.send command to allow sending text messages via the paired Android device.

Changes:
- Add SmsManager class to handle SMS sending via Android SmsManager API
- Add ClawdisSmsCommand enum and Sms capability to protocol constants
- Wire sms.send command into NodeRuntime invoke handler
- Add SEND_SMS permission to AndroidManifest.xml
- Advertise sms capability when SEND_SMS permission is granted

The SMS capability is only advertised when the user has granted SEND_SMS
permission. Messages longer than 160 chars are automatically split into
multipart messages.
@vsabavat vsabavat force-pushed the feature/android-sms-support branch from b81a899 to f5abc8e Compare January 4, 2026 06:16
@steipete
Copy link
Copy Markdown
Contributor

steipete commented Jan 4, 2026

Oh I love this! Thanks!

Comment on lines -391 to +395
if (locationMode.value != LocationMode.Off) {
add(ClawdisLocationCommand.Get.rawValue)
if (sms.hasSmsPermission()) {
add(ClawdisSmsCommand.Send.rawValue)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change doesn't seem to be intended

@steipete steipete merged commit 1318276 into openclaw:main Jan 4, 2026
11 of 13 checks passed
dgarson referenced this pull request in dgarson/clawdbot Feb 7, 2026
This was referenced Feb 9, 2026
slathrop referenced this pull request in slathrop/openclaw-js Feb 11, 2026
Tasks completed: 1/1
- Task 1: Port DM allowFrom fix + regression tests (commits #172, #173, #174)

SUMMARY: .planning/phases/14-telegram-channels/14-07-SUMMARY.md
songliu0403-rgb pushed a commit to songliu0403-rgb/openclaw that referenced this pull request Feb 26, 2026
github-actions Bot pushed a commit to Piboonsak/openclaw_github that referenced this pull request Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants