You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/07/05 11:33:44 UTC

[GitHub] [cordova-plugin-splashscreen] MBuchalik commented on issue #186: [Android 9 - TargetSKD 28] Backbutton not working

MBuchalik commented on issue #186: [Android 9 - TargetSKD 28] Backbutton not working
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/186#issuecomment-508729865
 
 
   >  Plain Cordova app (created with cordova create) without this plugin I should be able to use the back button to go back in the navigation, after adding the plugin the back button will not work correctly any more. Then with the PR branch it should work again - is this all correct?
   
   @janpio I believe this is correct! 👍 Most likely, you can use something like the code posted in https://github.com/apache/cordova-android/issues/687 to test this:
   
   ``` JS
   document.addEventListener('deviceready', onDeviceReady, false);
   function onDeviceReady() {   
       document.addEventListener('backbutton', onBackKeyDown, false);
   }
   function onBackKeyDown() {
       alert('The back button was pressed!');
   }
   ```
   
   @fgarcia5 Does this match your description from https://github.com/apache/cordova-android/issues/687 ?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org