Page 2 of 2

Device BackButton Work only on Appery.io Tester ??

Posted: Mon Feb 09, 2015 6:16 am
by Alena Prykhodko

Hello,

Please tell more detailed what exactly is minimizing?
Screen shots will help.
Also specify your device, OS version and steps to test.


Device BackButton Work only on Appery.io Tester ??

Posted: Mon Feb 09, 2015 6:34 am
by Shubham Kumar

Attaching Screenshots

  1. Exit Confirmation
  2. After Pressing Yes it is Minimizing However From ApperyioTester App it is getting exited.
    Android Version: KitKat
    Image Image

Device BackButton Work only on Appery.io Tester ??

Posted: Mon Feb 09, 2015 10:08 am
by Maryna Brodina

Hello!

What button do you click so that it shows exit confirmation, device Back button? Do you run any code on that button click?


Device BackButton Work only on Appery.io Tester ??

Posted: Mon Feb 09, 2015 10:12 am
by Shubham Kumar

on device back button click function

function exitapp(){
if (confirm("Do You Want To Exit!") === true) {
navigator.app.exitApp();
} else {

Code: Select all

 } 

}


Device BackButton Work only on Appery.io Tester ??

Posted: Mon Feb 09, 2015 10:50 am
by Alena Prykhodko

Hello,

Please use this code:

prevar retVal = confirm("Do you want to Exit the Program ?");
if( retVal === true ) {
navigator.app.exitApp();
} else {

}
/pre

Somehow code with function is not executed. We'll double check.


Device BackButton Work only on Appery.io Tester ??

Posted: Mon Feb 09, 2015 10:56 am
by Shubham Kumar

same thing only The Message Changed from "Do you want to Exit" to "Do you want to Exit the Program " I think their is some problem with the KITKAT version or something like that


Device BackButton Work only on Appery.io Tester ??

Posted: Tue Feb 10, 2015 8:34 pm
by Evgene Karachevtsev

Hello!

Yes, the problem is in OS, because you can remove it only with swipe up


Device BackButton Work only on Appery.io Tester ??

Posted: Tue Dec 29, 2015 1:45 pm
by EJLD

Hi There, I am trying to make use of this backbutton event (as well as "before unload"). however, it is for a html published site (no building of any apk or ... file). would you confirm it doesn't work for html published but only for hybrid app ?
Thk you
Eric