@umituz/react-native-firebase 1.3.1 → 1.4.0

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": "1.3.1",
3
+ "version": "1.4.0",
4
4
  "description": "Firebase core package for React Native apps - Centralized initialization for all Firebase services (App, Auth, Analytics, Crashlytics). Use dedicated packages for service-specific operations.",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -18,9 +18,10 @@ import type { FirebaseApp } from 'firebase/app';
18
18
  export interface IFirebaseClient {
19
19
  /**
20
20
  * Get the Firebase app instance
21
- * @throws {FirebaseInitializationError} If client is not initialized
21
+ * Returns null if config is not available (offline mode)
22
+ * @returns Firebase app instance or null if not initialized
22
23
  */
23
- getApp(): FirebaseApp;
24
+ getApp(): FirebaseApp | null;
24
25
 
25
26
  /**
26
27
  * Check if client is initialized