@react-native-firebase/auth 12.9.2 → 13.1.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 +20 -0
- package/android/build.gradle +1 -1
- package/lib/index.js +6 -3
- package/lib/version.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,26 @@
|
|
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
|
+
# [13.1.0](https://github.com/invertase/react-native-firebase/compare/v13.0.1...v13.1.0) (2021-12-02)
|
7
|
+
|
8
|
+
### Features
|
9
|
+
|
10
|
+
- **android, emulator:** add firebase.json config element to bypass localhost remap ([#5852](https://github.com/invertase/react-native-firebase/issues/5852)) ([ddf3f5f](https://github.com/invertase/react-native-firebase/commit/ddf3f5f43d2c8547879934c3169d3e01c0db44c0))
|
11
|
+
|
12
|
+
## [13.0.1](https://github.com/invertase/react-native-firebase/compare/v13.0.0...v13.0.1) (2021-11-05)
|
13
|
+
|
14
|
+
**Note:** Version bump only for package @react-native-firebase/auth
|
15
|
+
|
16
|
+
# [13.0.0](https://github.com/invertase/react-native-firebase/compare/v12.9.3...v13.0.0) (2021-10-31)
|
17
|
+
|
18
|
+
### Bug Fixes
|
19
|
+
|
20
|
+
- rename default branch to main ([25e1d3d](https://github.com/invertase/react-native-firebase/commit/25e1d3d5a1a8311588938dc9d8fdf71d11cd9963))
|
21
|
+
|
22
|
+
## [12.9.3](https://github.com/invertase/react-native-firebase/compare/v12.9.2...v12.9.3) (2021-10-22)
|
23
|
+
|
24
|
+
**Note:** Version bump only for package @react-native-firebase/auth
|
25
|
+
|
6
26
|
## [12.9.2](https://github.com/invertase/react-native-firebase/compare/v12.9.1...v12.9.2) (2021-10-17)
|
7
27
|
|
8
28
|
**Note:** Version bump only for package @react-native-firebase/auth
|
package/android/build.gradle
CHANGED
package/lib/index.js
CHANGED
@@ -360,19 +360,22 @@ class FirebaseAuthModule extends FirebaseModule {
|
|
360
360
|
}
|
361
361
|
|
362
362
|
let _url = url;
|
363
|
-
|
363
|
+
const androidBypassEmulatorUrlRemap =
|
364
|
+
typeof this.firebaseJson.android_bypass_emulator_url_remap === 'boolean' &&
|
365
|
+
this.firebaseJson.android_bypass_emulator_url_remap;
|
366
|
+
if (!androidBypassEmulatorUrlRemap && isAndroid && _url) {
|
364
367
|
if (_url.startsWith('http://localhost')) {
|
365
368
|
_url = _url.replace('http://localhost', 'http://10.0.2.2');
|
366
369
|
// eslint-disable-next-line no-console
|
367
370
|
console.log(
|
368
|
-
'Mapping auth host "localhost" to "10.0.2.2" for android emulators. Use real IP on real devices.',
|
371
|
+
'Mapping auth host "localhost" to "10.0.2.2" for android emulators. Use real IP on real devices. You can bypass this behaviour with "android_bypass_emulator_url_remap" flag.',
|
369
372
|
);
|
370
373
|
}
|
371
374
|
if (_url.startsWith('http://127.0.0.1')) {
|
372
375
|
_url = _url.replace('http://127.0.0.1', 'http://10.0.2.2');
|
373
376
|
// eslint-disable-next-line no-console
|
374
377
|
console.log(
|
375
|
-
'Mapping auth host "127.0.0.1" to "10.0.2.2" for android emulators. Use real IP on real devices.',
|
378
|
+
'Mapping auth host "127.0.0.1" to "10.0.2.2" for android emulators. Use real IP on real devices. You can bypass this behaviour with "android_bypass_emulator_url_remap" flag.',
|
376
379
|
);
|
377
380
|
}
|
378
381
|
}
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// generated by genversion
|
2
|
-
module.exports = '
|
2
|
+
module.exports = '13.1.0';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/auth",
|
3
|
-
"version": "
|
3
|
+
"version": "13.1.0",
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
5
5
|
"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.",
|
6
6
|
"main": "lib/index.js",
|
@@ -12,7 +12,7 @@
|
|
12
12
|
},
|
13
13
|
"repository": {
|
14
14
|
"type": "git",
|
15
|
-
"url": "https://github.com/invertase/react-native-firebase/tree/
|
15
|
+
"url": "https://github.com/invertase/react-native-firebase/tree/main/packages/auth"
|
16
16
|
},
|
17
17
|
"license": "Apache-2.0",
|
18
18
|
"keywords": [
|
@@ -22,10 +22,10 @@
|
|
22
22
|
"auth"
|
23
23
|
],
|
24
24
|
"peerDependencies": {
|
25
|
-
"@react-native-firebase/app": "
|
25
|
+
"@react-native-firebase/app": "13.1.0"
|
26
26
|
},
|
27
27
|
"publishConfig": {
|
28
28
|
"access": "public"
|
29
29
|
},
|
30
|
-
"gitHead": "
|
30
|
+
"gitHead": "0a9621b1ad2d6592de9906157d121c8ba5460a75"
|
31
31
|
}
|