Closed
Description
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;
DocumentReference fireStoreReference =
Firestore.instance.collection('liked').document("xyz**/**xyz");
await fireStoreReference.get().then((DocumentSnapshot ds) async {
***
});
At runtime, the following crash occurs, closing the app (it is not handled by Flutter):
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23e3dcce __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff50b3b9b2 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23e3da48 +[NSException raise:format:arguments:] + 88
3 Foundation 0x00007fff258ac85b -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166
4 Runner 0x0000000103b51d77 _ZN8firebase9firestore4util16ObjcThrowHandlerENS1_13ExceptionTypeEPKcS4_iRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 343
5 Runner 0x00000001
im using cloud_firestore: ^0.13.4+2