最近遇到个客户提出需要司机自动启动小程序后台获取位置,跟踪订单,如果小程序被销毁了,有办法唤醒起来吗?求问
小程序能自动唤醒吗?Can the applet wake up automatically?
小程序能自动唤醒吗?最近遇到个客户提出需要司机自动启动小程序后台获取位置,跟踪订单,如果小程序被销毁了,有办法唤醒起来吗?求问
Recently, a customer asked the driver to automatically start the applet, get the location in the background and track the order. If the applet is destroyed, is there a way to wake it up? Ask
鍥炵瓟锛�
小程序后台获取位置有api。但是自动唤醒小程序没有。
不行
不能的。
不过,你在开发小程序的时候,可以每次在 onShow 做一些设置,检测状态
异想天开😂
原文出处:小程序能自动唤醒吗?
小程序不行