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

    Change theme depending on device OS

    Framework
    2
    2
    287
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      islammoh last edited by

      I have developed a pwa app and I need to publish both ios an material theme at the the same time, so users can see the theme depends on there device OS, unfortunately I can’t build both themes so what can I do, I am using firebase as back end

      1 Reply Last reply Reply Quote 0
      • metalsadman
        metalsadman last edited by metalsadman

        You’ll still need to build two separate build for different themes, then probably in your landing page you’ll have to detect what platform the user is currently on and redirect them to the appropriate themed servers. What’s stopping you from building two themes tho? since you can do just quasar build -m pwa -t ios for IOS themed build or quasar build -m pwa for the material one and still maintain one codebase.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post