1 Reply Latest reply on Feb 2, 2016 11:10 PM by Mark Nongkhlaw

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

    Mark Nongkhlaw

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



      <script type="text/javascript">

      function quit_app(){





        <div data-role="header" data-position="inline">

          <h1>My App</h1>


        <div data-role="content">

          <ul data-role="listview"> 

            <li><a href="#" onclick="quit_app()">Exit My App</a></li> 





      However, it works in Rhosimulator.

      And using Ruby in a controller instead like below also does not work :


         def quit_app




      Any tips/suggestions/workarounds for WP8.x ?