Skip to content

Commit 99de822

Browse files
Merge branch 'main' into v8-deprecations
2 parents 43429cb + 3623a50 commit 99de822

40 files changed

+197
-113
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)
7+
8+
### Bug Fixes
9+
10+
- **android, app:** fix hot-reload on react-native <= 0.73 ([81e5fc2](https://github.com/invertase/react-native-firebase/commit/81e5fc2b6c89fdb4aa5f0f5aa95e1e90dae5f2e4))
11+
612
## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
713

814
### Features

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,5 @@
7676
"userUrlFormat": "{{host}}/{{user}}"
7777
},
7878
"ignoreChanges": ["**/docs/**", "**/.github/**", "**/e2e/**", "**/tests/**"],
79-
"version": "21.6.0"
79+
"version": "21.6.1"
8080
}

packages/analytics/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)
7+
8+
**Note:** Version bump only for package @react-native-firebase/analytics
9+
610
## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
711

812
### Bug Fixes

packages/analytics/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-firebase/analytics",
3-
"version": "21.6.0",
3+
"version": "21.6.1",
44
"author": "Invertase <[email protected]> (http://invertase.io)",
55
"description": "React Native Firebase - The analytics module provides out of the box support with Google Analytics for Firebase. Integration with the Android & iOS allows for in-depth analytical insight reporting, such as device information, location, user actions and more.",
66
"main": "lib/index.js",
@@ -22,7 +22,7 @@
2222
"analytics"
2323
],
2424
"peerDependencies": {
25-
"@react-native-firebase/app": "21.6.0"
25+
"@react-native-firebase/app": "21.6.1"
2626
},
2727
"publishConfig": {
2828
"access": "public"

packages/app-check/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)
7+
8+
**Note:** Version bump only for package @react-native-firebase/app-check
9+
610
## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
711

812
**Note:** Version bump only for package @react-native-firebase/app-check

packages/app-check/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-firebase/app-check",
3-
"version": "21.6.0",
3+
"version": "21.6.1",
44
"author": "Invertase <[email protected]> (http://invertase.io)",
55
"description": "React Native Firebase - App Check",
66
"main": "lib/index.js",
@@ -25,7 +25,7 @@
2525
"appCheck"
2626
],
2727
"peerDependencies": {
28-
"@react-native-firebase/app": "21.6.0",
28+
"@react-native-firebase/app": "21.6.1",
2929
"expo": ">=47.0.0"
3030
},
3131
"devDependencies": {

packages/app-distribution/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)
7+
8+
**Note:** Version bump only for package @react-native-firebase/app-distribution
9+
610
## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
711

812
**Note:** Version bump only for package @react-native-firebase/app-distribution

