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/11/28 09:53:13 UTC

[GitHub] [cordova-android] UmarBilanov opened a new issue #876: Handling android back button?

UmarBilanov opened a new issue #876: Handling android back button?
URL: https://github.com/apache/cordova-android/issues/876
 
 
   I try to navigate from Example.vue to Example2.vue by android back button my code works for os under android 8.0. On devices android upper 8.0 the back button works by history.Do you have any idea to do it?
   
   onClickBackButton() {
   this.$router.replace({'path': '/example2'});
   }
   
   mounted() {
   if (this.$q.platform.is.cordova) {
   document.addEventListener("backbutton", this.onClickBackButton, false)
   }
   }
   
   Platform:
   Android:

----------------------------------------------------------------
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