Scan Barcode Event Not Working?

I set a button to Scan Barcode onClick, but nothing happens. I am expecting a popup asking to use camera. I tried on my PC as well as my phone.
I also set up the project session event in case that mattered.

It only works in the mobile app, not in a browser. Coming to Perspective Workstation at some point.