在Expo应用程序中发送SMS,而无需重定向到设备默认消息传递应用程序

发布于 2025-01-29 05:58:39 字数 194 浏览 1 评论 0原文

作为我正在研究的学校项目的一部分,我正在尝试构建一个消息传递应用程序,该应用程序利用SMS作为发送和接收SMS的默认方法,而无需重定向到设备的默认SMS消息应用程序(即发送/接收SMS的SMS我的应用程序不将iPhone上的消息应用重定向到)。但是我还没有发现任何可以用来实现这一目标的东西。

PS:项目的要求之一是不使用任何外部库,除了Expo提供的内容,

As part of a school project I am working on, I am trying to build a messaging app that utilizes SMS as the default method for sending and receiving SMS without redirecting to the default SMS Messaging App of the device (ie sending/receiving an SMS for my app without redirecting to the Messages app on the iPhone). but I haven't found anything that can be used to achieve this.

PS: One of the requirements of the projects is not using any external library, except for the things provided with Expo,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

美人骨 2025-02-05 05:58:39

您将必须使用外部库。该功能在反应中不构建本机

一个外部库将是“ https://www.npmjs .com/package/react-native-sms

如果您真的不想使用外部库,则唯一的选项是编写自己的函数,与本机API通信

You will have to use an external library. That feature isnt build in react Native

One external Library would be "https://www.npmjs.com/package/react-native-sms"

The only option you have if you really dont want to use external librarys is, to write your own function, which communicates with the native API

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文