UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. nilsl
    3. Best
    N
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 3
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Development of Bluetooth-enabled Ubuntu Touch App

      @advocatux Thanks. Yes, I was aware I have to add the "bluetooth" policy group to the .apparmor-file:

      {
          "policy_groups": ["bluetooth"],
          "policy_version": 16.04
      }
      

      However, I probably got confused: It seems that the AppArmor-configuration only gets adopted when the version number in manifest.json is increased (I don't know if this bug report is related).

      Anyway, with this .apparmor-file and after increasing the version in manifest.json, the error ("Cannot find a running Bluez") is gone.

      @Flohack
      I this case, adding

      "template": "unconfined"
      

      to the .apparmor-file did not seem to be necessary to get Bluetooth-access. Thanks for the hint about running apps as unconfined anyway.

      posted in App Development
      N
      nilsl