Skip to content
This repository was archived by the owner on Dec 9, 2022. It is now read-only.

Widget Persistent Mode

Matt Clarke edited this page Aug 25, 2019 · 2 revisions

Users can opt to run Lockscreen widgets in a Persistent Mode. This keeps the widget in-memory whilst the user has unlocked the device, but in a suspended (paused) state.

This then means your widget will only be loaded once, which may cause issue with any updates that are requested when your code first runs. To handle this, it is advisable to make use of the provided JavaScript events when the widget becomes visible to the user.

Clone this wiki locally