-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS 14.x M1 simulators have a known issue with some standard features #103
Comments
Thanks for reporting the issue I can confirm that permanent we content process termination happens only for 14.5. I have tested 15.5 and 16.2 but no such behavior was observed This issue really looks like a bug in WebKit (because happens only for specific iOS version) I will continue the investigation on our side, also SDK shouldn't fail "silent" and provide an error in completion closure (if web content process was killed) BTW @fwx maybe you have a device with iOS 14.5 to confirm that this behavior happens for the actual device too? P.S. Issue reproduces only for arm iOS 14.5 (x86_64 14.5 works fine) |
Sorry, but I dont have a device running iOS 14.5 : ( |
Clearly looks like WebKit issue, because it reproduces on arm Simulator, but works fine for x86_64 Simulator |
Now SDK correctly handle WebContent process crash/termination |
Closing for now. |
Troubleshooting continued |
According to our investigation:
So per our investigation it's simulator only problem and it's not affect real devices @fwx could you please try with test sitekeys from https://docs.hcaptcha.com/#integration-testing-test-keys ? |
Sorry for such a long answer. So it is working
The captcha was not presented and I just got the token immediately. Then I tried one more time and this error happened:
Yea I guess we're just looking at Apple's bug and it is probably working on a device running 14.5 |
Let's just add a note to docs, this seems like a known simulator bug that does not affect real devices. |
Bug description
Captcha is not displaying puzzle using iOS 14.5 Simulator
To Reproduce
Steps to reproduce the behavior:
If using
invisible
then nothing happens at all, but ifcompact
is being used, then checkmark displays, but after pressing 'I am a human' nothing happens except one flicker.Sample code:
Expected behavior
hCaptcha displays puzzle
Logs
Additional context
Seems like thats an iOS bug related to WKWebView. I've tried enabling background capabilities but it didnt help. We have our own implementation of Google's ReCaptcha but I dont see any big difference in codes related to webview handling, so I am not kind of sure thats WKWebView problem
The text was updated successfully, but these errors were encountered: