@react-native-firebase/storage 18.3.2 → 18.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +6 -0
- package/lib/index.js +6 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,12 @@
|
|
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
|
+
## [18.4.0](https://github.com/invertase/react-native-firebase/compare/v18.3.2...v18.4.0) (2023-09-11)
|
7
|
+
|
8
|
+
### Bug Fixes
|
9
|
+
|
10
|
+
- **storage, android:** honor android_bypass_emulator_url_remap flag ([#7326](https://github.com/invertase/react-native-firebase/issues/7326)) ([794e081](https://github.com/invertase/react-native-firebase/commit/794e081134ca23d94174b9d4acd9bca7c403e8ad))
|
11
|
+
|
6
12
|
## [18.3.2](https://github.com/invertase/react-native-firebase/compare/v18.3.1...v18.3.2) (2023-09-02)
|
7
13
|
|
8
14
|
**Note:** Version bump only for package @react-native-firebase/storage
|
package/lib/index.js
CHANGED
@@ -184,8 +184,13 @@ class FirebaseStorageModule extends FirebaseModule {
|
|
184
184
|
if (!host || !isString(host) || !port || !isNumber(port)) {
|
185
185
|
throw new Error('firebase.storage().useEmulator() takes a non-empty host and port');
|
186
186
|
}
|
187
|
+
|
187
188
|
let _host = host;
|
188
|
-
|
189
|
+
|
190
|
+
const androidBypassEmulatorUrlRemap =
|
191
|
+
typeof this.firebaseJson.android_bypass_emulator_url_remap === 'boolean' &&
|
192
|
+
this.firebaseJson.android_bypass_emulator_url_remap;
|
193
|
+
if (!androidBypassEmulatorUrlRemap && isAndroid && _host) {
|
189
194
|
if (_host === 'localhost' || _host === '127.0.0.1') {
|
190
195
|
_host = '10.0.2.2';
|
191
196
|
// eslint-disable-next-line no-console
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Generated by genversion.
|
2
|
-
module.exports = '18.
|
2
|
+
module.exports = '18.4.0';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/storage",
|
3
|
-
"version": "18.
|
3
|
+
"version": "18.4.0",
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
5
5
|
"description": "React Native Firebase - React Native Firebase provides native integration with Cloud Storage, providing support to upload and download files directly from your device and from your Firebase Cloud Storage bucket.",
|
6
6
|
"main": "lib/index.js",
|
@@ -29,10 +29,10 @@
|
|
29
29
|
"download"
|
30
30
|
],
|
31
31
|
"peerDependencies": {
|
32
|
-
"@react-native-firebase/app": "18.
|
32
|
+
"@react-native-firebase/app": "18.4.0"
|
33
33
|
},
|
34
34
|
"publishConfig": {
|
35
35
|
"access": "public"
|
36
36
|
},
|
37
|
-
"gitHead": "
|
37
|
+
"gitHead": "5f6460a87970d8b6013530de980bc760ddc70f90"
|
38
38
|
}
|