Open URL with custom app scheme (mac)

Is it possible to open a URL with a custom app scheme (only for example spotify://album/0sNO…) from the plugin?

I tried with no luck
window.open(‘spotify://album/0sNO…’, ‘_blank’)

Even just the link doesn’t work
Open URL Scheme Test