I am working on a rather simple project in AFrame with some HTML and JS for UI, and I wanted to try out PWA after I found it inside of the project settings, since the idea of not sacrificing 15% of my screen to the safari tab bar for our AR app seemed very appealing.
I cloned the project to create a PWA version of it, enabled it in settings and added the xrextras-pwa-installer to my scene as well as checking that I had imported xrextras in my head.html. Since I am working with an AFrame project, I did not add the XR8 line to my app.js as the tooltip in the PWA settings suggested.
App thumbnail works great, the app opens and gives me all the sensor prompts, but then proceeds to get stuck on the loading screen.
I can see that it tries accessing the camera, which pops up on the dynamic island for a couple of seconds, before disabling itself again, with the project never getting past the load screen.
Did I miss something in implementing PWA? Are there some known bugs since itβs a beta feature that could cause this?
I was testing on an iPhone 14 Pro running iOS 18.0 (22A3354), in case this is relevant, and unfortunately donβt have another device on hand to test.
Iβve shared the project with the support workspace since I couldnβt figure out a solution based on the documentation either.