Rob's garden / notes / note

Note

#pwa #ios #rx_tape

So I’ve been getting project tape working on iOS as a #PWA and it’s working offline! However there is no “microphone permission” settings for PWAs on #iOS so everytime you open or refocus the app it demands permission to use the microphone again and again.

I can see why this is important for regular websites, but there is not option to always allow. If you install a native app you can go into Setting and pick “Always Allow” but not for 2nd class PWAs, or even prompt for that permission initially.

I think I’ve found a workaround, which I was surprised even works. If you open the app in Safari and do a magical incantation you can get it to always allow the safari version, which seems to effect the permission of the PWA version?!

The incantation:

  1. Open web app in safari
  2. Accept microphone permissions
  3. Press the jigsaw/menu button next to the address
  4. Press “…”
  5. Scroll to the bottom
  6. Change Microphone to “Always Allow”
  7. Restart the PWA and 🤞