No SMS permissions. No user prompts.
Just automatic OTP detection — handled natively on Android.
Introducing @huymobile/react-native-sms-retriever-nitro-module, a React Native library that brings Google Play Services SMS Retriever API to the new architecture — built with Nitro Modules 💨. That means:
➡️ No READ_SMS permission.
➡️ No fake “SMS access” dialogs.
➡️ Automatic OTP retrieval (no permissions)
➡️ React Hook API — useSMSRetriever()
➡️ Full TypeScript support
➡️ Works with React Native 0.76
ℹ️ How it works:
Your app registers with the SMS Retriever API, which watches incoming messages for your app’s unique hash (via getAppHash()). When a message arrives containing that hash, Google Play Services delivers the OTP straight to your app — without exposing full SMS contents or needing user consent. Privacy-safe, permissionless, and fully on-device.
Built with Nitro Modules— not a legacy bridge wrapper. Designed for speed, smaller JS overhead, and clean interop with the new React Native runtime.
Because nobody opens an OTP text thinking, “Ah yes, I can’t wait to type this in manually.”
#ReactNative #AndroidOnly #NitroModules #TurboModules #OpenSource #MobileDev #OTP #TypeScript #ReactNativeRewind #GooglePlayServices