Skip to content

v0.3.17

Latest

Choose a tag to compare

@Brontojoris Brontojoris released this 15 Jul 09:36

Fixed

  • Rule mode: array returns are now suppressed instead of dispatched, bringing iOS into parity with Android and §2 of the evaluation contract. Previously JSValue.toDictionary() coerced a returned array into a numeric-keyed dictionary ({"0":…, "1":…}) and dispatched it as an unusable event payload; evaluateRule now short-circuits on jsResult.isArray and suppresses the event. Scripts that returned an array and relied on the dispatched numeric-keyed payload (none known) will now see the event suppressed.