@react-native-firebase/app 24.0.0 → 24.1.1
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/CHANGELOG.md +12 -0
- package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseVersion.java +1 -1
- package/dist/module/types/app.js +1 -3
- package/dist/module/types/app.js.map +1 -1
- package/dist/module/version.js +1 -1
- package/dist/typescript/lib/modular.d.ts +1 -1
- package/dist/typescript/lib/types/app.d.ts +17 -43
- package/dist/typescript/lib/types/app.d.ts.map +1 -1
- package/dist/typescript/lib/version.d.ts +1 -1
- package/ios/RNFBApp/RNFBVersion.m +1 -1
- package/lib/types/app.ts +17 -43
- package/lib/version.ts +1 -1
- package/package.json +5 -5
- package/typedoc.json +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [24.1.1](https://github.com/invertase/react-native-firebase/compare/v24.1.0...v24.1.1) (2026-06-10)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **ios:** revert to firebase-ios-sdk 12.10.0 to avoid startup crash ([b97bc26](https://github.com/invertase/react-native-firebase/commit/b97bc26af0a0d5314826d6cf42a0518e8dd37ada))
|
|
11
|
+
|
|
12
|
+
## [24.1.0](https://github.com/invertase/react-native-firebase/compare/v24.0.0...v24.1.0) (2026-06-05)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- firebase-android-sdk 34.14.0, firebase-ios-sdk 12.11.0, firebase-js-sdk 12.14.0 ([65bbe94](https://github.com/invertase/react-native-firebase/commit/65bbe9435fb78bbb2ee4cba25b44b0199a61f030))
|
|
17
|
+
|
|
6
18
|
## [24.0.0](https://github.com/invertase/react-native-firebase/compare/v23.8.6...v24.0.0) (2026-04-01)
|
|
7
19
|
|
|
8
20
|
### ⚠ BREAKING CHANGES
|
package/dist/module/types/app.js
CHANGED
|
@@ -18,8 +18,6 @@
|
|
|
18
18
|
*/
|
|
19
19
|
/**
|
|
20
20
|
* Core React Native Firebase package types.
|
|
21
|
-
*
|
|
22
|
-
* @firebase app
|
|
23
21
|
*/
|
|
24
22
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
25
23
|
export let ReactNativeFirebase;
|
|
@@ -69,7 +67,7 @@ export let ReactNativeFirebase;
|
|
|
69
67
|
*/
|
|
70
68
|
})(ReactNativeFirebase || (ReactNativeFirebase = {}));
|
|
71
69
|
/**
|
|
72
|
-
*
|
|
70
|
+
* A namespace used exlusively for native-related utilities
|
|
73
71
|
*/
|
|
74
72
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
75
73
|
export let Utils;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ReactNativeFirebase","_ReactNativeFirebase","FirebaseModule","Utils","_Utils","PlayServicesAvailabilityStatusCodes","Module"],"sourceRoot":"../../../lib","sources":["types/app.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;
|
|
1
|
+
{"version":3,"names":["ReactNativeFirebase","_ReactNativeFirebase","FirebaseModule","Utils","_Utils","PlayServicesAvailabilityStatusCodes","Module"],"sourceRoot":"../../../lib","sources":["types/app.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAAA,WACiBA,mBAAmB;AAAA,WAAAC,oBAAA;EA4GlC;AACF;AACA;AACA;AACA;;EAyBE;AACF;AACA;AACA;AACA;;EAQE;AACF;AACA;;EA+FE;AACF;AACA;EACS,MAAeC,cAAc,CAAC;EAKpCD,oBAAA,CAAAC,cAAA,GAAAA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AM,SAASJ,cAAc,CAAC;EA+DnDE,MAAA,CAAAE,MAAA,GAAAA,MAAA;AAAA,GAzRcH,KAAK,KAALA,KAAK,SAyStB","ignoreList":[]}
|
package/dist/module/version.js
CHANGED
|
@@ -91,5 +91,5 @@ export declare function preferencesSetBool(key: string, value: boolean): Promise
|
|
|
91
91
|
* @returns Promise<void>
|
|
92
92
|
*/
|
|
93
93
|
export declare function preferencesSetString(key: string, value: string): Promise<void>;
|
|
94
|
-
export declare const SDK_VERSION = "24.
|
|
94
|
+
export declare const SDK_VERSION = "24.1.1";
|
|
95
95
|
//# sourceMappingURL=modular.d.ts.map
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Core React Native Firebase package types.
|
|
3
|
-
*
|
|
4
|
-
* @firebase app
|
|
5
3
|
*/
|
|
6
4
|
export declare namespace ReactNativeFirebase {
|
|
7
5
|
interface NativeFirebaseError extends Error {
|
|
@@ -183,8 +181,6 @@ export declare namespace ReactNativeFirebase {
|
|
|
183
181
|
* level is set to a higher (more verbose) setting.
|
|
184
182
|
* Note that iOS is missing firebase-js-sdk log levels 'verbose' and 'silent'.
|
|
185
183
|
* 'verbose' if used will map to 'debug', 'silent' has no valid mapping and will return an error if used.
|
|
186
|
-
*
|
|
187
|
-
* @ios
|
|
188
184
|
*/
|
|
189
185
|
setLogLevel(logLevel: LogLevelString): void;
|
|
190
186
|
/**
|
|
@@ -259,7 +255,7 @@ export declare namespace ReactNativeFirebase {
|
|
|
259
255
|
};
|
|
260
256
|
}
|
|
261
257
|
/**
|
|
262
|
-
*
|
|
258
|
+
* A namespace used exlusively for native-related utilities
|
|
263
259
|
*/
|
|
264
260
|
export declare namespace Utils {
|
|
265
261
|
import FirebaseModule = ReactNativeFirebase.FirebaseModule;
|
|
@@ -274,13 +270,11 @@ export declare namespace Utils {
|
|
|
274
270
|
*/
|
|
275
271
|
interface FilePath {
|
|
276
272
|
/**
|
|
277
|
-
* Returns an absolute path to the applications main bundle
|
|
273
|
+
* Returns an absolute path to the applications main bundle - iOS only
|
|
278
274
|
*
|
|
279
275
|
* ```js
|
|
280
276
|
* firebase.utils.FilePath.MAIN_BUNDLE;
|
|
281
277
|
* ```
|
|
282
|
-
*
|
|
283
|
-
* @ios iOS only
|
|
284
278
|
*/
|
|
285
279
|
MAIN_BUNDLE: string;
|
|
286
280
|
/**
|
|
@@ -329,7 +323,7 @@ export declare namespace Utils {
|
|
|
329
323
|
*/
|
|
330
324
|
LIBRARY_DIRECTORY: string;
|
|
331
325
|
/**
|
|
332
|
-
* Returns an absolute path to the directory on the primary shared/external storage device.
|
|
326
|
+
* Returns null on iOS, or on Android an absolute path to the directory on the primary shared/external storage device.
|
|
333
327
|
*
|
|
334
328
|
* Here your application can place persistent files it owns. These files are internal to the application, and not typically visible to the user as media.
|
|
335
329
|
*
|
|
@@ -338,8 +332,6 @@ export declare namespace Utils {
|
|
|
338
332
|
* ```js
|
|
339
333
|
* firebase.utils.FilePath.EXTERNAL_DIRECTORY;
|
|
340
334
|
* ```
|
|
341
|
-
*
|
|
342
|
-
* @android Android only - iOS returns null
|
|
343
335
|
*/
|
|
344
336
|
EXTERNAL_DIRECTORY: string | null;
|
|
345
337
|
/**
|
|
@@ -347,14 +339,12 @@ export declare namespace Utils {
|
|
|
347
339
|
*
|
|
348
340
|
* Traditionally this is an SD card, but it may also be implemented as built-in storage on a device.
|
|
349
341
|
*
|
|
350
|
-
* Returns null if no external storage directory found, e.g. removable media has been ejected by the user.
|
|
342
|
+
* Returns null on iOS or if on android no external storage directory found, e.g. removable media has been ejected by the user.
|
|
351
343
|
* Requires special permission granted by Play Store review team on Android, is unlikely to be a valid path.
|
|
352
344
|
*
|
|
353
345
|
* ```js
|
|
354
346
|
* firebase.utils.FilePath.EXTERNAL_STORAGE_DIRECTORY;
|
|
355
347
|
* ```
|
|
356
|
-
*
|
|
357
|
-
* @android Android only - iOS returns null
|
|
358
348
|
*/
|
|
359
349
|
EXTERNAL_STORAGE_DIRECTORY: string | null;
|
|
360
350
|
/**
|
|
@@ -410,53 +400,48 @@ export declare namespace Utils {
|
|
|
410
400
|
}
|
|
411
401
|
interface PlayServicesAvailability {
|
|
412
402
|
/**
|
|
413
|
-
* Returns a numeric status code.
|
|
403
|
+
* Returns a numeric status code. Always 0 on iOS, For Android please refer to Android documentation
|
|
414
404
|
* for further information:
|
|
415
405
|
* https://developers.google.com/android/reference/com/google/android/gms/common/ConnectionResult
|
|
416
406
|
*
|
|
417
407
|
* ```js
|
|
418
408
|
* firebase.utils().playServicesAvailability.status;
|
|
419
409
|
* ```
|
|
420
|
-
*
|
|
421
|
-
* @android Android only - iOS returns 0
|
|
422
410
|
*/
|
|
423
411
|
status: PlayServicesAvailabilityStatusCodes;
|
|
424
412
|
/**
|
|
425
|
-
* Returns a boolean indicating whether Play Store is available on the device
|
|
413
|
+
* Returns a boolean indicating whether Play Store is available on the device, always true on iOS
|
|
426
414
|
*
|
|
427
415
|
* ```js
|
|
428
416
|
* firebase.utils().playServicesAvailability.isAvailable;
|
|
429
417
|
* ```
|
|
430
|
-
*
|
|
431
|
-
* @android Android only - iOS returns true
|
|
432
418
|
*/
|
|
433
419
|
isAvailable: boolean;
|
|
434
420
|
/**
|
|
435
421
|
* If Play Services is not available on the device, hasResolution indicates
|
|
436
|
-
* whether it is possible to do something about it (e.g. install Play Services)
|
|
422
|
+
* whether it is possible to do something about it (e.g. install Play Services),
|
|
423
|
+
* always returns undefined on iOS
|
|
437
424
|
*
|
|
438
425
|
* ```js
|
|
439
426
|
* firebase.utils().playServicesAvailability.hasResolution;
|
|
440
427
|
* ```
|
|
441
|
-
* @android Android only - iOS returns undefined
|
|
442
428
|
*/
|
|
443
429
|
hasResolution: boolean | undefined;
|
|
444
430
|
/**
|
|
445
|
-
* If an error was received, this indicates whether the error is resolvable
|
|
431
|
+
* If an error was received, this indicates whether the error is resolvable,
|
|
432
|
+
* always returns undefined on iOS
|
|
446
433
|
*
|
|
447
434
|
* ```js
|
|
448
435
|
* firebase.utils().playServicesAvailability.isUserResolvableError;
|
|
449
436
|
* ```
|
|
450
|
-
* @android Android only - iOS returns undefined
|
|
451
437
|
*/
|
|
452
438
|
isUserResolvableError: boolean | undefined;
|
|
453
439
|
/**
|
|
454
|
-
* A human readable error string
|
|
440
|
+
* A human readable error string, always undefined on iOS
|
|
455
441
|
*
|
|
456
442
|
* ```js
|
|
457
443
|
* firebase.utils().playServicesAvailability.error;
|
|
458
444
|
* ```
|
|
459
|
-
* @android Android only - iOS returns undefined
|
|
460
445
|
*/
|
|
461
446
|
error: string | undefined;
|
|
462
447
|
}
|
|
@@ -475,74 +460,63 @@ export declare namespace Utils {
|
|
|
475
460
|
*/
|
|
476
461
|
abstract class Module extends FirebaseModule {
|
|
477
462
|
/**
|
|
478
|
-
* Returns true if this app is running inside a Firebase Test Lab environment
|
|
463
|
+
* Returns true if this app is running inside a Firebase Test Lab environment, always false on iOS
|
|
479
464
|
*
|
|
480
465
|
* #### Example
|
|
481
466
|
*
|
|
482
467
|
* ```js
|
|
483
468
|
* const isRunningInTestLab = await firebase.utils().isRunningInTestLab;
|
|
484
469
|
* ```
|
|
485
|
-
* @android Android only - iOS returns false
|
|
486
470
|
*/
|
|
487
471
|
abstract isRunningInTestLab: boolean;
|
|
488
472
|
/**
|
|
489
|
-
* Returns PlayServicesAvailability properties
|
|
473
|
+
* Returns PlayServicesAvailability properties, always `{ isAvailable: true, status: 0 }` on iOS
|
|
490
474
|
*
|
|
491
475
|
* #### Example
|
|
492
476
|
*
|
|
493
477
|
* ```js
|
|
494
478
|
* const PlayServicesAvailability = await firebase.utils().playServicesAvailability;
|
|
495
479
|
* ```
|
|
496
|
-
*
|
|
497
|
-
* @android Android only - iOS always returns { isAvailable: true, status: 0 }
|
|
498
480
|
*/
|
|
499
481
|
abstract playServicesAvailability: PlayServicesAvailability;
|
|
500
482
|
/**
|
|
501
|
-
* Returns PlayServicesAvailability properties
|
|
483
|
+
* Returns PlayServicesAvailability properties, always `{ isAvailable: true, status: 0 }` on iOS
|
|
502
484
|
*
|
|
503
485
|
* #### Example
|
|
504
486
|
*
|
|
505
487
|
* ```js
|
|
506
488
|
* const PlayServicesAvailability = await firebase.utils().getPlayServicesStatus();
|
|
507
489
|
* ```
|
|
508
|
-
*
|
|
509
|
-
* @android Android only - iOS always returns { isAvailable: true, status: 0 }
|
|
510
490
|
*/
|
|
511
491
|
abstract getPlayServicesStatus(): Promise<PlayServicesAvailability>;
|
|
512
492
|
/**
|
|
513
|
-
* A prompt appears on the device to ask the user to update play services
|
|
493
|
+
* A prompt appears on the device to ask the user to update play services, returns undefined on iOS
|
|
514
494
|
*
|
|
515
495
|
* #### Example
|
|
516
496
|
*
|
|
517
497
|
* ```js
|
|
518
498
|
* await firebase.utils().promptForPlayServices();
|
|
519
499
|
* ```
|
|
520
|
-
*
|
|
521
|
-
* @android Android only - iOS returns undefined
|
|
522
500
|
*/
|
|
523
501
|
abstract promptForPlayServices(): Promise<void>;
|
|
524
502
|
/**
|
|
525
|
-
* Attempts to make Google Play services available on this device
|
|
503
|
+
* Attempts to make Google Play services available on this device, returns undefined on iOS
|
|
526
504
|
*
|
|
527
505
|
* #### Example
|
|
528
506
|
*
|
|
529
507
|
* ```js
|
|
530
508
|
* await firebase.utils().makePlayServicesAvailable();
|
|
531
509
|
* ```
|
|
532
|
-
*
|
|
533
|
-
* @android Android only - iOS returns undefined
|
|
534
510
|
*/
|
|
535
511
|
abstract makePlayServicesAvailable(): Promise<void>;
|
|
536
512
|
/**
|
|
537
|
-
* Resolves an error by starting any intents requiring user interaction
|
|
513
|
+
* Resolves an error by starting any intents requiring user interaction, returns undefined on iOS
|
|
538
514
|
*
|
|
539
515
|
* #### Example
|
|
540
516
|
*
|
|
541
517
|
* ```js
|
|
542
518
|
* await firebase.utils().resolutionForPlayServices();
|
|
543
519
|
* ```
|
|
544
|
-
*
|
|
545
|
-
* @android Android only - iOS returns undefined
|
|
546
520
|
*/
|
|
547
521
|
abstract resolutionForPlayServices(): Promise<void>;
|
|
548
522
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../../lib/types/app.ts"],"names":[],"mappings":"AAiBA
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../../lib/types/app.ts"],"names":[],"mappings":"AAiBA;;GAEG;AAEH,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,mBAAoB,SAAQ,KAAK;QAChD;;WAEG;QACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QAEzB;;WAEG;QACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;QAE3B;;WAEG;QACH,QAAQ,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAAC;QAE1C;;WAEG;QACH,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;KACrC;IAED,KAAY,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IAExF,UAAiB,kBAAkB;QACjC;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB;;;WAGG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B;;;WAGG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;;WAGG;QACH,eAAe,CAAC,EAAE,MAAM,CAAC;QAEzB;;WAEG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;KAC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AAC;QAEnC;;;;;;;WAOG;QACH,qBAAqB,EAAE,OAAO,GAAG,SAAS,CAAC;QAE3C;;;;;;WAMG;QACH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;KAC3B;IAED;;;;;;;;;;;;OAYG;IACH,eAAsB,MAAO,SAAQ,cAAc;QACjD;;;;;;;;WAQG;QACH,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAC;QACrC;;;;;;;;WAQG;QACH,QAAQ,CAAC,wBAAwB,EAAE,wBAAwB,CAAC;QAE5D;;;;;;;;WAQG;QACH,QAAQ,CAAC,qBAAqB,IAAI,OAAO,CAAC,wBAAwB,CAAC;QAEnE;;;;;;;;WAQG;QACH,QAAQ,CAAC,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC;QAC/C;;;;;;;;WAQG;QACH,QAAQ,CAAC,yBAAyB,IAAI,OAAO,CAAC,IAAI,CAAC;QACnD;;;;;;;;WAQG;QACH,QAAQ,CAAC,yBAAyB,IAAI,OAAO,CAAC,IAAI,CAAC;KACpD;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,mBAAmB,CAAC,cAAc,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,MAAM,WAAW,GAAG,CAAC,cAAc,EAAE,iBAAiB,KAAK,IAAI,CAAC;AAEtE,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,mBAAmB,CAAC,cAAc,CAAC;CAC5C;AAGD,MAAM,MAAM,WAAW,GAAG,mBAAmB,CAAC,WAAW,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "24.
|
|
1
|
+
export declare const version = "24.1.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/lib/types/app.ts
CHANGED
|
@@ -17,8 +17,6 @@
|
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Core React Native Firebase package types.
|
|
20
|
-
*
|
|
21
|
-
* @firebase app
|
|
22
20
|
*/
|
|
23
21
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
24
22
|
export namespace ReactNativeFirebase {
|
|
@@ -238,8 +236,6 @@ export namespace ReactNativeFirebase {
|
|
|
238
236
|
* level is set to a higher (more verbose) setting.
|
|
239
237
|
* Note that iOS is missing firebase-js-sdk log levels 'verbose' and 'silent'.
|
|
240
238
|
* 'verbose' if used will map to 'debug', 'silent' has no valid mapping and will return an error if used.
|
|
241
|
-
*
|
|
242
|
-
* @ios
|
|
243
239
|
*/
|
|
244
240
|
setLogLevel(logLevel: LogLevelString): void;
|
|
245
241
|
|
|
@@ -333,7 +329,7 @@ export namespace ReactNativeFirebase {
|
|
|
333
329
|
}
|
|
334
330
|
|
|
335
331
|
/**
|
|
336
|
-
*
|
|
332
|
+
* A namespace used exlusively for native-related utilities
|
|
337
333
|
*/
|
|
338
334
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
339
335
|
export namespace Utils {
|
|
@@ -350,13 +346,11 @@ export namespace Utils {
|
|
|
350
346
|
*/
|
|
351
347
|
export interface FilePath {
|
|
352
348
|
/**
|
|
353
|
-
* Returns an absolute path to the applications main bundle
|
|
349
|
+
* Returns an absolute path to the applications main bundle - iOS only
|
|
354
350
|
*
|
|
355
351
|
* ```js
|
|
356
352
|
* firebase.utils.FilePath.MAIN_BUNDLE;
|
|
357
353
|
* ```
|
|
358
|
-
*
|
|
359
|
-
* @ios iOS only
|
|
360
354
|
*/
|
|
361
355
|
MAIN_BUNDLE: string;
|
|
362
356
|
|
|
@@ -410,7 +404,7 @@ export namespace Utils {
|
|
|
410
404
|
LIBRARY_DIRECTORY: string;
|
|
411
405
|
|
|
412
406
|
/**
|
|
413
|
-
* Returns an absolute path to the directory on the primary shared/external storage device.
|
|
407
|
+
* Returns null on iOS, or on Android an absolute path to the directory on the primary shared/external storage device.
|
|
414
408
|
*
|
|
415
409
|
* Here your application can place persistent files it owns. These files are internal to the application, and not typically visible to the user as media.
|
|
416
410
|
*
|
|
@@ -419,8 +413,6 @@ export namespace Utils {
|
|
|
419
413
|
* ```js
|
|
420
414
|
* firebase.utils.FilePath.EXTERNAL_DIRECTORY;
|
|
421
415
|
* ```
|
|
422
|
-
*
|
|
423
|
-
* @android Android only - iOS returns null
|
|
424
416
|
*/
|
|
425
417
|
EXTERNAL_DIRECTORY: string | null;
|
|
426
418
|
|
|
@@ -429,14 +421,12 @@ export namespace Utils {
|
|
|
429
421
|
*
|
|
430
422
|
* Traditionally this is an SD card, but it may also be implemented as built-in storage on a device.
|
|
431
423
|
*
|
|
432
|
-
* Returns null if no external storage directory found, e.g. removable media has been ejected by the user.
|
|
424
|
+
* Returns null on iOS or if on android no external storage directory found, e.g. removable media has been ejected by the user.
|
|
433
425
|
* Requires special permission granted by Play Store review team on Android, is unlikely to be a valid path.
|
|
434
426
|
*
|
|
435
427
|
* ```js
|
|
436
428
|
* firebase.utils.FilePath.EXTERNAL_STORAGE_DIRECTORY;
|
|
437
429
|
* ```
|
|
438
|
-
*
|
|
439
|
-
* @android Android only - iOS returns null
|
|
440
430
|
*/
|
|
441
431
|
EXTERNAL_STORAGE_DIRECTORY: string | null;
|
|
442
432
|
|
|
@@ -497,57 +487,52 @@ export namespace Utils {
|
|
|
497
487
|
|
|
498
488
|
export interface PlayServicesAvailability {
|
|
499
489
|
/**
|
|
500
|
-
* Returns a numeric status code.
|
|
490
|
+
* Returns a numeric status code. Always 0 on iOS, For Android please refer to Android documentation
|
|
501
491
|
* for further information:
|
|
502
492
|
* https://developers.google.com/android/reference/com/google/android/gms/common/ConnectionResult
|
|
503
493
|
*
|
|
504
494
|
* ```js
|
|
505
495
|
* firebase.utils().playServicesAvailability.status;
|
|
506
496
|
* ```
|
|
507
|
-
*
|
|
508
|
-
* @android Android only - iOS returns 0
|
|
509
497
|
*/
|
|
510
498
|
status: PlayServicesAvailabilityStatusCodes;
|
|
511
499
|
|
|
512
500
|
/**
|
|
513
|
-
* Returns a boolean indicating whether Play Store is available on the device
|
|
501
|
+
* Returns a boolean indicating whether Play Store is available on the device, always true on iOS
|
|
514
502
|
*
|
|
515
503
|
* ```js
|
|
516
504
|
* firebase.utils().playServicesAvailability.isAvailable;
|
|
517
505
|
* ```
|
|
518
|
-
*
|
|
519
|
-
* @android Android only - iOS returns true
|
|
520
506
|
*/
|
|
521
507
|
isAvailable: boolean;
|
|
522
508
|
|
|
523
509
|
/**
|
|
524
510
|
* If Play Services is not available on the device, hasResolution indicates
|
|
525
|
-
* whether it is possible to do something about it (e.g. install Play Services)
|
|
511
|
+
* whether it is possible to do something about it (e.g. install Play Services),
|
|
512
|
+
* always returns undefined on iOS
|
|
526
513
|
*
|
|
527
514
|
* ```js
|
|
528
515
|
* firebase.utils().playServicesAvailability.hasResolution;
|
|
529
516
|
* ```
|
|
530
|
-
* @android Android only - iOS returns undefined
|
|
531
517
|
*/
|
|
532
518
|
hasResolution: boolean | undefined;
|
|
533
519
|
|
|
534
520
|
/**
|
|
535
|
-
* If an error was received, this indicates whether the error is resolvable
|
|
521
|
+
* If an error was received, this indicates whether the error is resolvable,
|
|
522
|
+
* always returns undefined on iOS
|
|
536
523
|
*
|
|
537
524
|
* ```js
|
|
538
525
|
* firebase.utils().playServicesAvailability.isUserResolvableError;
|
|
539
526
|
* ```
|
|
540
|
-
* @android Android only - iOS returns undefined
|
|
541
527
|
*/
|
|
542
528
|
isUserResolvableError: boolean | undefined;
|
|
543
529
|
|
|
544
530
|
/**
|
|
545
|
-
* A human readable error string
|
|
531
|
+
* A human readable error string, always undefined on iOS
|
|
546
532
|
*
|
|
547
533
|
* ```js
|
|
548
534
|
* firebase.utils().playServicesAvailability.error;
|
|
549
535
|
* ```
|
|
550
|
-
* @android Android only - iOS returns undefined
|
|
551
536
|
*/
|
|
552
537
|
error: string | undefined;
|
|
553
538
|
}
|
|
@@ -567,76 +552,65 @@ export namespace Utils {
|
|
|
567
552
|
*/
|
|
568
553
|
export abstract class Module extends FirebaseModule {
|
|
569
554
|
/**
|
|
570
|
-
* Returns true if this app is running inside a Firebase Test Lab environment
|
|
555
|
+
* Returns true if this app is running inside a Firebase Test Lab environment, always false on iOS
|
|
571
556
|
*
|
|
572
557
|
* #### Example
|
|
573
558
|
*
|
|
574
559
|
* ```js
|
|
575
560
|
* const isRunningInTestLab = await firebase.utils().isRunningInTestLab;
|
|
576
561
|
* ```
|
|
577
|
-
* @android Android only - iOS returns false
|
|
578
562
|
*/
|
|
579
563
|
abstract isRunningInTestLab: boolean;
|
|
580
564
|
/**
|
|
581
|
-
* Returns PlayServicesAvailability properties
|
|
565
|
+
* Returns PlayServicesAvailability properties, always `{ isAvailable: true, status: 0 }` on iOS
|
|
582
566
|
*
|
|
583
567
|
* #### Example
|
|
584
568
|
*
|
|
585
569
|
* ```js
|
|
586
570
|
* const PlayServicesAvailability = await firebase.utils().playServicesAvailability;
|
|
587
571
|
* ```
|
|
588
|
-
*
|
|
589
|
-
* @android Android only - iOS always returns { isAvailable: true, status: 0 }
|
|
590
572
|
*/
|
|
591
573
|
abstract playServicesAvailability: PlayServicesAvailability;
|
|
592
574
|
|
|
593
575
|
/**
|
|
594
|
-
* Returns PlayServicesAvailability properties
|
|
576
|
+
* Returns PlayServicesAvailability properties, always `{ isAvailable: true, status: 0 }` on iOS
|
|
595
577
|
*
|
|
596
578
|
* #### Example
|
|
597
579
|
*
|
|
598
580
|
* ```js
|
|
599
581
|
* const PlayServicesAvailability = await firebase.utils().getPlayServicesStatus();
|
|
600
582
|
* ```
|
|
601
|
-
*
|
|
602
|
-
* @android Android only - iOS always returns { isAvailable: true, status: 0 }
|
|
603
583
|
*/
|
|
604
584
|
abstract getPlayServicesStatus(): Promise<PlayServicesAvailability>;
|
|
605
585
|
|
|
606
586
|
/**
|
|
607
|
-
* A prompt appears on the device to ask the user to update play services
|
|
587
|
+
* A prompt appears on the device to ask the user to update play services, returns undefined on iOS
|
|
608
588
|
*
|
|
609
589
|
* #### Example
|
|
610
590
|
*
|
|
611
591
|
* ```js
|
|
612
592
|
* await firebase.utils().promptForPlayServices();
|
|
613
593
|
* ```
|
|
614
|
-
*
|
|
615
|
-
* @android Android only - iOS returns undefined
|
|
616
594
|
*/
|
|
617
595
|
abstract promptForPlayServices(): Promise<void>;
|
|
618
596
|
/**
|
|
619
|
-
* Attempts to make Google Play services available on this device
|
|
597
|
+
* Attempts to make Google Play services available on this device, returns undefined on iOS
|
|
620
598
|
*
|
|
621
599
|
* #### Example
|
|
622
600
|
*
|
|
623
601
|
* ```js
|
|
624
602
|
* await firebase.utils().makePlayServicesAvailable();
|
|
625
603
|
* ```
|
|
626
|
-
*
|
|
627
|
-
* @android Android only - iOS returns undefined
|
|
628
604
|
*/
|
|
629
605
|
abstract makePlayServicesAvailable(): Promise<void>;
|
|
630
606
|
/**
|
|
631
|
-
* Resolves an error by starting any intents requiring user interaction
|
|
607
|
+
* Resolves an error by starting any intents requiring user interaction, returns undefined on iOS
|
|
632
608
|
*
|
|
633
609
|
* #### Example
|
|
634
610
|
*
|
|
635
611
|
* ```js
|
|
636
612
|
* await firebase.utils().resolutionForPlayServices();
|
|
637
613
|
* ```
|
|
638
|
-
*
|
|
639
|
-
* @android Android only - iOS returns undefined
|
|
640
614
|
*/
|
|
641
615
|
abstract resolutionForPlayServices(): Promise<void>;
|
|
642
616
|
}
|
package/lib/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '24.
|
|
2
|
+
export const version = '24.1.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-firebase/app",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.1.1",
|
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
5
5
|
"description": "A well tested, feature rich Firebase implementation for React Native, supporting iOS & Android. Individual module support for Admob, Analytics, Auth, Crash Reporting, Cloud Firestore, Database, Dynamic Links, Functions, Messaging (FCM), Remote Config, Storage and more.",
|
|
6
6
|
"main": "./dist/module/index.js",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"react-native": "*"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"firebase": "12.
|
|
90
|
+
"firebase": "12.14.0"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
93
|
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
"minSdk": 23,
|
|
115
115
|
"targetSdk": 34,
|
|
116
116
|
"compileSdk": 34,
|
|
117
|
-
"firebase": "34.
|
|
118
|
-
"firebaseCrashlyticsGradle": "3.0.
|
|
117
|
+
"firebase": "34.14.0",
|
|
118
|
+
"firebaseCrashlyticsGradle": "3.0.7",
|
|
119
119
|
"firebasePerfGradle": "2.0.2",
|
|
120
120
|
"gmsGoogleServicesGradle": "4.4.4",
|
|
121
121
|
"playServicesAuth": "21.5.0",
|
|
@@ -145,5 +145,5 @@
|
|
|
145
145
|
"node_modules/",
|
|
146
146
|
"dist/"
|
|
147
147
|
],
|
|
148
|
-
"gitHead": "
|
|
148
|
+
"gitHead": "ea699f0bbcc98d25eebea4bfbe88cf1e9f2d0107"
|
|
149
149
|
}
|