• Post Reply Bookmark Topic Watch Topic
  • New Topic

Firing unload event in hybrid mobile app

 
N.Gandhi Rajan
Greenhorn
Posts: 25
  • 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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!