diff --git a/releases/0.36/docs/headless-js-android.html b/releases/0.36/docs/headless-js-android.html index bb3dcdeef62..0bba8aa3e95 100644 --- a/releases/0.36/docs/headless-js-android.html +++ b/releases/0.36/docs/headless-js-android.html @@ -13,7 +13,7 @@ } return null; } -}
Now, whenever you start your service, e.g. as a periodic task or in response to some system event / broadcast, JS will spin up, run your task, then spin down.
BroadcastReceiver, make sure to call HeadlessJsTaskService.acquireWakelockNow() before returning from onReceive().You can edit the content above on GitHub and send us a pull request!