Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Firing unload event in hybrid mobile app  RSS feed

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Team, I m currently working on developing hybrid mobile app using Apache Cordova. Need to trigger some functionality on unload of a page. I used the following code,

$(window).unload(function() { .... }

This works fine on iOS but the same dint work on android. Could someone tell me how to achieve this on android?

Regards,
Gandhi
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!