qinrui
V2EX  ›  微信

搞了个跑步小程序,开发完了才发现微信小程序 api 不能持续提供位置。。。

  •  
  •   qinrui · Feb 21, 2019 via iPhone · 3693 views
    This topic created in 2831 days ago, the information mentioned may be changed or developed.
    跑步的时候要持续亮屏开着微信和小程序,郁闷
    3 replies  •  2019-02-22 16:42:51 +08:00
    tongz
    tongz
    Feb 21, 2019
    1
    666 心疼你
    VolcanoX
    VolcanoX
    Feb 21, 2019
    2
    也就是说不持续开着不能显示运动轨迹吗。。。
    jifengg
    jifengg
    Feb 22, 2019
    3
    应该是因为 js 没有执行的原因吧。web 的一个通病(优化),当前页面不在激活状态下,js 会停止运行。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4919 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 06:16 · PVG 14:16 · LAX 22:16 · JFK 01:16
    ♥ Do have faith in what you're doing.