Closed KiwiArch closed 2 years ago
Since the release of 0.5.2 web builds are not correctly parsing the GeoPoint data type.
Using the following to parse a geopoint data type from a document snapshot:
final fireStore.GeoPoint geopoint = data['geopoint'];
throws "Error: Expected a value of type 'GeoPoint', but got one of type 'LinkedMap<String, dynamic>"
Still works as expected on mobile.
Related https://github.com/FirebaseExtended/flutterfire/issues/3865
This ought to be fixed with this PR: https://github.com/FirebaseExtended/flutterfire/pull/6728
Bug report
Since the release of 0.5.2 web builds are not correctly parsing the GeoPoint data type.
Steps to reproduce
Using the following to parse a geopoint data type from a document snapshot:
final fireStore.GeoPoint geopoint = data['geopoint'];
throws "Error: Expected a value of type 'GeoPoint', but got one of type 'LinkedMap<String, dynamic>"
Still works as expected on mobile.