Navigation

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

    danielfranz

    @danielfranz

    0
    Reputation
    1
    Posts
    246
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Website znet.company Location Sydney

    danielfranz Follow

    Posts made by danielfranz

    • ons.platform browser detection methods not working on mobile

      I’m sure I’m doing something wrong… The OS detection methods, for example ons.platform.isAndroid() and ons.platform.isIOS() are working fine.

      But I can’t get the browser detection methods to work, for example, ons.platform.isSafari() and ons.platform.isChrome(). They do work for me in desktop/laptop browsers but not on mobile, which is where I need them obviously.

      They just return false even though I am in that browser. Same for mobile Chrome, Safari, Firefox, Edge… I’m using them all within an ons.ready(function(){}). iPhone 11, latest iOS. Desperate. Are there any known pitfalls? Thanks

      posted in Onsen UI
      D
      danielfranz