- fix(firestore)!: fix Long/Double conversion issues #3004 (#5840) (910d4e4), closes #3004 #5840 #3004
BREAKING CHANGES
- Previous versions of firestore here incorrectly saved integers as doubles on iOS, so they did not show up in
where/inqueries. You had to save numbers as strings if you wantedwhere/inqueries to work cross-platform. Number types will now be handled correctly. However, If you have integers saved (incorrectly!) as double (from previous versions) and you use where / in style queries on numbers, then the same document will no longer be found via .where. Mitigation could be to go through your whole DB and load and re-save the integers correctly, or alter queries. Please test your where / in queries that use number types if this affects you.