[TIMOB-26709] iOS: WebView evalJS method crashes app when "run-on-main-thread" is false
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | Release 7.5.0 |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | engSchedule, ios, parity |
| Reporter | Carlos Henrique Zinato |
| Assignee | Gary Mathews |
| Created | 2019-01-09T12:15:12.000+0000 |
| Updated | 2019-07-02T06:14:18.000+0000 |
Hello, I was able to reproduce the issue with your sample code provided above, The app does crash with "run-on-main-thread" is set false. Tested with SDK 7.5.0.GA in iOS 12.1 simulators. Moving to TIMOB. Thanks.
I have the same issue. Do you plan to fix this in upcoming version 8? Thanks.
I am in trouble with the same issue. Setting the run-on-main-thread to true has a big influence. Is it fixed in version 7.5? Thanks.
I've tested it with 7.5, its not fixed yet. Hopefully it will be fixed with 8.0.
I believe this is fixed in the latest 8.0.0: https://github.com/appcelerator/titanium_mobile/blob/8_0_X/iphone/Classes/TiUIWebViewProxy.m#L424
Can somebody confirm if this is fixed SDK 8 onwards? My app release is on hold due to this bug and really need to release it.