@react-native-firebase/app 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 +36 -1
- package/android/build.gradle +1 -1
- package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseVersion.java +1 -1
- package/android/src/reactnative/java/io/invertase/firebase/common/RCTConvertFirebase.java +3 -3
- package/firebase-schema.json +4 -0
- package/ios/RNFBApp/RNFBVersion.m +1 -1
- package/ios_config.sh +1 -1
- package/lib/version.js +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,41 @@
|
|
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
|
+
- **sdks:** firebase-ios-sdk 8.10.0 / firebase-android-sdk 29.0.1 ([f6949c9](https://github.com/invertase/react-native-firebase/commit/f6949c9f3669df6d8b3f78bbee97bee2f36b7df3))
|
12
|
+
|
13
|
+
## [13.0.1](https://github.com/invertase/react-native-firebase/compare/v13.0.0...v13.0.1) (2021-11-05)
|
14
|
+
|
15
|
+
### Bug Fixes
|
16
|
+
|
17
|
+
- **ios, sdks:** bump firebase-ios-sdk to 8.9.1 ([4871131](https://github.com/invertase/react-native-firebase/commit/4871131c3587e138398719ef5537731ee4fbe90a))
|
18
|
+
|
19
|
+
# [13.0.0](https://github.com/invertase/react-native-firebase/compare/v12.9.3...v13.0.0) (2021-10-31)
|
20
|
+
|
21
|
+
### Bug Fixes
|
22
|
+
|
23
|
+
- rename default branch to main ([25e1d3d](https://github.com/invertase/react-native-firebase/commit/25e1d3d5a1a8311588938dc9d8fdf71d11cd9963))
|
24
|
+
|
25
|
+
- feat(sdks, android)!: firebase-android-sdk v29 / minSdkVersion API19 / target+compile API31 (#5825) ([f60afe1](https://github.com/invertase/react-native-firebase/commit/f60afe158b2dc823bd7169e36c3e428470576c7e)), closes [#5825](https://github.com/invertase/react-native-firebase/issues/5825)
|
26
|
+
|
27
|
+
### Features
|
28
|
+
|
29
|
+
- **ios, sdks:** bump firebase-ios-sdk to 8.9.0 ([bb9ba50](https://github.com/invertase/react-native-firebase/commit/bb9ba50ff4df82980943c0a76069d432e5371ed6))
|
30
|
+
|
31
|
+
### BREAKING CHANGES
|
32
|
+
|
33
|
+
- firebase-android-sdk 29 requires android/build.gradle minSdkVersion 19 (as required in react-native 0.64+)
|
34
|
+
|
35
|
+
## [12.9.3](https://github.com/invertase/react-native-firebase/compare/v12.9.2...v12.9.3) (2021-10-22)
|
36
|
+
|
37
|
+
### Bug Fixes
|
38
|
+
|
39
|
+
- **app, ios-config:** use fully-specified path for /usr/bin/head ([5baaf13](https://github.com/invertase/react-native-firebase/commit/5baaf136ce291b0ec703a9ecd3e5e907a37c3040)), closes [#5801](https://github.com/invertase/react-native-firebase/issues/5801)
|
40
|
+
|
6
41
|
## [12.9.2](https://github.com/invertase/react-native-firebase/compare/v12.9.1...v12.9.2) (2021-10-17)
|
7
42
|
|
8
43
|
### Bug Fixes
|
@@ -350,7 +385,7 @@ This release was partial, npmjs.com rejected some of the monorepo packages while
|
|
350
385
|
|
351
386
|
**Note:** Version bump only for package @react-native-firebase/app
|
352
387
|
|
353
|
-
**Note:** You _may_ need to re-download your firebase config files (android json / ios plist) to handle changes in the underlying SDKs as they migrate from instance id to installations. A symptom would be `NativeFirebaseError: [messaging/unknown] FIS_AUTH_ERROR`. [Upstream reference doc](https://github.com/firebase/firebase-android-sdk/blob/
|
388
|
+
**Note:** You _may_ need to re-download your firebase config files (android json / ios plist) to handle changes in the underlying SDKs as they migrate from instance id to installations. A symptom would be `NativeFirebaseError: [messaging/unknown] FIS_AUTH_ERROR`. [Upstream reference doc](https://github.com/firebase/firebase-android-sdk/blob/main/firebase-installations/REQUIRED_FIREBASE_OPTIONS_ANDROID.md#what-do-i-need-to-do) / [Related issue #4466](https://github.com/invertase/react-native-firebase/issues/4466)
|
354
389
|
|
355
390
|
## [8.4.5](https://github.com/invertase/react-native-firebase/compare/@react-native-firebase/app@8.4.4...@react-native-firebase/app@8.4.5) (2020-09-30)
|
356
391
|
|
package/android/build.gradle
CHANGED
@@ -169,18 +169,18 @@ public class RCTConvertFirebase {
|
|
169
169
|
// TODO Remove me - also in SharedUtils
|
170
170
|
public static WritableMap readableMapToWritableMap(ReadableMap map) {
|
171
171
|
WritableMap writableMap = Arguments.createMap();
|
172
|
-
// https://github.com/facebook/react-native/blob/
|
172
|
+
// https://github.com/facebook/react-native/blob/main/ReactAndroid/src/main/java/com/facebook/react/bridge/WritableNativeMap.java#L54
|
173
173
|
writableMap.merge(map);
|
174
174
|
return writableMap;
|
175
175
|
}
|
176
176
|
|
177
177
|
public static Map<String, Object> toHashMap(ReadableMap readableMap) {
|
178
|
-
// https://github.com/facebook/react-native/blob/
|
178
|
+
// https://github.com/facebook/react-native/blob/main/ReactAndroid/src/main/java/com/facebook/react/bridge/ReadableNativeMap.java#L216
|
179
179
|
return readableMap.toHashMap();
|
180
180
|
}
|
181
181
|
|
182
182
|
public static List<Object> toArrayList(ReadableArray readableArray) {
|
183
|
-
// https://github.com/facebook/react-native/blob/
|
183
|
+
// https://github.com/facebook/react-native/blob/main/ReactAndroid/src/main/java/com/facebook/react/bridge/ReadableNativeArray.java#L175
|
184
184
|
return readableArray.toArrayList();
|
185
185
|
}
|
186
186
|
}
|
package/firebase-schema.json
CHANGED
@@ -105,6 +105,10 @@
|
|
105
105
|
"android_background_activity_names": {
|
106
106
|
"description": "The names (as returned by `getShortClassName()` of Activities used outside the context of react native.\nThese are ignored when determining if the app is in foreground for purposes of calling javascript background handlers",
|
107
107
|
"type": "array"
|
108
|
+
},
|
109
|
+
"android_bypass_emulator_url_remap": {
|
110
|
+
"description": "On android devices, the urls of firebase emulators will be remapped from localhost to 10.0.2.2. If you don't need this behaviour set this fleg to `true`.",
|
111
|
+
"type": "boolean"
|
108
112
|
}
|
109
113
|
}
|
110
114
|
}
|
package/ios_config.sh
CHANGED
@@ -66,7 +66,7 @@ while true; do
|
|
66
66
|
_CURRENT_SEARCH_DIR=$(dirname "$_CURRENT_SEARCH_DIR")
|
67
67
|
if [[ "$_CURRENT_SEARCH_DIR" == "/" ]] || [[ ${_CURRENT_LOOKUPS} -gt ${_MAX_LOOKUPS} ]]; then break; fi;
|
68
68
|
echo "info: ($_CURRENT_LOOKUPS of $_MAX_LOOKUPS) Searching in '$_CURRENT_SEARCH_DIR' for a ${_JSON_FILE_NAME} file."
|
69
|
-
_SEARCH_RESULT=$(find "$_CURRENT_SEARCH_DIR" -maxdepth 2 -name ${_JSON_FILE_NAME} -print | head -n 1)
|
69
|
+
_SEARCH_RESULT=$(find "$_CURRENT_SEARCH_DIR" -maxdepth 2 -name ${_JSON_FILE_NAME} -print | /usr/bin/head -n 1)
|
70
70
|
if [[ ${_SEARCH_RESULT} ]]; then
|
71
71
|
echo "info: ${_JSON_FILE_NAME} found at $_SEARCH_RESULT"
|
72
72
|
break;
|
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/app",
|
3
|
-
"version": "
|
3
|
+
"version": "13.1.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",
|
@@ -15,7 +15,7 @@
|
|
15
15
|
},
|
16
16
|
"repository": {
|
17
17
|
"type": "git",
|
18
|
-
"url": "https://github.com/invertase/react-native-firebase/tree/
|
18
|
+
"url": "https://github.com/invertase/react-native-firebase/tree/main/packages/app"
|
19
19
|
},
|
20
20
|
"license": "Apache-2.0",
|
21
21
|
"keywords": [
|
@@ -56,7 +56,7 @@
|
|
56
56
|
"react-native": "*"
|
57
57
|
},
|
58
58
|
"dependencies": {
|
59
|
-
"@expo/config-plugins": "^4.0.
|
59
|
+
"@expo/config-plugins": "^4.0.10",
|
60
60
|
"opencollective-postinstall": "^2.0.1",
|
61
61
|
"superstruct": "^0.6.2"
|
62
62
|
},
|
@@ -65,19 +65,19 @@
|
|
65
65
|
},
|
66
66
|
"sdkVersions": {
|
67
67
|
"ios": {
|
68
|
-
"firebase": "8.
|
68
|
+
"firebase": "8.10.0"
|
69
69
|
},
|
70
70
|
"android": {
|
71
|
-
"minSdk":
|
72
|
-
"targetSdk":
|
73
|
-
"compileSdk":
|
74
|
-
"buildTools": "30.0.
|
75
|
-
"firebase": "
|
76
|
-
"firebaseCrashlyticsGradle": "2.
|
71
|
+
"minSdk": 21,
|
72
|
+
"targetSdk": 31,
|
73
|
+
"compileSdk": 31,
|
74
|
+
"buildTools": "30.0.3",
|
75
|
+
"firebase": "29.0.1",
|
76
|
+
"firebaseCrashlyticsGradle": "2.8.1",
|
77
77
|
"firebasePerfGradle": "1.4.0",
|
78
78
|
"gmsGoogleServicesGradle": "4.3.10",
|
79
79
|
"playServicesAuth": "19.2.0"
|
80
80
|
}
|
81
81
|
},
|
82
|
-
"gitHead": "
|
82
|
+
"gitHead": "0a9621b1ad2d6592de9906157d121c8ba5460a75"
|
83
83
|
}
|