Posit Connect: RShiny with push notification

Hey guys,

I'm wondering if it is possible to have a rshiny app that is hosted on my ubuntu connect server and that is able to send notifcations. However, I'm not looking for notifcations that get only displayed in the browser window. I want to have s.th. like a Desktop notifacation that is always displayed, no matter with a minimized or maximized browser window.

I found this repository. When I build a shiny app on my local windows Rstudio instance,

ui <- fluidPage(
  tags$h2("Push notification"),
  use_push(),
  actionButton("show", "Show notification"),
  textInput("title", "Text to display", "Hello world :)")
)

server <- function(input, output, session) {
  
  observeEvent(input$show, {
    push(title = input$title)
  })
  
}

shinyApp(ui, server)

I get what I want:
image

However, running the example from the respository and a hosted Rshiny application on my connect server does not work. I do not receive any notifcation.

So, maybe me knowledge about web development is limited, so is even this technically achievable?
If yes, are you familiar with any other option to achieve my goal?

Thanks!

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.