@react-native-firebase/app 15.0.0 → 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 CHANGED
@@ -3,6 +3,25 @@
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
+
13
+ ## [15.1.1](https://github.com/invertase/react-native-firebase/compare/v15.1.0...v15.1.1) (2022-06-28)
14
+
15
+ **Note:** Version bump only for package @react-native-firebase/app
16
+
17
+ # [15.1.0](https://github.com/invertase/react-native-firebase/compare/v15.0.0...v15.1.0) (2022-06-28)
18
+
19
+ ### Features
20
+
21
+ - **analytics, ios:** implement firebase.json toggle to override default SKAdNewtork registration ([5da99bd](https://github.com/invertase/react-native-firebase/commit/5da99bde9f58a5d660ab9c59c61bf91db01cd962))
22
+ - **android, sdk:** use firebase-android-sdk 30.2.0 ([66e6fb0](https://github.com/invertase/react-native-firebase/commit/66e6fb0885c4f2885aeec140a9c0655a5eedd8df))
23
+ - **ios, sdk:** update to firebase-ios-sdk 9.2.0 ([7affa79](https://github.com/invertase/react-native-firebase/commit/7affa7989c64012bd6fc89fcc0ecf988e7f4e92a))
24
+
6
25
  # [15.0.0](https://github.com/invertase/react-native-firebase/compare/v14.11.1...v15.0.0) (2022-06-20)
7
26
 
8
27
  **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.0.0";
21
+ public static String VERSION = "15.2.0";
22
22
  }
@@ -29,6 +29,10 @@
29
29
  "description": "If you wish to disable automatic screen reporting in your app.\n This cannot be altered at runtime once set in the config.",
30
30
  "type": "boolean"
31
31
  },
32
+ "google_analytics_registration_with_ad_network_enabled": {
33
+ "description": "For your convenience, on iOS the SDK automatically registers your app with Apple for ad network attribution with SKAdNetwork.\nDefaults to true, include this key as false to disable.",
34
+ "type": "boolean"
35
+ },
32
36
  "analytics_default_allow_ad_personalization_signals": {
33
37
  "description": "Configure whether a user's Analytics data may be used for personalized advertising in other products.\n If set, may be overridden at runtime by calling setUserProperty on the key 'allow_personalized_ads'",
34
38
  "type": "boolean"
@@ -90,6 +94,10 @@
90
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",
91
95
  "type": "boolean"
92
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
+ },
93
101
  "perf_auto_collection_enabled": {
94
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.",
95
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.0.0";
21
+ NSString* const RNFBVersionString = @"15.2.0";
package/ios_config.sh CHANGED
@@ -127,6 +127,14 @@ if [[ ${_SEARCH_RESULT} ]]; then
127
127
  _PLIST_ENTRY_VALUES+=("$(jsonBoolToYesNo "$_ANALYTICS_PERSONALIZATION")")
128
128
  fi
129
129
 
130
+ # config.analytics_registration_with_ad_network_enabled
131
+ _ANALYTICS_REGISTRATION_WITH_AD_NETWORK=$(getFirebaseJsonKeyValue "$_JSON_OUTPUT_RAW" "google_analytics_registration_with_ad_network_enabled")
132
+ if [[ $_ANALYTICS_REGISTRATION_WITH_AD_NETWORK ]]; then
133
+ _PLIST_ENTRY_KEYS+=("GOOGLE_ANALYTICS_REGISTRATION_WITH_AD_NETWORK_ENABLED")
134
+ _PLIST_ENTRY_TYPES+=("bool")
135
+ _PLIST_ENTRY_VALUES+=("$(jsonBoolToYesNo "$_ANALYTICS_REGISTRATION_WITH_AD_NETWORK")")
136
+ fi
137
+
130
138
  # config.google_analytics_automatic_screen_reporting_enabled
131
139
  _ANALYTICS_AUTO_SCREEN_REPORTING=$(getFirebaseJsonKeyValue "$_JSON_OUTPUT_RAW" "google_analytics_automatic_screen_reporting_enabled")
132
140
  if [[ $_ANALYTICS_AUTO_SCREEN_REPORTING ]]; then
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '15.0.0';
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.0.0",
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.1.0"
68
+ "firebase": "9.3.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.1.0",
76
- "firebaseCrashlyticsGradle": "2.9.0",
74
+ "firebase": "30.3.0",
75
+ "firebaseCrashlyticsGradle": "2.9.1",
77
76
  "firebasePerfGradle": "1.4.1",
78
- "gmsGoogleServicesGradle": "4.3.10",
77
+ "gmsGoogleServicesGradle": "4.3.13",
79
78
  "playServicesAuth": "20.2.0"
80
79
  }
81
80
  },
82
- "gitHead": "7bb975c8c099083911a81e28050a2a5b50af2ee6"
81
+ "gitHead": "8fb859fb000d5c2c6bbb81dffc685e94ef1ba350"
83
82
  }