@react-native-firebase/app 23.1.0 → 23.1.2
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
CHANGED
@@ -3,6 +3,16 @@
|
|
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
|
+
## [23.1.2](https://github.com/invertase/react-native-firebase/compare/v23.1.1...v23.1.2) (2025-08-25)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @react-native-firebase/app
|
9
|
+
|
10
|
+
## [23.1.1](https://github.com/invertase/react-native-firebase/compare/v23.1.0...v23.1.1) (2025-08-22)
|
11
|
+
|
12
|
+
### Bug Fixes
|
13
|
+
|
14
|
+
- validate listenerOrObserver callbacks in auth, app-check, remote-config ([06dcae4](https://github.com/invertase/react-native-firebase/commit/06dcae44e29f18e7716727479fd6e6d048336d91))
|
15
|
+
|
6
16
|
## [23.1.0](https://github.com/invertase/react-native-firebase/compare/v23.0.1...v23.1.0) (2025-08-19)
|
7
17
|
|
8
18
|
### Features
|
package/lib/common/index.js
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
*/
|
17
17
|
import { Platform } from 'react-native';
|
18
18
|
import Base64 from './Base64';
|
19
|
-
import { isString } from './validate';
|
19
|
+
import { isFunction, isObject, isString } from './validate';
|
20
20
|
|
21
21
|
export * from './id';
|
22
22
|
export * from './path';
|
@@ -103,6 +103,19 @@ export function tryJSONStringify(data) {
|
|
103
103
|
}
|
104
104
|
}
|
105
105
|
|
106
|
+
export function parseListenerOrObserver(listenerOrObserver) {
|
107
|
+
if (!isFunction(listenerOrObserver) && !isObject(listenerOrObserver)) {
|
108
|
+
}
|
109
|
+
if (isFunction(listenerOrObserver)) {
|
110
|
+
return listenerOrObserver;
|
111
|
+
}
|
112
|
+
if (isObject(listenerOrObserver) && isFunction(listenerOrObserver.next)) {
|
113
|
+
return listenerOrObserver.next.bind(listenerOrObserver);
|
114
|
+
}
|
115
|
+
|
116
|
+
throw new Error("'listenerOrObserver' expected a function or an object with 'next' function.");
|
117
|
+
}
|
118
|
+
|
106
119
|
// Used to indicate if there is no corresponding modular function
|
107
120
|
const NO_REPLACEMENT = true;
|
108
121
|
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Generated by genversion.
|
2
|
-
module.exports = '23.1.
|
2
|
+
module.exports = '23.1.2';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/app",
|
3
|
-
"version": "23.1.
|
3
|
+
"version": "23.1.2",
|
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": "lib/index.js",
|
@@ -91,5 +91,5 @@
|
|
91
91
|
"firebaseAppDistributionGradle": "5.1.2"
|
92
92
|
}
|
93
93
|
},
|
94
|
-
"gitHead": "
|
94
|
+
"gitHead": "65b4f41cea31be5393aca14bcc78ce6e5255f51f"
|
95
95
|
}
|