You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are expecting your JavaScript to run when the app isn't running. This cannot happen as the JavaScript needs the app to be running. You would need to write code to specifically start the app (after reboot) then re-register the listener.
As a general rule, all doWork() activity should be in Java. The only work done in JavaScript should be UI updates.
Its calling dowork native method only. I need to call javascript function(registerforupdatelisner) in background after reboot of my phone.
The text was updated successfully, but these errors were encountered: