Rho.Application.quit does not work in WP8.x device

M Mark Nongkhlaw 3 years 6 months ago
7 1 0

My call to Rho.Application.quit in JS, like so in the same .erb does not work in WP8.x device :

function quit_app(){
   Rho.Application.quit();
}
 

 
    My App
 
 
     
      Exit My App 
   
 

However, it works in Rhosimulator.
And using Ruby in a controller instead like below also does not work :

   def quit_app
    Rho::Application.quit
   end

Any tips/suggestions/workarounds for WP8.x ?

Please Register or Login to post a reply

1 Replies

M Mark Nongkhlaw

Well, reviewed this again. I found out that the JS call does work, although it takes some time to exit the app at times but not always.
Verified that the Ruby call does not work. Tested with KitchenSink app too.

Anyone else facing this problem? If yes, then there may be a requirement for correcting/foot-noting the API Matrix against Application API and against WP here : Rhomobile | RhoMobile API Summary

CONTACT
Can’t find what you’re looking for?