react-native - 如何在反应本机应用程序中编码发送连接/好友请求
问题描述
功能:向基于 react native 构建的同一应用程序的另一个用户发送连接/好友请求
谁能建议我如何编码此功能
解决方案
You are trying to make a social app. Rather than sending in-app notifications and friend requests , you should structure your app properly about how the requests flow will be processed via backend. That's how facebook , instagram does , they have their servers for each functionality and upon click of any request buttons in the app ,those api's are called and respective friend requests are sent to the user. So structure your code-architecture first. Do find the link below , it may help you React native social app
推荐阅读
- c++ - 有没有办法在使用 extern 'C' 后重新启用名称修改?
- ms-access - Access VBA replace() 抛出奇怪的运行时错误
- java - 为什么在 Java 中使用自定义迭代器?
- java - 无法通过网关 jhipster 4.9.0 微服务架构登录
- html - 将两个 li 对齐在同一行
- javascript - 使用多个复选框从 wordpress 数据库中删除多条记录
- php - 本地主机当前无法处理此请求
- java - 如何在 Java 中使用 REST-assured 上传 CSV 文件?
- android - 是否可以添加图像作为背景来编辑在Android中保持下划线的文本?
- java - 用户通过Android中的任何第三方应用程序(CC清洁器或Kill应用程序)清洁应用程序后是否可以重新启动后台服务?