Closed
Description
Hello!
If I pass visitor.shouldPersist = false
(for setVisitorInfo
) or options.emailNotRequired = false
(e.g., for startChat
) from JS this options[@"shouldPersist"] || NO
resolves to YES
when NO
is expected.
To fix that we should unwrap bool value like that: [options[@"shouldPersist"] boolValue] || NO
.
Got a PR to submit.
Metadata
Metadata
Assignees
Labels
No labels