We have an app that is a PWA loaded in a WebView inside anative Swift app (created at PWABuilder.com). This is in order to submit our PWA to the App Store.
The app navigates to a login page. On submitting that login form (pressing a button inside an HTML form), instead of posting the form, another copy of the page opens in a new browser window. This breaks the login flow and the login sequence fails to complete (never mind requiring the user to enter their details twice).
When running in XCode simulator, I see the following warning when pressing the button:
-[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID
Does anyone know what is going on, and how prevent the new window opening? I am not an Apple developer, so am at a loss.
It does not happen if I directly install the PWA via Add to Home Screen. Nor does it happen in our similar Android app.