Hey Elliot, when testing things on CodePen.IO, make sure to leave the “live” or “code” view and go straight to the “debug” view as those latter views tend to cause issues with all sorts of things. (Likely due to the constant refresh) Second tip: The iOS 13 browser will automatically go to denied if the user accidentally or intentionally chose deny once. In that case, you must to go your phone settings and clear the Safari cache. I had to do both of these to get your code working. 🙏🏻

Written by

I develop websites for rock 'n' roll bands and get paid in sex and drugs. Previously Silva Artist Management, SoundCloud, and Songkick. Currently: Available

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store