No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. liuzhongshu
    L
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Best 1
    • Groups 0

    liuzhongshu

    @liuzhongshu

    1
    Reputation
    204
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    liuzhongshu Follow

    Best posts made by liuzhongshu

    • RE: Quasar exiting app pressing back button

      I have the same issue, my app has a start page, and auto jumps to different pages based on some conditions, in the target page, I just want exit when back button is pressed, but the route is not “#/”, so just not work.

      This behavior is only found in the release version. when I do debug build using ‘quasar dev -m cordova -T android’, the back button is working, why?

      posted in Framework
      L
      liuzhongshu

    Latest posts made by liuzhongshu

    • RE: back button in android using Quasar 0.16

      I find my issue is related with android version, with android 5.1, the problem exists, but under android 7, it does not exist.

      posted in Help
      L
      liuzhongshu
    • RE: back button in android using Quasar 0.16

      @dsky Your problem seems to be related to hardware, have you tried changing a mobile phone?

      posted in Help
      L
      liuzhongshu
    • RE: back button in android using Quasar 0.16

      After several days of debugging, I found that onMessageFromNatives in cordova.js could not be triggered under the debug version(quasar dev) using quasar 0.16, I have created an issue on github.

      https://github.com/quasarframework/quasar/issues/2267

      posted in Help
      L
      liuzhongshu
    • RE: back button in android using Quasar 0.16

      @nothingismagick yes, I know that, quasar is great. I just want to know if any other one have same issue with me, or maybe I misunderstood something?

      posted in Help
      L
      liuzhongshu
    • back button in android using Quasar 0.16

      I upgraded to quasar 0.16 from 0.14 recently, my app has a start page, and auto jumps to different pages based on some conditions, in the target page, I just want exit when back button is pressed, but the route is not “#/”.

      I found some behaviors were different with quasar v0.14, In 0.16:

      1. When using debug version(quasar dev -m cordova -T android), the back button works as expected, but I can not register backbutton event using following code:
        mounted () {
          if (this.$q.platform.is.cordova) {
            document.addEventListener('backbutton', this.onBackButton, false)
          }
          if (this.$store.getters.isFinished()) {
            this.$router.replace('/repo')
          }
        },
      

      onBackButton method never get fired when I pressed the back button.

      1. When using release version(quasar build -m cordova -T android), the back button behavior changed, I can not exit app when i am not in ‘#/’ route. seems it’s a new design of quasar 0.15, but why?

      And very strange, now the event works, then I can add this code to “fix” the behavior:

          onBackButton: function (e) {
            e.stopPropagation()
            navigator.app.exitApp()
          }
      

      But everything works fine in quasar 0.14. Maybe I misunderstood something?

      posted in Help
      L
      liuzhongshu
    • RE: Quasar exiting app pressing back button

      I have the same issue, my app has a start page, and auto jumps to different pages based on some conditions, in the target page, I just want exit when back button is pressed, but the route is not “#/”, so just not work.

      This behavior is only found in the release version. when I do debug build using ‘quasar dev -m cordova -T android’, the back button is working, why?

      posted in Framework
      L
      liuzhongshu