DwebServiceWorkerPlugin
August 11, 2023
- Plugin
Plugin that provides app-level services.
import { dwebServiceWorkerPlugin } from "@plaoc/plugin";
Properties
updateController
Accesses properties of the UpdateControllerPlugin. Its value is an UpdateControllerPlugin object.
Methods
DwebServiceWorkerPlugin.update()
Gets the app update controller.
DwebServiceWorkerPlugin.close()
Closes the frontend UI.
DwebServiceWorkerPlugin.restart()
Restarts the frontend and backend services.
DwebServiceWorkerPlugin.externalFetch()
Method for communicating with other apps.
Events
- None
Platform Compatibility
Property/Method/Event | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
updateController | ✅ | ✅ | ✅ | X |
update | ✅ | ✅ | ✅ | X |
close | ✅ | ✅ | ✅ | X |
restart | ✅ | ✅ | ✅ | X |
externalFetch | ✅ | ✅ | ✅ | X |
See Also
Powered by Waline v2.13.0