Skip to content

Commit

Permalink
Merge branch 'main' into feat/v9-app
Browse files Browse the repository at this point in the history
  • Loading branch information
russellwheatley committed Dec 5, 2022
2 parents cb8415c + 3676205 commit e2388e1
Show file tree
Hide file tree
Showing 52 changed files with 766 additions and 559 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/scripts/adb_all_emulators.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
echo "Running $1 on all running emulators..."
devices=`adb devices`

for device in $devices; do
if [[ "$device" =~ "emulator-" ]]; then
adb -s $device $1
fi
done
echo "All Done."
6 changes: 3 additions & 3 deletions .github/workflows/scripts/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
},
"main": "lib/index.js",
"dependencies": {
"firebase-admin": "^11.2.1",
"firebase-functions": "^4.0.2"
"firebase-admin": "^11.3.0",
"firebase-functions": "^4.1.0"
},
"devDependencies": {
"firebase-functions-test": "^3.0.0",
"typescript": "^4.8.4"
"typescript": "^4.9.3"
},
"private": true
}
1 change: 1 addition & 0 deletions .spellcheck.dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ launchProperties
learnt
Lerna
lifecycle
macOS
MDX
mlkit
MLKit
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [16.4.6](https://github.com/invertase/react-native-firebase/compare/v16.4.5...v16.4.6) (2022-11-18)

### Bug Fixes

- **app, android:** firebase-android-sdk 31.1.0 ([af089c0](https://github.com/invertase/react-native-firebase/commit/af089c00496aa55e66ea83e87b8cf54c8144c9fb))

### [16.4.5](https://github.com/invertase/react-native-firebase/compare/v16.4.4...v16.4.5) (2022-11-16)

### Bug Fixes

- **app, ios:** firebase-ios-sdk 10.2.0 ([443f460](https://github.com/invertase/react-native-firebase/commit/443f460279f6c41ce7aaaeec03a19b14135953eb))

### [16.4.4](https://github.com/invertase/react-native-firebase/compare/v16.4.3...v16.4.4) (2022-11-14)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion docs/app-distribution/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Add the plugin to your `/android/build.gradle` file as a dependency:
buildscript {
dependencies {
// ...
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.1.0'
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.1.1'
}
```

Expand Down
8 changes: 5 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ If you do not meet these prerequisites, follow the links below:
- [React Native - Setting up the development environment](https://reactnative.dev/docs/environment-setup)
- [Create a new Firebase project](https://console.firebase.google.com/)

Additionally, current versions of firebase-ios-sdk have a minimum Xcode requirement of 13.3, which implies a minimum macOS version of 12 (macOS Monterey).

## Installation

Installing React Native Firebase requires a few steps; installing the NPM module, adding the Firebase config files &
Expand Down Expand Up @@ -215,7 +217,7 @@ project.ext {
// Overriding Library SDK Versions
firebase: [
// Override Firebase SDK Version
bom : "31.0.3"
bom : "31.1.0"
],
],
])
Expand All @@ -230,7 +232,7 @@ Open your projects `/ios/Podfile` and add any of the globals shown below to the

```ruby
# Override Firebase SDK Version
$FirebaseSDKVersion = '10.1.0'
$FirebaseSDKVersion = '10.2.0'
```

Once changed, reinstall your projects pods via pod install and rebuild your project with `npx react-native run-ios`.
Expand Down Expand Up @@ -306,7 +308,7 @@ The `app.json` for integration that included the optional crashlytics and perfor
}
```

iOS only, please use [expo-build-properties](https://docs.expo.dev/versions/v45.0.0/sdk/build-properties/#pluginconfigtypeios) to turn on `use_frameworks` by adding the following entry to their `plugins` array in `app.json`:
iOS only, please use [expo-build-properties](https://docs.expo.dev/versions/latest/sdk/build-properties/#pluginconfigtypeios) to turn on `use_frameworks` by adding the following entry to their `plugins` array in `app.json`:

```json
[
Expand Down
4 changes: 2 additions & 2 deletions docs/messaging/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ Note that only predefined colors can be used in `firebase.json`. If you want to
```xml
<!-- <projectRoot>/android/app/src/main/res/values/colors.xml -->
<resources>
<color name="my-custom-color">#123456</color>
<color name="my_custom_color">#123456</color>
</resources>

<!-- <projectRoot>/android/app/src/main/AndroidManifest.xml -->
Expand All @@ -486,7 +486,7 @@ Note that only predefined colors can be used in `firebase.json`. If you want to

<meta-data
android:name="com.google.firebase.messaging.default_notification_color"
android:resource="@color/my-custom-color"
android:resource="@color/my_custom_color"
tools:replace="android:resource" />
</application>
</manifest>
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@
"userUrlFormat": "{{host}}/{{user}}"
},
"ignoreChanges": ["**/docs/**", "**/.github/**", "**/e2e/**", "**/tests/**"],
"version": "16.4.4"
"version": "16.4.6"
}
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@
"tests:android:build": "cd tests && cross-env FIREBASE_APP_CHECK_DEBUG_TOKEN=\"698956B2-187B-49C6-9E25-C3F3530EEBAF\" yarn detox build --configuration android.emu.debug",
"tests:android:build:windows": "cd tests && cross-env FIREBASE_APP_CHECK_DEBUG_TOKEN=\"698956B2-187B-49C6-9E25-C3F3530EEBAF\" yarn detox build --configuration android.emu.debug.windows",
"tests:android:build-release": "cd tests && yarn detox build --configuration android.emu.release",
"tests:android:test": "cd tests && yarn detox test --configuration android.emu.debug",
"tests:android:test:debug": "cd tests && yarn detox test --configuration android.emu.debug --inspect",
"tests:android:test-reuse": "cd tests && yarn detox test --configuration android.emu.debug --reuse",
"tests:android:test-cover": "cd tests && ./node_modules/.bin/nyc yarn detox test --configuration android.emu.debug",
"tests:android:test-cover-reuse": "cd tests && ./node_modules/.bin/nyc yarn detox test --configuration android.emu.debug --reuse",
"tests:android:test": "yarn tests:android:emulator:forward && cd tests && yarn detox test --configuration android.emu.debug",
"tests:android:test:debug": "yarn tests:android:emulator:forward && cd tests && yarn detox test --configuration android.emu.debug --inspect",
"tests:android:test-reuse": "yarn tests:android:emulator:forward && cd tests && yarn detox test --configuration android.emu.debug --reuse",
"tests:android:test-cover": "yarn tests:android:emulator:forward && cd tests && ./node_modules/.bin/nyc yarn detox test --configuration android.emu.debug",
"tests:android:test-cover-reuse": "yarn tests:android:emulator:forward && cd tests && ./node_modules/.bin/nyc yarn detox test --configuration android.emu.debug --reuse",
"tests:android:test:jacoco-report": "cd tests/android && ./gradlew jacocoAndroidTestReport",
"tests:android:emulator:forward": ".github/workflows/scripts/adb_all_emulators.sh 'reverse tcp:8081 tcp:8081'",
"tests:ios:build": "cd tests && yarn detox build --configuration ios.sim.debug",
"tests:ios:build-release": "cd tests && yarn detox build --configuration ios.sim.release",
"tests:ios:test": "cd tests && SIMCTL_CHILD_GULGeneratedClassDisposeDisabled=1 SIMCTL_CHILD_FIRAAppCheckDebugToken=698956B2-187B-49C6-9E25-C3F3530EEBAF yarn detox test --configuration ios.sim.debug --loglevel warn",
Expand All @@ -55,7 +56,7 @@
"@octokit/core": "^4.1.0",
"@tsconfig/node12": "^1.0.11",
"@types/react": "^17.0.48",
"@types/react-native": "^0.67.12",
"@types/react-native": "^0.70.6",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"babel-jest": "^29.3.1",
Expand All @@ -73,11 +74,11 @@
"jest": "^29.3.1",
"lerna": "^6.0.3",
"prettier": "^2.7.1",
"regenerator-transform": "^0.15.0",
"regenerator-transform": "^0.15.1",
"rimraf": "^3.0.2",
"shelljs": "^0.8.5",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
"typescript": "^4.9.3"
},
"resolutions": {
"@types/react": "^18.0.25"
Expand Down
8 changes: 8 additions & 0 deletions packages/analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [16.4.6](https://github.com/invertase/react-native-firebase/compare/v16.4.5...v16.4.6) (2022-11-18)

**Note:** Version bump only for package @react-native-firebase/analytics

### [16.4.5](https://github.com/invertase/react-native-firebase/compare/v16.4.4...v16.4.5) (2022-11-16)

**Note:** Version bump only for package @react-native-firebase/analytics

### [16.4.4](https://github.com/invertase/react-native-firebase/compare/v16.4.3...v16.4.4) (2022-11-14)

**Note:** Version bump only for package @react-native-firebase/analytics
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/analytics",
"version": "16.4.4",
"version": "16.4.6",
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
"description": "React Native Firebase - The analytics module provides out of the box support with Google Analytics for Firebase. Integration with the Android & iOS allows for in-depth analytical insight reporting, such as device information, location, user actions and more.",
"main": "lib/index.js",
Expand All @@ -22,7 +22,7 @@
"analytics"
],
"peerDependencies": {
"@react-native-firebase/app": "16.4.4"
"@react-native-firebase/app": "16.4.6"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 8 additions & 0 deletions packages/app-check/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [16.4.6](https://github.com/invertase/react-native-firebase/compare/v16.4.5...v16.4.6) (2022-11-18)

**Note:** Version bump only for package @react-native-firebase/app-check

### [16.4.5](https://github.com/invertase/react-native-firebase/compare/v16.4.4...v16.4.5) (2022-11-16)

**Note:** Version bump only for package @react-native-firebase/app-check

### [16.4.4](https://github.com/invertase/react-native-firebase/compare/v16.4.3...v16.4.4) (2022-11-14)

**Note:** Version bump only for package @react-native-firebase/app-check
Expand Down
4 changes: 2 additions & 2 deletions packages/app-check/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/app-check",
"version": "16.4.4",
"version": "16.4.6",
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
"description": "React Native Firebase - App Check",
"main": "lib/index.js",
Expand All @@ -23,7 +23,7 @@
"appCheck"
],
"peerDependencies": {
"@react-native-firebase/app": "16.4.4"
"@react-native-firebase/app": "16.4.6"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 8 additions & 0 deletions packages/app-distribution/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [16.4.6](https://github.com/invertase/react-native-firebase/compare/v16.4.5...v16.4.6) (2022-11-18)

**Note:** Version bump only for package @react-native-firebase/app-distribution

### [16.4.5](https://github.com/invertase/react-native-firebase/compare/v16.4.4...v16.4.5) (2022-11-16)

**Note:** Version bump only for package @react-native-firebase/app-distribution

### [16.4.4](https://github.com/invertase/react-native-firebase/compare/v16.4.3...v16.4.4) (2022-11-14)

**Note:** Version bump only for package @react-native-firebase/app-distribution
Expand Down
4 changes: 2 additions & 2 deletions packages/app-distribution/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/app-distribution",
"version": "16.4.4",
"version": "16.4.6",
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
"description": "React Native Firebase - App Distribution",
"main": "lib/index.js",
Expand All @@ -22,7 +22,7 @@
"app-distribution"
],
"peerDependencies": {
"@react-native-firebase/app": "16.4.4"
"@react-native-firebase/app": "16.4.6"
},
"publishConfig": {
"access": "public"
Expand Down
12 changes: 12 additions & 0 deletions packages/app/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [16.4.6](https://github.com/invertase/react-native-firebase/compare/v16.4.5...v16.4.6) (2022-11-18)

### Bug Fixes

- **app, android:** firebase-android-sdk 31.1.0 ([af089c0](https://github.com/invertase/react-native-firebase/commit/af089c00496aa55e66ea83e87b8cf54c8144c9fb))

### [16.4.5](https://github.com/invertase/react-native-firebase/compare/v16.4.4...v16.4.5) (2022-11-16)

### Bug Fixes

- **app, ios:** firebase-ios-sdk 10.2.0 ([443f460](https://github.com/invertase/react-native-firebase/commit/443f460279f6c41ce7aaaeec03a19b14135953eb))

### [16.4.4](https://github.com/invertase/react-native-firebase/compare/v16.4.3...v16.4.4) (2022-11-14)

### Bug Fixes
Expand Down
6 changes: 3 additions & 3 deletions packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/app",
"version": "16.4.4",
"version": "16.4.6",
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
"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.",
"main": "lib/index.js",
Expand Down Expand Up @@ -65,15 +65,15 @@
},
"sdkVersions": {
"ios": {
"firebase": "10.1.0",
"firebase": "10.2.0",
"iosTarget": "11.0",
"macosTarget": "10.13"
},
"android": {
"minSdk": 19,
"targetSdk": 33,
"compileSdk": 33,
"firebase": "31.0.3",
"firebase": "31.1.0",
"firebaseCrashlyticsGradle": "2.9.2",
"firebasePerfGradle": "1.4.2",
"gmsGoogleServicesGradle": "4.3.14",
Expand Down
8 changes: 8 additions & 0 deletions packages/auth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [16.4.6](https://github.com/invertase/react-native-firebase/compare/v16.4.5...v16.4.6) (2022-11-18)

**Note:** Version bump only for package @react-native-firebase/auth

### [16.4.5](https://github.com/invertase/react-native-firebase/compare/v16.4.4...v16.4.5) (2022-11-16)

**Note:** Version bump only for package @react-native-firebase/auth

### [16.4.4](https://github.com/invertase/react-native-firebase/compare/v16.4.3...v16.4.4) (2022-11-14)

### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions packages/auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/auth",
"version": "16.4.4",
"version": "16.4.6",
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
"description": "React Native Firebase - The authentication module provides an easy-to-use API to integrate an authentication workflow into new and existing applications. React Native Firebase provides access to all Firebase authentication methods and identity providers.",
"main": "lib/index.js",
Expand Down Expand Up @@ -28,7 +28,7 @@
"plist": "^3.0.5"
},
"peerDependencies": {
"@react-native-firebase/app": "16.4.4"
"@react-native-firebase/app": "16.4.6"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 8 additions & 0 deletions packages/crashlytics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [16.4.6](https://github.com/invertase/react-native-firebase/compare/v16.4.5...v16.4.6) (2022-11-18)

**Note:** Version bump only for package @react-native-firebase/crashlytics

### [16.4.5](https://github.com/invertase/react-native-firebase/compare/v16.4.4...v16.4.5) (2022-11-16)

**Note:** Version bump only for package @react-native-firebase/crashlytics

### [16.4.4](https://github.com/invertase/react-native-firebase/compare/v16.4.3...v16.4.4) (2022-11-14)

**Note:** Version bump only for package @react-native-firebase/crashlytics
Expand Down
4 changes: 2 additions & 2 deletions packages/crashlytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/crashlytics",
"version": "16.4.4",
"version": "16.4.6",
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
"description": "React Native Firebase - Firebase Crashlytics is a lightweight, realtime crash reporter that helps you track, prioritize, and fix stability issues that erode your app quality. React Native Firebase provides automatic crash reporting for both native and JavaScript errors, including unhandled promise rejections.",
"main": "lib/index.js",
Expand Down Expand Up @@ -29,7 +29,7 @@
"crashlytics"
],
"peerDependencies": {
"@react-native-firebase/app": "16.4.4"
"@react-native-firebase/app": "16.4.6"
},
"dependencies": {
"@expo/config-plugins": "^5.0.4",
Expand Down
8 changes: 8 additions & 0 deletions packages/database/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [16.4.6](https://github.com/invertase/react-native-firebase/compare/v16.4.5...v16.4.6) (2022-11-18)

**Note:** Version bump only for package @react-native-firebase/database

### [16.4.5](https://github.com/invertase/react-native-firebase/compare/v16.4.4...v16.4.5) (2022-11-16)

**Note:** Version bump only for package @react-native-firebase/database

### [16.4.4](https://github.com/invertase/react-native-firebase/compare/v16.4.3...v16.4.4) (2022-11-14)

**Note:** Version bump only for package @react-native-firebase/database
Expand Down
Loading

0 comments on commit e2388e1

Please sign in to comment.