Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Firing unload event in hybrid mobile app  RSS feed

 
N.Gandhi Rajan
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!