• GeneralSolved
  • Cannot add Gadgetbridge to "Device & app notifications"

As the title says I am not permitted to add Gadgetbridge, on selecting "Allow notification access" I am told that it's a restricted setting and "For your security, this setting is currently unavailable".

Is there a method to enable this? I won't be able to forward notifications to the smartwatch I just bought without it.

    Nobodi

    I am told that it's a restricted setting and "For your security, this setting is currently unavailable".

    Since Android 13, the notification listener APIs are restricted to apps installed via a session-based package installer (the modern package management API for app stores): https://blog.esper.io/android-13-deep-dive/#restricted_settings_appop. If you installed it from an APK or from a store using legacy APIs like F-Droid, you'll need to go out of your way to allow notification access. From the linked article:

    The user can then go to the app info settings for the app in question, open the menu, and then press “allow restricted settings” to unblock access to the app’s accessibility service.

    It says "accessibility service" but this also applies to the notification listener APIs.

    Of course the other option is to install Gadgetbridge from a proper store using the modern package management API.

      Thank you for the solution and explanation.
      I guess f-droid needs to update, alas it's solved now and my smart watch should work.

      Many thanks!

        Nobodi F-Droid stock app does indeed, highly recommended to install an app like Droid-ify which targets a higher SDK, uses more modern installation API and is maintained. You shouldn't have the same problems going forward.

          2 months later

          lberrymage

          I have a fresh install of Android 13 on a Pixel 6a (build number: TP1A.221005.003.2022102800), but there doesn't seem to be such a menu anymore. Do you happen to know where this setting is now?

          I'm trying Jami (F-Droid and Droidify), but can't seem to find the setting.