ibm mobilefirst - WL.Events.WORKLIGHT_IS_DISCONNECTED not triggering -


wl.events.worklight_is_disconnected not getting detected when shut down worklight server in android mobile. working fine in browser. how solve problem?

i have tested working offline sample app in worklight v5.0.6.1 , received both disconnectdetected , connectdetected events in android device running android os v4.0.4.

prior v5.0.6.x if close server, port still taken (in jetty) , cause problem. closing eclipse frees port. in 5.0.6.x fixed.

make sure using latest worklight version*, , sample app have downloaded latest available getting started page (the page down maintenance, you can here, search "working offline").

you can download/upgrade worklight visiting eclipse marketplace menu.

other that, you'll need edit question more information:

  • your worklight version
  • developer edition or consumer/enterprise edition
  • your android device os version

Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -