Skip to content

feat(android): add SMS-triggered incoming call support#92

Closed
ivan-bilchenko wants to merge 3 commits intomainfrom
develop
Closed

feat(android): add SMS-triggered incoming call support#92
ivan-bilchenko wants to merge 3 commits intomainfrom
develop

Conversation

@ivan-bilchenko
Copy link
Copy Markdown
Contributor

@ivan-bilchenko ivan-bilchenko commented Jun 12, 2025

Description

Adds support for triggering incoming VoIP calls on Android via specially formatted SMS messages, serving as a fallback mechanism when push notifications are unavailable or unreliable.

Main additions:

  • New API to configure SMS prefix and ICU-compatible regex from Flutter side
  • Android BroadcastReceiver to intercept SMS and parse metadata using regex
  • Sample ADB command for testing incoming SMS
  • Updated documentation:
  • README.md: usage instructions and examples
  • docs/sms_trigger_regex_requirements.md: formal regex spec and examples
  • performReceivedCall() method now supports displayName

⚠️ Security note: The SMS trigger only activates if the message starts with a trusted prefix and matches a strict regex with four capture groups (callId, handle, displayName, hasVideo), which helps meet Play Store policies.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

SERDUN added 2 commits May 28, 2025 14:28
…tion (#90)

* feat: add incoming call SMS receiver and Flutter API for configuration

* feat: add example of using regex parsing for call metadata from deep link in received SMS

* doc: comment out optional SMS receiver and permission with explanation for fallback use case

* refactor: extract SMS parsing and call triggering logic into separate methods in IncomingCallSmsTriggerReceiver

* doc: add sms regex triggering guide and link to regex requirements doc
* fix: compilation issues
* fix: linter issues; upgrade builders to resole linter issues.
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.

2 participants