Navigation

    Monaca & Onsen UI
    • Register
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. zjohnson17
    Z
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    zjohnson17

    @zjohnson17

    0
    Reputation
    5
    Posts
    477
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    zjohnson17 Follow

    Posts made by zjohnson17

    • Geolocation plugin not working in built app

      So I’m having trouble getting a users current location with the built iphone app using onsenUI/monaca/cordova.

      I am using the latest official geolocation plugin for cordova. When I run in monaca debugger, it runs fine. When I build the app and run it I get code: 3, position retrieval timed out. Does anyone know why this might be? It doesn’t even ask for permission?

      posted in Developer Corner
      Z
      zjohnson17
    • Express session cookies with coordova

      I have two questions involving using express session cookies in a hybrid app.

      First of all, in the latest operating systems of phones and the latest version of coordova, will session variables work normally? Are cookies easily stored and retrieved on hybrid mobile apps? If not, what would be the best practice? Currently we are using session variables to keep the user logged in.

      Second of all, the reason it is not working right now for us(or at least one of the reasons), is that when we started developing, we were doing so just with google chrome and without monaca. We were using Jade as a template engine and it was very easy to access these session variables with #{} syntax. Do you know of an alternative way to access these req.session variables with html or angular without the Jade view engine? I’m thinking it wouldn’t be possible without another server route, but I’m not sure.

      posted in Developer Corner
      Z
      zjohnson17
    • RE: Navigate to page when clicking list item

      navigator is the best way to do it. You should create one on your index page and have all the other pages in templates.

      You can then push pages or resetToPages with the navigator. Push page adds it to the navigator page stack so you can have a back button to go back, while resetToPage is pretty self explanatory.

      Use that link you used for further details since it uses the same stack you are(I’m assuming you are using Vue2 with OnsenUI)

      posted in Onsen UI
      Z
      zjohnson17