@react-native-firebase/app 15.4.0 → 15.6.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,23 @@
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.6.0](https://github.com/invertase/react-native-firebase/compare/v15.5.0...v15.6.0) (2022-09-17)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **app, ios:** correctly handle firebase.json if it has UTF-8 ([4e3ac01](https://github.com/invertase/react-native-firebase/commit/4e3ac01c94389299dffc53e6d8480760f8b18033))
11
+
12
+ # [15.5.0](https://github.com/invertase/react-native-firebase/compare/v15.4.0...v15.5.0) (2022-09-16)
13
+
14
+ ### Bug Fixes
15
+
16
+ - **expo, ios:** expo plugin added import multiple times ([f10891a](https://github.com/invertase/react-native-firebase/commit/f10891a6d8079766374ceb7790a824d90306946a))
17
+
18
+ ### Features
19
+
20
+ - **android:** firebase-android-sdk 30.5.0 ([abe7620](https://github.com/invertase/react-native-firebase/commit/abe7620c35cd91bd105d64fa64777868a3482435))
21
+ - **ios:** bump firebase-ios-sdk to 9.6.0 ([0ad70a9](https://github.com/invertase/react-native-firebase/commit/0ad70a90e01ac37c3129a170ebff47738e551a18))
22
+
6
23
  # [15.4.0](https://github.com/invertase/react-native-firebase/compare/v15.3.0...v15.4.0) (2022-08-27)
7
24
 
8
25
  ### Bug Fixes
@@ -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.4.0";
21
+ public static String VERSION = "15.6.0";
22
22
  }
@@ -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.4.0";
21
+ NSString* const RNFBVersionString = @"15.6.0";
package/ios_config.sh CHANGED
@@ -40,7 +40,7 @@ function setPlistValue {
40
40
 
41
41
  function getFirebaseJsonKeyValue () {
42
42
  if [[ ${_RN_ROOT_EXISTS} ]]; then
43
- ruby -e "require 'rubygems';require 'json'; output=JSON.parse('$1'); puts output[$_JSON_ROOT]['$2']"
43
+ ruby -Ku -e "require 'rubygems';require 'json'; output=JSON.parse('$1'); puts output[$_JSON_ROOT]['$2']"
44
44
  else
45
45
  echo ""
46
46
  fi;
@@ -76,7 +76,7 @@ done
76
76
 
77
77
  if [[ ${_SEARCH_RESULT} ]]; then
78
78
  _JSON_OUTPUT_RAW=$(cat "${_SEARCH_RESULT}")
79
- _RN_ROOT_EXISTS=$(ruby -e "require 'rubygems';require 'json'; output=JSON.parse('$_JSON_OUTPUT_RAW'); puts output[$_JSON_ROOT]" || echo '')
79
+ _RN_ROOT_EXISTS=$(ruby -Ku -e "require 'rubygems';require 'json'; output=JSON.parse('$_JSON_OUTPUT_RAW'); puts output[$_JSON_ROOT]" || echo '')
80
80
 
81
81
  if [[ ${_RN_ROOT_EXISTS} ]]; then
82
82
  if ! python3 --version >/dev/null 2>&1; then echo "python3 not found, firebase.json file processing error." && exit 1; fi
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '15.4.0';
2
+ module.exports = '15.6.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/app",
3
- "version": "15.4.0",
3
+ "version": "15.6.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,18 +65,18 @@
65
65
  },
66
66
  "sdkVersions": {
67
67
  "ios": {
68
- "firebase": "9.5.0"
68
+ "firebase": "9.6.0"
69
69
  },
70
70
  "android": {
71
71
  "minSdk": 19,
72
- "targetSdk": 31,
73
- "compileSdk": 31,
74
- "firebase": "30.3.2",
75
- "firebaseCrashlyticsGradle": "2.9.1",
72
+ "targetSdk": 33,
73
+ "compileSdk": 33,
74
+ "firebase": "30.5.0",
75
+ "firebaseCrashlyticsGradle": "2.9.2",
76
76
  "firebasePerfGradle": "1.4.1",
77
- "gmsGoogleServicesGradle": "4.3.13",
78
- "playServicesAuth": "20.2.0"
77
+ "gmsGoogleServicesGradle": "4.3.14",
78
+ "playServicesAuth": "20.3.0"
79
79
  }
80
80
  },
81
- "gitHead": "a05f63d5cb208d9b6f645a0743584f58a942d6bc"
81
+ "gitHead": "09edad10f28d4d2e0a471aa075c6f004826e1331"
82
82
  }
@@ -15,7 +15,7 @@ const methodInvocationLineMatcher = /(?:(self\.|_)(\w+)\s?=\s?\[\[UMModuleRegist
15
15
  const fallbackInvocationLineMatcher = /-\s*\(BOOL\)\s*application:\s*\(UIApplication\s*\*\s*\)\s*\w+\s+didFinishLaunchingWithOptions:/g;
16
16
  function modifyObjcAppDelegate(contents) {
17
17
  // Add import
18
- if (!contents.includes('@import Firebase;')) {
18
+ if (!contents.includes('#import <Firebase/Firebase.h>')) {
19
19
  contents = contents.replace(/#import "AppDelegate.h"/g, `#import "AppDelegate.h"
20
20
  #import <Firebase/Firebase.h>`);
21
21
  }
@@ -15,7 +15,7 @@ const fallbackInvocationLineMatcher =
15
15
 
16
16
  export function modifyObjcAppDelegate(contents: string): string {
17
17
  // Add import
18
- if (!contents.includes('@import Firebase;')) {
18
+ if (!contents.includes('#import <Firebase/Firebase.h>')) {
19
19
  contents = contents.replace(
20
20
  /#import "AppDelegate.h"/g,
21
21
  `#import "AppDelegate.h"