@react-native-firebase/app 18.4.0 → 18.5.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,16 @@
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
+ ## [18.5.0](https://github.com/invertase/react-native-firebase/compare/v18.4.0...v18.5.0) (2023-09-22)
7
+
8
+ ### Features
9
+
10
+ - **ios:** add initiateOnDeviceConversionMeasurementWithPhoneNumber ([80ac07e](https://github.com/invertase/react-native-firebase/commit/80ac07e207bad7f31a4805edb26e350f892fc5bf))
11
+
12
+ ### Bug Fixes
13
+
14
+ - **app, sdks:** adopt ios sdk 10.15.0 / android sdk 32.3.1 ([acc58da](https://github.com/invertase/react-native-firebase/commit/acc58da42bb471d1973645f2a2feffe180705c19))
15
+
6
16
  ## [18.4.0](https://github.com/invertase/react-native-firebase/compare/v18.3.2...v18.4.0) (2023-09-11)
7
17
 
8
18
  **Note:** Version bump only for package @react-native-firebase/app
@@ -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 = "18.4.0";
21
+ public static String VERSION = "18.5.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 = @"18.4.0";
21
+ NSString* const RNFBVersionString = @"18.5.0";
@@ -95,6 +95,16 @@ export function isNumber(value) {
95
95
  return typeof value === 'number';
96
96
  }
97
97
 
98
+ /**
99
+ * Simple is phone number check for E.164 format
100
+ * @param value
101
+ * @return {boolean}
102
+ */
103
+ export function isE164PhoneNumber(value) {
104
+ const PHONE_NUMBER = /^\+[1-9]\d{1,14}$/; // E.164
105
+ return PHONE_NUMBER.test(value);
106
+ }
107
+
98
108
  /**
99
109
  * Simple finite check
100
110
  * @param value
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '18.4.0';
2
+ module.exports = '18.5.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/app",
3
- "version": "18.4.0",
3
+ "version": "18.5.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",
@@ -73,7 +73,7 @@
73
73
  },
74
74
  "sdkVersions": {
75
75
  "ios": {
76
- "firebase": "10.14.0",
76
+ "firebase": "10.15.0",
77
77
  "iosTarget": "11.0",
78
78
  "macosTarget": "10.13"
79
79
  },
@@ -81,12 +81,12 @@
81
81
  "minSdk": 19,
82
82
  "targetSdk": 33,
83
83
  "compileSdk": 33,
84
- "firebase": "32.2.3",
84
+ "firebase": "32.3.1",
85
85
  "firebaseCrashlyticsGradle": "2.9.9",
86
86
  "firebasePerfGradle": "1.4.2",
87
87
  "gmsGoogleServicesGradle": "4.3.15",
88
- "playServicesAuth": "20.6.0"
88
+ "playServicesAuth": "20.7.0"
89
89
  }
90
90
  },
91
- "gitHead": "5f6460a87970d8b6013530de980bc760ddc70f90"
91
+ "gitHead": "c9b695aa8fd75d5a1d070ecbb6bb9ac4e9ff062e"
92
92
  }