首页 > 解决方案 > 如何在 React Native 中通过 SMS User Consent API 使用自动填充 otp,如谷歌的一键式 SMS 验证

问题描述

我正在尝试使用 React 本机应用程序中的自动填充功能实现电话号码验证。到目前为止,我发现有两种方法,即在短信正文中附加哈希键或使用短信用户同意 API,如https://developers.google.com/identity/sms-retriever/user-consent/overview

有什么方法/库可以避免使用散列键?

标签: react-nativesms-verification

解决方案


推荐阅读