Open morzel85 opened 2 weeks ago
Currently offline document read is not supported on Web platform. Executing this code:
const { snapshot } = await FirebaseFirestore.getDocument({ reference: 'someDocPathHere', });
Gives such error: "FirebaseError: Failed to get document because the client is offline"
capacitor-firebase should expose configuration for enabling/disabling offline mode on all platforms where Firestore itself can support it.
No response
https://github.com/capawesome-team/capacitor-firebase/discussions/713
Plugin(s)
Current problem
Currently offline document read is not supported on Web platform. Executing this code:
Gives such error: "FirebaseError: Failed to get document because the client is offline"
Preferred solution
capacitor-firebase should expose configuration for enabling/disabling offline mode on all platforms where Firestore itself can support it.
Alternative options
No response
Additional context
https://github.com/capawesome-team/capacitor-firebase/discussions/713
Before submitting