packages/app-distribution/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-firebase/app-distribution",
3-
"version": "21.6.0",
3+
"version": "21.6.1",
44
"author": "Invertase <[email protected]> (http://invertase.io)",
55
"description": "React Native Firebase - App Distribution",
66
"main": "lib/index.js",
@@ -22,7 +22,7 @@
2222
"app-distribution"
2323
],
2424
"peerDependencies": {
25-
"@react-native-firebase/app": "21.6.0"
25+
"@react-native-firebase/app": "21.6.1"
2626
},
2727
"publishConfig": {
2828
"access": "public"

packages/app/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)
7+
8+
### Bug Fixes
9+
10+
- **android, app:** fix hot-reload on react-native <= 0.73 ([81e5fc2](https://github.com/invertase/react-native-firebase/commit/81e5fc2b6c89fdb4aa5f0f5aa95e1e90dae5f2e4))
11+
612
## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
713

814
### Features

packages/app/android/src/reactnative/java/io/invertase/firebase/common/ReactNativeFirebaseModule.java

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,13 @@ public final ExecutorService getTransactionalExecutor(String identifier) {
9292
return executorService.getTransactionalExecutor(identifier);
9393
}
9494

95-
96-
// This is no longer called as of react-native 0.74 and is only here for
97-
// compatibility with older versions. It delegates to thew new `invalidate`
95+
// On react-native 0.73 this is called, but simply calls `invalidate()`
96+
// https://github.com/facebook/react-native/blob/0.73-stable/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/BaseJavaModule.java#L65-L72
97+
// This is no longer called ever for react-native >= 0.74 and is only here for
98+
// compatibility with older versions. We delegate to the new `invalidate`
9899
// method, which all modules should implement now
99100
// Remove this method when minimum supported react-native is 0.74
100-
/** @noinspection removal*/
101+
// @noinspection removal
101102
@SuppressWarnings({"deprecation", "removal"})
102103
@Deprecated
103104
public void onCatalystInstanceDestroy() {
@@ -107,11 +108,14 @@ public void onCatalystInstanceDestroy() {
107108
}
108109

109110
// This should have an @Override annotation but we cannot do
110-
// that until our minimum supported react-native version is 0.74, since the
111-
// method did not exist before then
111+
// that until our minimum supported react-native version is 0.74
112+
//
113+
// No need to call super.invalidate and in fact it is dangerous to do so:
114+
// - did not exist before react-native 0.73
115+
// - on 0.74 it calls onCatalystInstanceDestroy which would infinite loop here
116+
// - on 0.75+ it is empty - meant as sub-class hook only
112117
@CallSuper
113118
public void invalidate() {
114-
super.invalidate();
115119
executorService.shutdown();
116120
}
117121

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-firebase/app",
3-
"version": "21.6.0",
3+
"version": "21.6.1",
44
"author": "Invertase <[email protected]> (http://invertase.io)",
55
"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.",
66
"main": "lib/index.js",

packages/auth/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)
7+
8+
**Note:** Version bump only for package @react-native-firebase/auth
9+
610
## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
711

812
**Note:** Version bump only for package @react-native-firebase/auth

packages/auth/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-firebase/auth",
3-
"version": "21.6.0",
3+
"version": "21.6.1",
44
"author": "Invertase <[email protected]> (http://invertase.io)",
55
"description": "React Native Firebase - The authentication module provides an easy-to-use API to integrate an authentication workflow into new and existing applications. React Native Firebase provides access to all Firebase authentication methods and identity providers.",
66
"main": "lib/index.js",
@@ -27,7 +27,7 @@
2727
"plist": "^3.1.0"
2828
},
2929
"peerDependencies": {
30-
"@react-native-firebase/app": "21.6.0",
30+
"@react-native-firebase/app": "21.6.1",
3131
"expo": ">=47.0.0"
3232
},
3333
"devDependencies": {

packages/crashlytics/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)
7+
8+
**Note:** Version bump only for package @react-native-firebase/crashlytics
9+
610
## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
711

812
**Note:** Version bump only for package @react-native-firebase/crashlytics

packages/crashlytics/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-firebase/crashlytics",
3-
"version": "21.6.0",
3+
"version": "21.6.1",
44
"author": "Invertase <[email protected]> (http://invertase.io)",
55
"description": "React Native Firebase - Firebase Crashlytics is a lightweight, realtime crash reporter that helps you track, prioritize, and fix stability issues that erode your app quality. React Native Firebase provides automatic crash reporting for both native and JavaScript errors, including unhandled promise rejections.",
66
"main": "lib/index.js",
@@ -29,7 +29,7 @@
2929
"crashlytics"
3030
],
3131
"peerDependencies": {
32-
"@react-native-firebase/app": "21.6.0",
32+
"@react-native-firebase/app": "21.6.1",
3333
"expo": ">=47.0.0"
3434
},
3535
"dependencies": {

packages/database/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)
7+
8+
**Note:** Version bump only for package @react-native-firebase/database
9+
610
## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
711

812
**Note:** Version bump only for package @react-native-firebase/database

packages/database/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-firebase/database",
3-
"version": "21.6.0",
3+
"version": "21.6.1",
44
"author": "Invertase <[email protected]> (http://invertase.io)",
55
"description": "React Native Firebase - The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client. React Native Firebase provides native integration with the Android & iOS Firebase SDKs, supporting both realtime data sync and offline capabilities.",
66
"main": "lib/index.js",
@@ -25,7 +25,7 @@
2525
"realtome database"
2626
],
2727
"peerDependencies": {
28-
"@react-native-firebase/app": "21.6.0"
28+
"@react-native-firebase/app": "21.6.1"
2929
},
3030
"publishConfig": {
3131
"access": "public"

packages/dynamic-links/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)
7+
8+
**Note:** Version bump only for package @react-native-firebase/dynamic-links
9+
610
## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
711

812
**Note:** Version bump only for package @react-native-firebase/dynamic-links

