getditto / starfish

An experimental react native implementation for Ditto using OnlinePlayground
MIT License
5 stars 1 forks source link

iOS/Android js booleans incompatible #6

Open SimonLeigh opened 1 year ago

SimonLeigh commented 1 year ago

iOS writes javascript boolean values as 0, 1 whereas android writes as true / false into the json object.

This, in combination with the issue 5 means use of bool values in a cross platform situation will result in android crashing post iOS making mutations containing boolean values.