@react-native-firebase/app 21.2.0 → 21.3.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/CHANGELOG.md +7 -0
- package/android/build.gradle +17 -0
- package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseVersion.java +1 -1
- package/ios/RNFBApp/RNFBVersion.m +1 -1
- package/lib/internal/RNFBNativeEventEmitter.js +7 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,13 @@
|
|
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
|
+
## [21.3.0](https://github.com/invertase/react-native-firebase/compare/v21.2.0...v21.3.0) (2024-10-31)
|
7
|
+
|
8
|
+
### Bug Fixes
|
9
|
+
|
10
|
+
- **app, sdk:** firebase-android-sdk 33.5.1 ([6c08f13](https://github.com/invertase/react-native-firebase/commit/6c08f13407f9aea6af176d485d919c892449cc16))
|
11
|
+
- **app:** add misconfiguration warning for missing native module ([b038dbc](https://github.com/invertase/react-native-firebase/commit/b038dbc669b7f1c679c388e3ef749168df89954f))
|
12
|
+
|
6
13
|
## [21.2.0](https://github.com/invertase/react-native-firebase/compare/v21.1.1...v21.2.0) (2024-10-22)
|
7
14
|
|
8
15
|
### Features
|
package/android/build.gradle
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import io.invertase.gradle.common.PackageJson
|
2
|
+
import org.gradle.internal.jvm.Jvm
|
2
3
|
|
3
4
|
buildscript {
|
4
5
|
// The Android Gradle plugin is only required when opening the android folder stand-alone.
|
@@ -105,6 +106,22 @@ dependencies {
|
|
105
106
|
implementation "com.google.android.gms:play-services-auth:${ReactNative.ext.getVersion("play", "play-services-auth")}"
|
106
107
|
}
|
107
108
|
|
109
|
+
def jvmVersion = Jvm.current().javaVersion?.majorVersion
|
110
|
+
// if it cannot get version, just allow it to pass. This is just a helper for developers
|
111
|
+
if ((jvmVersion?.toInteger() ?: 17) < 17) {
|
112
|
+
println("\n\n\n")
|
113
|
+
println("**************************************************************************************************************")
|
114
|
+
println("\n\n\n")
|
115
|
+
println("ERROR: React Native Firebase builds with a minimum JVM version 17. We test with JVM 17 and 21.")
|
116
|
+
println(" Incompatible major version detected: '" + jvmVersion + "'")
|
117
|
+
println("\n\n\n")
|
118
|
+
println(" If you receive this error because you want to use a different JDK, we may accept PRs to support new versions.")
|
119
|
+
println("\n\n\n")
|
120
|
+
println("**************************************************************************************************************")
|
121
|
+
println("\n\n\n")
|
122
|
+
System.exit(1)
|
123
|
+
}
|
124
|
+
|
108
125
|
ReactNative.shared.applyPackageVersion()
|
109
126
|
ReactNative.shared.applyDefaultExcludes()
|
110
127
|
ReactNative.module.applyAndroidVersions()
|
@@ -20,7 +20,13 @@ import { getReactNativeModule } from './nativeModule';
|
|
20
20
|
|
21
21
|
class RNFBNativeEventEmitter extends NativeEventEmitter {
|
22
22
|
constructor() {
|
23
|
-
|
23
|
+
const RNFBAppModule = getReactNativeModule('RNFBAppModule');
|
24
|
+
if (!RNFBAppModule) {
|
25
|
+
throw new Error(
|
26
|
+
'Native module RNFBAppModule not found. Re-check module install, linking, configuration, build and install steps.',
|
27
|
+
);
|
28
|
+
}
|
29
|
+
super(RNFBAppModule);
|
24
30
|
this.ready = false;
|
25
31
|
}
|
26
32
|
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Generated by genversion.
|
2
|
-
module.exports = '21.
|
2
|
+
module.exports = '21.3.0';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/app",
|
3
|
-
"version": "21.
|
3
|
+
"version": "21.3.0",
|
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",
|
@@ -82,12 +82,12 @@
|
|
82
82
|
"minSdk": 21,
|
83
83
|
"targetSdk": 34,
|
84
84
|
"compileSdk": 34,
|
85
|
-
"firebase": "33.
|
85
|
+
"firebase": "33.5.1",
|
86
86
|
"firebaseCrashlyticsGradle": "3.0.2",
|
87
87
|
"firebasePerfGradle": "1.4.2",
|
88
88
|
"gmsGoogleServicesGradle": "4.4.2",
|
89
89
|
"playServicesAuth": "21.2.0"
|
90
90
|
}
|
91
91
|
},
|
92
|
-
"gitHead": "
|
92
|
+
"gitHead": "88d33627112c9c0a6f022379de5ce61dfb9bbc0e"
|
93
93
|
}
|