packages/dynamic-links/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-firebase/dynamic-links",
3-
"version": "21.6.0",
3+
"version": "21.6.1",
44
"author": "Invertase <[email protected]> (http://invertase.io)",
55
"description": "React Native Firebase - Dynamic Links",
66
"main": "lib/index.js",
@@ -25,7 +25,7 @@
2525
"dynamic link"
2626
],
2727
"peerDependencies": {
28-
"@react-native-firebase/app": "21.6.0",
28+
"@react-native-firebase/app": "21.6.1",
2929
"expo": ">=47.0.0"
3030
},
3131
"devDependencies": {

packages/firestore/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)
7+
8+
**Note:** Version bump only for package @react-native-firebase/firestore
9+
610
## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
711

812
**Note:** Version bump only for package @react-native-firebase/firestore

packages/firestore/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-firebase/firestore",
3-
"version": "21.6.0",
3+
"version": "21.6.1",
44
"author": "Invertase <[email protected]> (http://invertase.io)",
55
"description": "React Native Firebase - Cloud Firestore is a NoSQL cloud database to store and sync data between your React Native application and Firebase's database. The API matches the Firebase Web SDK whilst taking advantage of the native SDKs performance and offline capabilities.",
66
"main": "lib/index.js",
@@ -27,7 +27,7 @@
2727
"firestore"
2828
],
2929
"peerDependencies": {
30-
"@react-native-firebase/app": "21.6.0"
30+
"@react-native-firebase/app": "21.6.1"
3131
},
3232
"publishConfig": {
3333
"access": "public"

packages/functions/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)
7+
8+
**Note:** Version bump only for package @react-native-firebase/functions
9+
610
## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
711

812
**Note:** Version bump only for package @react-native-firebase/functions

packages/functions/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-firebase/functions",
3-
"version": "21.6.0",
3+
"version": "21.6.1",
44
"author": "Invertase <[email protected]> (http://invertase.io)",
55
"description": "React Native Firebase - Cloud Functions for Firebase lets you automatically run backend code in response to events triggered by Firebase features and HTTPS requests. React Native Firebase supports integration with production and locally emulated Cloud Functions with a simple API interface.\n\n",
66
"main": "lib/index.js",
@@ -24,7 +24,7 @@
2424
"functions"
2525
],
2626
"peerDependencies": {
27-
"@react-native-firebase/app": "21.6.0"
27+
"@react-native-firebase/app": "21.6.1"
2828
},
2929
"devDependencies": {
3030
"@react-native-firebase/private-tests-firebase-functions": "^0.0.1"

packages/in-app-messaging/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)
7+
8+
**Note:** Version bump only for package @react-native-firebase/in-app-messaging
9+
610
## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
711

812
**Note:** Version bump only for package @react-native-firebase/in-app-messaging

packages/in-app-messaging/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-firebase/in-app-messaging",
3-
"version": "21.6.0",
3+
"version": "21.6.1",
44
"author": "Invertase <[email protected]> (http://invertase.io)",
55
"description": "React Native Firebase - Firebase In-App Messaging helps you engage your app's active users by sending them targeted, contextual messages that encourage them to use key app features. React Native Firebase provides support for both native Android & iOS integration with a simple JavaScript API.",
66
"main": "lib/index.js",
@@ -27,8 +27,8 @@
2727
"inAppMessaging"
2828
],
2929
"peerDependencies": {
30-
"@react-native-firebase/analytics": "21.6.0",
31-
"@react-native-firebase/app": "21.6.0"
30+
"@react-native-firebase/analytics": "21.6.1",
31+
"@react-native-firebase/app": "21.6.1"
3232
},
3333
"publishConfig": {
3434
"access": "public"

packages/installations/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)
7+
8+
**Note:** Version bump only for package @react-native-firebase/installations
9+
610
## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
711

812
**Note:** Version bump only for package @react-native-firebase/installations

packages/installations/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-firebase/installations",
3-
"version": "21.6.0",
3+
"version": "21.6.1",
44
"author": "Invertase <[email protected]> (http://invertase.io)",
55
"description": "React Native Firebase - Installations",
66
"main": "lib/index.js",
@@ -22,7 +22,7 @@
2222
"installations"
2323
],
2424
"peerDependencies": {
25-
"@react-native-firebase/app": "21.6.0"
25+
"@react-native-firebase/app": "21.6.1"
2626
},
2727
"publishConfig": {
2828
"access": "public"

packages/messaging/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)
7+
8+
**Note:** Version bump only for package @react-native-firebase/messaging
9+
610
## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
711

812
**Note:** Version bump only for package @react-native-firebase/messaging

0 commit comments

Comments
 (0)