-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cloud_firestore] crashes if you insert "/" char into .document(value) [only iOS] #2338
Comments
Hi @mustafarenkci |
Here; Flutter doctor -v
flutter run --verbose
|
A pointer to a document must be an event amount of segments so the error is correct. What happens on Android? Collection/Document names cannot include |
I'm getting the same issue. Previous version used to work with the above format even on iOS. On Android, it works as expected. |
On JS, that code produces this error:
This will be caught but the correct behaviour is to throw an error. |
Describe the bug
im using firestore and it works well but when i try to use a string which contains "/" char into document(), app crashes ONLY ON iOS DEVICES.
For example;
At runtime, the following crash occurs, closing the app (it is not handled by Flutter):
im using cloud_firestore: ^0.13.4+2
The text was updated successfully, but these errors were encountered: