@react-native-firebase/app 26.4.0 → 26.4.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 +13 -0
- package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseVersion.java +1 -1
- package/dist/module/version.js +1 -1
- package/dist/typescript/lib/version.d.ts +1 -1
- package/firebase_spm.rb +39 -1
- package/ios/RNFBApp/RNFBVersion.m +1 -1
- package/lib/version.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
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
|
+
## [26.4.2](https://github.com/invertase/react-native-firebase/compare/v26.4.1...v26.4.2) (2026-11-10)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **app-distribution, android:** bump Firebase App Distribution Gradle plugin to 5.3.1 ([13a5f90](https://github.com/invertase/react-native-firebase/commit/13a5f908dbefd24ffd3b42e58b25ed5553d5fc08))
|
|
11
|
+
|
|
12
|
+
## [26.4.1](https://github.com/invertase/react-native-firebase/compare/v26.4.0...v26.4.1) (2026-10-23)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **app, ios:** use compatible Firebase pod requirement on CocoaPods ([1c5e5af](https://github.com/invertase/react-native-firebase/commit/1c5e5af0c81c8373c08ec50c82db1d9f29267e98))
|
|
17
|
+
- **app, sdk:** bump Firebase iOS SDK to 12.19.3 ([ea21e82](https://github.com/invertase/react-native-firebase/commit/ea21e82393328100eb3f662a44245db27cc87b51))
|
|
18
|
+
|
|
6
19
|
## [26.4.0](https://github.com/invertase/react-native-firebase/compare/v26.3.3...v26.4.0) (2026-09-05)
|
|
7
20
|
|
|
8
21
|
### Features
|
package/dist/module/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "26.4.
|
|
1
|
+
export declare const version = "26.4.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/firebase_spm.rb
CHANGED
|
@@ -76,6 +76,18 @@ module RNFirebaseSPM
|
|
|
76
76
|
end
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
+
# Default Firebase iOS SDK version (`sdkVersions.ios.firebase`) from the
|
|
80
|
+
# app's own package.json, cached like `url`. Used by
|
|
81
|
+
# `rnfirebase_cocoapods_requirement` to tell the shipped default apart
|
|
82
|
+
# from a version the user pinned themselves.
|
|
83
|
+
def default_version
|
|
84
|
+
@default_version ||= begin
|
|
85
|
+
app_package_path = File.join(__dir__, 'package.json')
|
|
86
|
+
app_package = JSON.parse(File.read(app_package_path))
|
|
87
|
+
app_package['sdkVersions']['ios']['firebase']
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
|
79
91
|
# Records that `firebase_dependency` (below) took the SPM path for at
|
|
80
92
|
# least one podspec in this install, and which Firebase SDK `version` it
|
|
81
93
|
# resolved with. Called once, from `firebase_dependency` itself, the
|
|
@@ -133,6 +145,7 @@ module RNFirebaseSPM
|
|
|
133
145
|
@active = nil
|
|
134
146
|
@version = nil
|
|
135
147
|
@url = nil
|
|
148
|
+
@default_version = nil
|
|
136
149
|
end
|
|
137
150
|
end
|
|
138
151
|
end
|
|
@@ -1200,6 +1213,30 @@ end
|
|
|
1200
1213
|
|
|
1201
1214
|
rnfirebase_hook_cocoapods_post_install!
|
|
1202
1215
|
|
|
1216
|
+
# CocoaPods requirement for a Firebase iOS SDK pod dependency.
|
|
1217
|
+
#
|
|
1218
|
+
# SPM resolves from the firebase-ios-sdk git repo, where every release tags all
|
|
1219
|
+
# products, so an exact version always exists. CocoaPods publishes per pod, and
|
|
1220
|
+
# a patch release only republishes the pods that changed (12.19.3 exists for
|
|
1221
|
+
# `Firebase`, `FirebaseCore` and `FirebaseFirestore` only). An exact
|
|
1222
|
+
# `s.dependency 'FirebaseAnalytics/Core', '12.19.3'` therefore cannot resolve.
|
|
1223
|
+
#
|
|
1224
|
+
# When `version` is the shipped default (`sdkVersions.ios.firebase`), return a
|
|
1225
|
+
# compatible-release requirement for its minor line (`~> 12.19.0`) so each pod
|
|
1226
|
+
# resolves to its newest patch. Any other value is a version the user pinned via
|
|
1227
|
+
# `$FirebaseSDKVersion` / `FIREBASE_SDK_VERSION` and stays an exact pin.
|
|
1228
|
+
#
|
|
1229
|
+
# @param version [String] Firebase SDK version (e.g., '12.19.3')
|
|
1230
|
+
# @return [String] CocoaPods requirement (e.g., '~> 12.19.0') or `version` unchanged
|
|
1231
|
+
def rnfirebase_cocoapods_requirement(version)
|
|
1232
|
+
return version unless version == RNFirebaseSPM.default_version
|
|
1233
|
+
|
|
1234
|
+
match = /\A(\d+)\.(\d+)\.\d+\z/.match(version)
|
|
1235
|
+
return version unless match
|
|
1236
|
+
|
|
1237
|
+
"~> #{match[1]}.#{match[2]}.0"
|
|
1238
|
+
end
|
|
1239
|
+
|
|
1203
1240
|
# @param spec [Pod::Specification] The podspec object (the `s` in podspec DSL)
|
|
1204
1241
|
# @param version [String] Firebase SDK version (e.g., '12.10.0')
|
|
1205
1242
|
# @param spm_products [Array<String>] SPM product names (e.g., ['FirebaseAuth'])
|
|
@@ -1228,8 +1265,9 @@ def firebase_dependency(spec, version, spm_products, pods)
|
|
|
1228
1265
|
end
|
|
1229
1266
|
end
|
|
1230
1267
|
pods = [pods] unless pods.is_a?(Array)
|
|
1268
|
+
requirement = rnfirebase_cocoapods_requirement(version)
|
|
1231
1269
|
pods.each do |pod|
|
|
1232
|
-
spec.dependency pod,
|
|
1270
|
+
spec.dependency pod, requirement
|
|
1233
1271
|
end
|
|
1234
1272
|
end
|
|
1235
1273
|
end
|
package/lib/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '26.4.
|
|
2
|
+
export const version = '26.4.2';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-firebase/app",
|
|
3
|
-
"version": "26.4.
|
|
3
|
+
"version": "26.4.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": "./dist/module/index.js",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
},
|
|
132
132
|
"sdkVersions": {
|
|
133
133
|
"ios": {
|
|
134
|
-
"firebase": "12.
|
|
134
|
+
"firebase": "12.19.3",
|
|
135
135
|
"firebaseSpmUrl": "https://github.com/firebase/firebase-ios-sdk.git",
|
|
136
136
|
"iosTarget": "15.0",
|
|
137
137
|
"macosTarget": "10.15",
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"firebasePerfGradle": "2.0.2",
|
|
147
147
|
"gmsGoogleServicesGradle": "4.5.0",
|
|
148
148
|
"playServicesAuth": "21.5.0",
|
|
149
|
-
"firebaseAppDistributionGradle": "5.3.
|
|
149
|
+
"firebaseAppDistributionGradle": "5.3.1"
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
152
|
"react-native-builder-bob": {
|
|
@@ -185,5 +185,5 @@
|
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
|
-
"gitHead": "
|
|
188
|
+
"gitHead": "8d24081586657530e6e0316afcc26989bff0f1d3"
|
|
189
189
|
}
|