search

Home  >  Q&A  >  body text

ios - 两个手机A,B. 同一app, A显示二维码, B扫描, A如何直接知道B扫面完成?

高洛峰高洛峰2889 days ago272

reply all(2)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-18 09:23:04

    You can use third-party push implementation, such as JPush. When the application is open, JPush will maintain a long connection to the device. You can send messages through this long connection. If the application is not open, it will go away. APN. In addition, APN push is not necessarily required to achieve this, web socket can also be used.

    reply
    0
  • PHPz

    PHPz2017-04-18 09:23:04

    After consulting, the server has a way to refresh the client. This is a solution. There are also long connections and client polling. Because scanning hair does not take too long, polling does not affect performance.

    reply
    0
  • Cancelreply