Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26709] iOS: WebView evalJS method crashes app when "run-on-main-thread" is false

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 7.5.0
Fix Version/sn/a
ComponentsiOS
LabelsengSchedule, ios, parity
ReporterCarlos Henrique Zinato
AssigneeGary Mathews
Created2019-01-09T12:15:12.000+0000
Updated2019-07-02T06:14:18.000+0000

Description

Comments

  1. Sharif AbuDarda 2019-01-09

    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.
  2. fn@impacgroup.de 2019-02-04

    I have the same issue. Do you plan to fix this in upcoming version 8? Thanks.
  3. kimomon 2019-02-20

    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.
  4. fn@impacgroup.de 2019-02-20

    I've tested it with 7.5, its not fixed yet. Hopefully it will be fixed with 8.0.
  5. Gary Mathews 2019-02-22

    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
  6. Muhammad Qasim 2019-07-02

    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.

JSON Source