Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Questions regarding map & location

    App Development
    2
    4
    324
    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.
    • s710
      s710 last edited by s710

      I have just started work on my first app, and the main window basically just contains a fullscreen QML Map. When I run the app via clickable desktop, the map tiles are rendered and the map is functional.

      When I run it on my volla phone via clickable --ssh x.x.x.x ... the map however is not displayed, and instead I get a blank screen.

      Do I specify somewhere additional dependencies or something?

      CiberSheep 1 Reply Last reply Reply Quote 0
      • CiberSheep
        CiberSheep @s710 last edited by

        @s710 Hello.
        You might need add correspondant apparmor permissions:

        https://docs.ubports.com/en/latest/appdev/platform/apparmor.html

        If you are reading the location probably location 🙂 but if you are rendering maps in a webview, or need internet access, need networking and webview.

        You might see the errors in the log clickable --ssh xxxx logs

        Another planet, another time, another universe!

        1 Reply Last reply Reply Quote 1
        • s710
          s710 last edited by

          Thanks, will check it out.

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

            I added:

            {
                "policy_groups": ["location", "networking"],
                "policy_version": 16.04
            }
            

            And now the map works as expected. Thanks again.

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