jceciliano commented on issue #1106:
URL: 
https://github.com/apache/cordova-android/issues/1106#issuecomment-1193238600

   ok i create new basic app using this code and can you check screenshots and 
test.apk, any solutions?  
   http://octopus.com.mx/errorbackevent/
   
   Code:
   ons.ready(function() {
     console.log("Onsen UI is ready!");
     document.addEventListener("deviceready", onDeviceReady, false);
   });
   
   if (ons.platform.isIPhoneX()) {
     document.documentElement.setAttribute('onsflag-iphonex-portrait', '');
     document.documentElement.setAttribute('onsflag-iphonex-landscape', '');
   }
   
   function onDeviceReady() {
       // Now safe to use device APIs
       alert("onDeviceReady device APIs");
   
       document.addEventListener("resume", fOnResume, false);
       document.addEventListener ("backbutton", function (e) {
           e.preventDefault ();
           alert("onBackKeyDown");
           return false;
       }, false);
   }
   
   function fOnResume(){
       alert("fOnResume");
    
   }
   
   only using plugin splash screen
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to