Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Fix cloud firestore platform error 0#1267

Closed
tomalabaster wants to merge 3 commits intoflutter:masterfrom
tomalabaster:fix_cloud_firestore_platform_error_0
Closed

Fix cloud firestore platform error 0#1267
tomalabaster wants to merge 3 commits intoflutter:masterfrom
tomalabaster:fix_cloud_firestore_platform_error_0

Conversation

@tomalabaster
Copy link

The changes in this PR has caused cloud_firestore to throw PlatformExceptions incorrectly. The getFlutterError method never returns null as if the error argument is null, the string formatting puts 0 in the errorWithCode parameter causing a FlutterError to always return.

@cyanglaz
Copy link
Contributor

Thank you for providing the fix. The issue has been fixed with #1274.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants