Meet HK Relay — the native Android app that transforms any phone into a programmable SMS and WhatsApp gateway. Perfect for OTP delivery, notifications, marketing campaigns, and automation.
Sending SMS through services like Twilio, MessageBird, or Vonage costs money per message:
| Service | Cost per SMS | 10K messages/month |
|---|---|---|
| Twilio | $0.0079 | $79/month |
| MessageBird | $0.0065 | $65/month |
| Vonage | $0.0068 | $68/month |
| HK Relay | $0 | One-time $79 |
With HK Relay, you pay once and send unlimited messages using your phone's existing SIM plan. The savings add up fast.
Your Server (Socket.IO)
↓ Send message command
HK Relay App (Android)
↓ Uses phone's native capabilities
SMS / WhatsApp delivered to recipient
↓ Delivery confirmation
Your Server (receives delivery status)
The architecture is simple but powerful:
HK Relay supports three messaging channels:
Switch between channels based on your use case — OTPs via SMS, customer notifications via WhatsApp Business, personal messages via WhatsApp.
The app is engineered to run non-stop:
// Recovery mechanisms built into HK Relay:
// 1. Foreground Service — persists through memory pressure
// 2. Wake Lock — prevents CPU sleep during message processing
// 3. WiFi Lock — maintains network connection
// 4. Watchdog Alarm — checks service health every 5 minutes
// 5. Boot Auto-Start — restarts after device reboot
// 6. Network Change Listener — auto-reconnects on network switch
// 7. Socket.IO Auto-Reconnect — handles server disconnections
In real-world testing, HK Relay maintains uptime of 99.9%+ without manual intervention.
OTP & 2FA Delivery Send verification codes to users during registration or login. Works perfectly with our Developer Portfolio & SaaS Platform's authentication system.
Business Notifications Automatically notify clients about:
Marketing Campaigns Send promotional messages to opted-in customers. Perfect for announcing new products, sales, or events.
Personal Automation Automate personal messaging:
HK Relay integrates seamlessly with our Developer Portfolio & SaaS Platform:
// Server-side: Send SMS via HK Relay
import { io } from "socket.io-client";
const socket = io("wss://your-server:3001", {
auth: { token: "device-auth-token" },
});
// Send SMS
socket.emit("send_sms", {
to: "+91XXXXXXXXXX",
message: "Your OTP is 847291",
channel: "sms", // or "whatsapp" or "whatsapp_business"
});
// Listen for delivery confirmation
socket.on("delivery_status", (data) => {
console.log(`Message to ${data.to}: ${data.status}`);
});
The platform's admin dashboard shows real-time device status, message queues, and delivery reports.
Single Device License: $79 (Compare at $129)
Multi-device licenses available for businesses that need redundancy or high volume — contact us for custom pricing.
Related reads:
Follow us on Instagram for product updates and tutorials.
Stop paying per message. HK Relay — one-time $79, unlimited messages. Part of the Developer Portfolio ecosystem.
Get the latest articles, tutorials, and updates delivered straight to your inbox. No spam, unsubscribe at any time.