npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-native-sms-turbo

v1.0.2

Published

React Native TurboModule for sending SMS on Android (background) and iOS (composer)

Readme

react-native-sms-turbo

A React Native TurboModule for sending SMS messages across Android and iOS.

  • Android: Sends SMS directly in the background via SmsManager (requires SEND_SMS permission).
  • iOS: Opens the native MFMessageComposeViewController for user-confirmed sending.

Built with the New Architecture (TurboModules + Codegen) for type-safe, high-performance native bridge calls.

Installation

npm install react-native-sms-turbo
# or
yarn add react-native-sms-turbo

iOS

cd ios && pod install

Android

The SEND_SMS permission is declared in the library's AndroidManifest.xml and will be merged automatically. No additional setup needed.

Usage

import { SMSManager } from 'react-native-sms-turbo';

// Check if SMS is available on this device
const available = await SMSManager.isSMSAvailable();

// Check permission status (Android only, iOS always returns 'granted')
const status = await SMSManager.checkSMSPermission();

// Request SMS permission (Android only)
const result = await SMSManager.requestSMSPermission();

// Send an SMS
try {
  const response = await SMSManager.sendSMS('+1234567890', 'Hello from React Native!');
  console.log(response); // 'SMS Sent Successfully' (Android) or 'sent' (iOS)
} catch (error) {
  console.error(error);
}

Demo

git clone https://github.com/CodeERAayush/react-native-sms-turbo-demo
cd react-native-sms-turbo-demo
npm install
npm run android

Demo

git clone https://github.com/CodeERAayush/react-native-sms-turbo-demo
cd react-native-sms-turbo-demo
npm install
npm run android

API Reference

SMSManager.sendSMS(phoneNumber: string, message: string): Promise<string>

Sends an SMS to the specified phone number.

| Platform | Behavior | |----------|----------| | Android | Sends directly in background. Requires SEND_SMS permission. | | iOS | Opens native message composer. User must tap Send. |

Returns: 'SMS Sent Successfully' (Android), 'sent'/'cancelled' (iOS)


SMSManager.isSMSAvailable(): Promise<boolean>

Checks if the device can send SMS messages.


SMSManager.checkSMSPermission(): Promise<string>

Returns the current SMS permission status.

| Platform | Returns | |----------|---------| | Android | 'granted' or 'denied' | | iOS | Always 'granted' |


SMSManager.requestSMSPermission(): Promise<string>

Requests SEND_SMS permission from the user.

| Platform | Behavior | |----------|----------| | Android | Shows system permission dialog | | iOS | No-op, returns 'granted' |

Requirements

  • React Native >= 0.76.0 (New Architecture)
  • Android: minSdkVersion 24+
  • iOS: 13.4+

License

MIT