My app is built with Codeless and the native mobile app shell.
At some point, I have a button which triggers a form submission with this block :
On my desktop, everything works fine, whether in Chrome or Safari. When on Android, once again, everything is fine. However, when running on an iPhone, I get the following error exactly when the form submission takes place :
TypeError: pe.current.requestSubmit is not a function. (In 'pe.current.requestSubmit()', 'pe.current.requestSubmit' is undefined)
Cloud you please advise ? I was about to build and then this issue is blocking the whole process
Our dev is investigating this issue. Could you please provide more information?
What version of SDK do you use? When was the last working changes were made?
I checked and from what I can see, the last working version was built on Jul 17, 2023. Then it looks like the SDK changed and the feature seems broken on iPhone.
Ah, stop. Are you launching an app from an iPhone just using Safari?
The same error is reproduced when running through a native shell. Did I understand correctly?
My app is a “normal” app, built with the native shell. This is where I first noticed the issue.
To help narrow down where the issue comes from, and because I know that within the native shell, it really all is a webview, I figured I would try it with a simple website launched from Safari. So I built a test page.
If the issue disappears, then it has to do with the shell. But it’s not the case. The issue is still there on mobile Safari. So I believe it has to do with something in the SDK being incompatible with mobile Safari somewhere.
This all makes me even more curious to understand what is going wrong. It looks like it’s only on my app and/or my device, which is better. But I’d be grateful for a solution because for the time being it’s broken.
I can’t really not use it, because it’s one icon submitting a different form according to which tab is displayed. So it’s not a simple button submitting only one form.
Good to know it’s in the pipes, though. Do you know if it will be released before the end of the week ?