【问题标题】:How to sync react native app with express app?如何将反应本机应用程序与快速应用程序同步?
【发布时间】:2019-03-23 07:30:04
【问题描述】:

我正在使用 react native android 应用程序来记录呼叫。一旦呼叫被记录,它应该上传到 serer(express js 和 mysql)以及呼叫详细信息。假设应用程序处于脱机状态,文件应该上传到服务器,只要应用程序上线。我应该如何实现这一点。

注意:上述所有进程都应在后台运行。

我找到了一些解决方案,例如 pouchdb。对于使用此 npm 的 react native (pouchdb-react-native) npm 和 express js (express-pouchdb),我可以实现同步吗?以及如何?

【问题讨论】:

    标签: node.js express react-native synchronization pouchdb


    【解决方案1】:

    可以 - 使用 PouchDb 服务器和 LevelUp - 将 PouchDb 与不同的后端数据库同步。有关详细信息,请参阅 this answer 和 LevelUp 上的 the Nolan Lawson article

    【讨论】:

      猜你喜欢
      • 2018-01-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多