Requesting assistance setting up URI action link

I’ve read through all the documentation I could find, mainly this, but I still cannot get uri’s working how I’d like. I eventually want to include links in my update detection notifications which bring me right to the HACS page of the application, or to Supervisor.

I figured I would start by using the provided example verbatim to ensure just that works on my end, and despite a link appearing in the notification and me clicking it successfully, the only action achieved is the notification closes but Twitter does not open. Does anyone see anything I did incorrectly on my end? I did install Twitter on my phone for the sole purpose of testing the provided example verbatim. Below YAML was added to Developer Tools > Services:

service: notify.mobile_app_pixel_4_xl
data:
  message: "Something happened at home!"
  data:
    actions:
      - action: "URI" # Must be set to URI if you plan to use a URI
        title: "Open Url"
        uri: "app://com.twitter.android"

It’s possible this might be a beta update issue, or possibly an Android 12 thing for now. Just curious if anyone notices anything I’m doing incorrectly first. Thanks!

I just tried it on an android 6 phone with org.videolan.vlc since I do not have twitter, and it did work, though I did have to unlock the phone after to see it opened. If the phone was already unlocked it opened straight away

1 Like

Thanks so much for testing! This appears to be a weird my phone issue, not Android 12. Just tested on another Android 12 device and it worked flawlessly. Guess I’ll be trying to figure out what I did on my phone to break these!

Figured it out, it appears to be an issue with the latest Beta version of the app. Left the beta program and installed the stable version apk, these actions work no problem.

I think there is a new permission needed, on the device not working check app permissions and make sure draw over other apps is granted. Seems this is a new thing from Google.

1 Like