@react-native-firebase/app 15.1.1 → 15.4.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 CHANGED
@@ -3,6 +3,29 @@
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.4.0](https://github.com/invertase/react-native-firebase/compare/v15.3.0...v15.4.0) (2022-08-27)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **app, android:** bump to firebase-android-sdk 30.3.2 ([ee394fe](https://github.com/invertase/react-native-firebase/commit/ee394fe1221fcb8effa4c87716d99c3f1d556d13))
11
+
12
+ ### Features
13
+
14
+ - **app, ios:** bump firebase-ios-sdk to 9.5.0 ([feac7f8](https://github.com/invertase/react-native-firebase/commit/feac7f8c8b85c3cf87a34dc9a75ddb7b7b9c034b))
15
+
16
+ # [15.3.0](https://github.com/invertase/react-native-firebase/compare/v15.2.0...v15.3.0) (2022-08-07)
17
+
18
+ ### Bug Fixes
19
+
20
+ - **app, sdk:** firebase-android-sdk 30.3.1 / firebase-ios-sdk 9.4.0 ([1fd7fc8](https://github.com/invertase/react-native-firebase/commit/1fd7fc837a31bad179ccf5d463c80f578d7cbd15)), closes [#6327](https://github.com/invertase/react-native-firebase/issues/6327)
21
+
22
+ # [15.2.0](https://github.com/invertase/react-native-firebase/compare/v15.1.1...v15.2.0) (2022-07-21)
23
+
24
+ ### Features
25
+
26
+ - **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))
27
+ - **sdks:** firebase-ios-sdk 9.3.0 / firebase-android-sdk 30.3.0 ([e03dcd1](https://github.com/invertase/react-native-firebase/commit/e03dcd19a530e178022aaebd3266e31e037c9550))
28
+
6
29
  ## [15.1.1](https://github.com/invertase/react-native-firebase/compare/v15.1.0...v15.1.1) (2022-06-28)
7
30
 
8
31
  **Note:** Version bump only for package @react-native-firebase/app
@@ -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: [
@@ -18,5 +18,5 @@ package io.invertase.firebase.app;
18
18
  */
19
19
  // generated file - do not modify or commit
20
20
  public class ReactNativeFirebaseVersion {
21
- public static String VERSION = "15.1.1";
21
+ public static String VERSION = "15.4.0";
22
22
  }
@@ -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"
@@ -25,6 +25,8 @@
25
25
 
26
26
  - (NSString *)getStringValue:(NSString *)key defaultValue:(NSString *)defaultValue;
27
27
 
28
+ - (NSArray *)getArrayValue:(NSString *)key defaultValue:(NSArray *)defaultValue;
29
+
28
30
  - (NSDictionary *)getAll;
29
31
 
30
32
  - (NSString *)getRawJSON;
@@ -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
  }
@@ -18,4 +18,4 @@
18
18
  #import <React/RCTVersion.h>
19
19
 
20
20
  // generated file - do not modify or commit
21
- NSString* const RNFBVersionString = @"15.1.1";
21
+ NSString* const RNFBVersionString = @"15.4.0";
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '15.1.1';
2
+ module.exports = '15.4.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/app",
3
- "version": "15.1.1",
3
+ "version": "15.4.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",
@@ -56,7 +56,7 @@
56
56
  "react-native": "*"
57
57
  },
58
58
  "dependencies": {
59
- "@expo/config-plugins": "^4.1.5",
59
+ "@expo/config-plugins": "^5.0.1",
60
60
  "opencollective-postinstall": "^2.0.1",
61
61
  "superstruct": "^0.6.2"
62
62
  },
@@ -65,19 +65,18 @@
65
65
  },
66
66
  "sdkVersions": {
67
67
  "ios": {
68
- "firebase": "9.2.0"
68
+ "firebase": "9.5.0"
69
69
  },
70
70
  "android": {
71
71
  "minSdk": 19,
72
72
  "targetSdk": 31,
73
73
  "compileSdk": 31,
74
- "buildTools": "30.0.3",
75
- "firebase": "30.2.0",
74
+ "firebase": "30.3.2",
76
75
  "firebaseCrashlyticsGradle": "2.9.1",
77
76
  "firebasePerfGradle": "1.4.1",
78
- "gmsGoogleServicesGradle": "4.3.12",
77
+ "gmsGoogleServicesGradle": "4.3.13",
79
78
  "playServicesAuth": "20.2.0"
80
79
  }
81
80
  },
82
- "gitHead": "8d469f19b9faec54c492f83c0a2dba6a52815da3"
81
+ "gitHead": "a05f63d5cb208d9b6f645a0743584f58a942d6bc"
83
82
  }