@react-native-firebase/app 21.2.0 → 21.4.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,23 @@
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.4.0](https://github.com/invertase/react-native-firebase/compare/v21.3.0...v21.4.0) (2024-11-07)
7
+
8
+ ### Features
9
+
10
+ - Add initial tvOS support to some firebase packages ([ca51b51](https://github.com/invertase/react-native-firebase/commit/ca51b51f86edb9a5e293b463491fad40e4189e53))
11
+
12
+ ### Bug Fixes
13
+
14
+ - **app, tvOS:** tvOS minimum target upstream is 13.0, aligning here ([3fa3f07](https://github.com/invertase/react-native-firebase/commit/3fa3f07f00f0444fff3eb864afce3882e855ac41))
15
+
16
+ ## [21.3.0](https://github.com/invertase/react-native-firebase/compare/v21.2.0...v21.3.0) (2024-10-31)
17
+
18
+ ### Bug Fixes
19
+
20
+ - **app, sdk:** firebase-android-sdk 33.5.1 ([6c08f13](https://github.com/invertase/react-native-firebase/commit/6c08f13407f9aea6af176d485d919c892449cc16))
21
+ - **app:** add misconfiguration warning for missing native module ([b038dbc](https://github.com/invertase/react-native-firebase/commit/b038dbc669b7f1c679c388e3ef749168df89954f))
22
+
6
23
  ## [21.2.0](https://github.com/invertase/react-native-firebase/compare/v21.1.1...v21.2.0) (2024-10-22)
7
24
 
8
25
  ### Features
package/RNFBApp.podspec CHANGED
@@ -4,6 +4,7 @@ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
4
  firebase_sdk_version = package['sdkVersions']['ios']['firebase']
5
5
  firebase_ios_target = package['sdkVersions']['ios']['iosTarget']
6
6
  firebase_macos_target = package['sdkVersions']['ios']['macosTarget']
7
+ firebase_tvos_target = package['sdkVersions']['ios']['tvosTarget']
7
8
 
8
9
  Pod::Spec.new do |s|
9
10
  s.name = "RNFBApp"
@@ -19,6 +20,7 @@ Pod::Spec.new do |s|
19
20
  s.social_media_url = 'http://twitter.com/invertaseio'
20
21
  s.ios.deployment_target = firebase_ios_target
21
22
  s.macos.deployment_target = firebase_macos_target
23
+ s.tvos.deployment_target = firebase_tvos_target
22
24
  s.cocoapods_version = '>= 1.12.0'
23
25
  s.source_files = "ios/**/*.{h,m}"
24
26
 
@@ -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()
@@ -18,5 +18,5 @@ package io.invertase.firebase.app;
18
18
  */
19
19
  // generated file - do not modify or commit
20
20
  public class ReactNativeFirebaseVersion {
21
- public static String VERSION = "21.2.0";
21
+ public static String VERSION = "21.4.0";
22
22
  }
@@ -18,4 +18,4 @@
18
18
  #import <React/RCTVersion.h>
19
19
 
20
20
  // generated file - do not modify or commit
21
- NSString* const RNFBVersionString = @"21.2.0";
21
+ NSString* const RNFBVersionString = @"21.4.0";
@@ -20,7 +20,13 @@ import { getReactNativeModule } from './nativeModule';
20
20
 
21
21
  class RNFBNativeEventEmitter extends NativeEventEmitter {
22
22
  constructor() {
23
- super(getReactNativeModule('RNFBAppModule'));
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.0';
2
+ module.exports = '21.4.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/app",
3
- "version": "21.2.0",
3
+ "version": "21.4.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",
@@ -76,18 +76,19 @@
76
76
  "ios": {
77
77
  "firebase": "11.4.0",
78
78
  "iosTarget": "13.0",
79
- "macosTarget": "10.15"
79
+ "macosTarget": "10.15",
80
+ "tvosTarget": "13.0"
80
81
  },
81
82
  "android": {
82
83
  "minSdk": 21,
83
84
  "targetSdk": 34,
84
85
  "compileSdk": 34,
85
- "firebase": "33.4.0",
86
+ "firebase": "33.5.1",
86
87
  "firebaseCrashlyticsGradle": "3.0.2",
87
88
  "firebasePerfGradle": "1.4.2",
88
89
  "gmsGoogleServicesGradle": "4.4.2",
89
90
  "playServicesAuth": "21.2.0"
90
91
  }
91
92
  },
92
- "gitHead": "e85bf83dd36b3473d129bb3ed5eb3d9648e91988"
93
+ "gitHead": "227e1ed54cf668cbc701c0ed2542b8ec66957e1e"
93
94
  }