@react-native-firebase/app 15.1.1 → 15.2.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 +7 -0
- package/android/build.gradle +0 -4
- package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseVersion.java +1 -1
- package/firebase-schema.json +4 -0
- package/ios/RNFBApp/RNFBJSON.h +2 -0
- package/ios/RNFBApp/RNFBJSON.m +6 -0
- package/ios/RNFBApp/RNFBVersion.m +1 -1
- package/lib/version.js +1 -1
- package/package.json +5 -6
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,13 @@
|
|
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
|
+
# [15.2.0](https://github.com/invertase/react-native-firebase/compare/v15.1.1...v15.2.0) (2022-07-21)
|
7
|
+
|
8
|
+
### Features
|
9
|
+
|
10
|
+
- **ios, messaging:** Allow notifications in foreground on iOS, configure in firebase.json ([#6407](https://github.com/invertase/react-native-firebase/issues/6407)) ([71dee2b](https://github.com/invertase/react-native-firebase/commit/71dee2bac7a2ea58e51605a249cab7f1ac5fa7d7))
|
11
|
+
- **sdks:** firebase-ios-sdk 9.3.0 / firebase-android-sdk 30.3.0 ([e03dcd1](https://github.com/invertase/react-native-firebase/commit/e03dcd19a530e178022aaebd3266e31e037c9550))
|
12
|
+
|
6
13
|
## [15.1.1](https://github.com/invertase/react-native-firebase/compare/v15.1.0...v15.1.1) (2022-06-28)
|
7
14
|
|
8
15
|
**Note:** Version bump only for package @react-native-firebase/app
|
package/android/build.gradle
CHANGED
@@ -26,7 +26,6 @@ def playServicesAuthVersion = packageJson['sdkVersions']['android']['playService
|
|
26
26
|
def jsonMinSdk = packageJson['sdkVersions']['android']['minSdk']
|
27
27
|
def jsonTargetSdk = packageJson['sdkVersions']['android']['targetSdk']
|
28
28
|
def jsonCompileSdk = packageJson['sdkVersions']['android']['compileSdk']
|
29
|
-
def jsonBuildTools = packageJson['sdkVersions']['android']['buildTools']
|
30
29
|
|
31
30
|
project.ext {
|
32
31
|
set('react-native', [
|
@@ -35,9 +34,6 @@ project.ext {
|
|
35
34
|
minSdk : jsonMinSdk,
|
36
35
|
targetSdk : jsonTargetSdk,
|
37
36
|
compileSdk: jsonCompileSdk,
|
38
|
-
// optional as gradle.buildTools comes with one by default
|
39
|
-
// overriding here though to match the version RN uses
|
40
|
-
buildTools: jsonBuildTools
|
41
37
|
],
|
42
38
|
|
43
39
|
firebase: [
|
package/firebase-schema.json
CHANGED
@@ -94,6 +94,10 @@
|
|
94
94
|
"description": "Whether RNFirebase Messaging automatically calls `[[UIApplication sharedApplication] registerForRemoteNotifications];`\nautomatically on app launch (recommended) - defaults to true.\n If set to false; make sure to call `firebase.messaging().registerDeviceForRemoteMessages()`\nearly on in your app startup - otherwise you will NOT receive remote messages/notifications\nin your app.\n",
|
95
95
|
"type": "boolean"
|
96
96
|
},
|
97
|
+
"messaging_ios_foreground_presentation_options": {
|
98
|
+
"description": "On iOS, indicating how to present a notification in a foreground app.",
|
99
|
+
"type": "array"
|
100
|
+
},
|
97
101
|
"perf_auto_collection_enabled": {
|
98
102
|
"description": "Disable or enable auto collection of performance monitoring data collection.\n This is useful for opt-in-first data flows, for example when dealing with GDPR compliance.\nThis can be overridden in JavaScript.",
|
99
103
|
"type": "boolean"
|
package/ios/RNFBApp/RNFBJSON.h
CHANGED
package/ios/RNFBApp/RNFBJSON.m
CHANGED
@@ -75,6 +75,12 @@
|
|
75
75
|
return string;
|
76
76
|
}
|
77
77
|
|
78
|
+
- (NSArray *)getArrayValue:(NSString *)key defaultValue:(NSArray *)defaultValue {
|
79
|
+
if ([_firebaseJson valueForKey:key] == nil) return defaultValue;
|
80
|
+
NSArray *array = [_firebaseJson valueForKey:key];
|
81
|
+
return array;
|
82
|
+
}
|
83
|
+
|
78
84
|
- (NSDictionary *)getAll {
|
79
85
|
return [[NSDictionary alloc] initWithDictionary:_firebaseJson copyItems:YES];
|
80
86
|
}
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Generated by genversion.
|
2
|
-
module.exports = '15.
|
2
|
+
module.exports = '15.2.0';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/app",
|
3
|
-
"version": "15.
|
3
|
+
"version": "15.2.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",
|
@@ -65,19 +65,18 @@
|
|
65
65
|
},
|
66
66
|
"sdkVersions": {
|
67
67
|
"ios": {
|
68
|
-
"firebase": "9.
|
68
|
+
"firebase": "9.3.0"
|
69
69
|
},
|
70
70
|
"android": {
|
71
71
|
"minSdk": 19,
|
72
72
|
"targetSdk": 31,
|
73
73
|
"compileSdk": 31,
|
74
|
-
"
|
75
|
-
"firebase": "30.2.0",
|
74
|
+
"firebase": "30.3.0",
|
76
75
|
"firebaseCrashlyticsGradle": "2.9.1",
|
77
76
|
"firebasePerfGradle": "1.4.1",
|
78
|
-
"gmsGoogleServicesGradle": "4.3.
|
77
|
+
"gmsGoogleServicesGradle": "4.3.13",
|
79
78
|
"playServicesAuth": "20.2.0"
|
80
79
|
}
|
81
80
|
},
|
82
|
-
"gitHead": "
|
81
|
+
"gitHead": "8fb859fb000d5c2c6bbb81dffc685e94ef1ba350"
|
83
82
|
}
|