@umituz/react-native-firebase 3.0.11 → 3.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-firebase",
3
- "version": "3.0.11",
3
+ "version": "3.0.12",
4
4
  "description": "Unified Firebase package for React Native apps - Auth and Firestore services using Firebase JS SDK (no native modules).",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -211,6 +211,8 @@ export class FirebaseFirestoreInitializer {
211
211
  static async clearPersistentCache(app: FirebaseApp): Promise<void> {
212
212
  try {
213
213
  const db = getFirestore(app);
214
+ // clearPersistentCache exists in Firestore SDK but not in TypeScript definitions
215
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
214
216
  await (db as any).clearPersistentCache();
215
217
  if (__DEV__) {
216
218
  console.log('[Firestore] Persistent cache cleared');