Skip to content

Commit

Permalink
Merge branch 'main' into vertexai
Browse files Browse the repository at this point in the history
  • Loading branch information
russellwheatley authored Jan 24, 2025
2 parents 45d9bcb + 9c6f607 commit b2a0e74
Show file tree
Hide file tree
Showing 13 changed files with 38 additions and 12 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ to current versions and access newer Xcode versions
will need to update your error handling code
- **app, sdks:** firebase-ios-sdk 10.21.0 requires cocoapods 1.12+
in order to support the new Apple-mandated privacy manifests. Please
ensure you are using verson 1.12 or greater of cocoapods
ensure you are using version 1.12 or greater of cocoapods

### Features

Expand Down Expand Up @@ -1291,7 +1291,7 @@ Sorry for the inconvenience.

- **database:** call cancellation callback when using ref.on ([#5371](https://github.com/invertase/react-native-firebase/issues/5371)) ([26b59db](https://github.com/invertase/react-native-firebase/commit/26b59dbe06bedc64ed83923ecf132b47fe0eb05b))
- **messaging:** Refactor code to avoid bugs ([5039759](https://github.com/invertase/react-native-firebase/commit/503975909383582d8850470455eeef8f18194ba8))
- **storage, ios:** dont enumerate on dictionary being mutated ([#5455](https://github.com/invertase/react-native-firebase/issues/5455)) ([daaa72d](https://github.com/invertase/react-native-firebase/commit/daaa72d82df6b9e5e2c1247c10792d4b12683541))
- **storage, ios:** don't enumerate on dictionary being mutated ([#5455](https://github.com/invertase/react-native-firebase/issues/5455)) ([daaa72d](https://github.com/invertase/react-native-firebase/commit/daaa72d82df6b9e5e2c1247c10792d4b12683541))

### Features

Expand Down
11 changes: 11 additions & 0 deletions docs/analytics/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ Analytics automatically logs some [events](https://support.google.com/analytics/

Analytics offers a wealth of [Predefined Events](#predefined-events) to track user behavior. Analytics also offers folks the ability to log [Custom Events](#custom-events) . If you're already familiar with Google Analytics, this method is equivalent to using the event command in [gtag.js](https://developers.google.com/gtagjs/).

## Event Parameters

Please pay very special attention to what parameters you send in for _any_ events - custom, predefined or otherwise.

> **WARNING**
> Parameters are _not_ validated and incorrect parameters will _silently_ be accepted but then _fail to log an event_ in the Analytics console.
It is the developer's responsibility to verify that their parameters are correct and are being logged correctly.

Different event types require different parameters (some require no parameters, some require an array of strings, most require just a string, etc). The developer must examine the reference for each type of event and send the correct parameters. You may watch device logs and the Analytics console to make sure the events are correctly sent to Google Analytics.

## Custom Events

Below is an example showing how a custom event can be logged. Please be aware that primitive data types or arrays of primitive data types are logged in your Firebase Analytics console.
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:5.0.0'
classpath 'com.google.firebase:firebase-appdistribution-gradle:5.1.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/app/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
redirect: /dynamic-links/usage
redirect: /app/usage
---
2 changes: 1 addition & 1 deletion docs/auth/social-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ async function onGoogleButtonPress() {
}

// Create a Google credential with the token
const googleCredential = auth.GoogleAuthProvider.credential(signInResult.data.token);
const googleCredential = auth.GoogleAuthProvider.credential(signInResult.data.idToken);

// Sign-in the user with the credential
return auth().signInWithCredential(googleCredential);
Expand Down
3 changes: 1 addition & 2 deletions docs/dynamic-links/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ next: /in-app-messaging/usage
previous: /database/presence-detection
---

> [!WARNING]
> Deprecated: Firebase Dynamic Links is deprecated and should not be adopted in projects that don't already use it. Functionality for the primary use cases of store/web routing and deferred/regular deep-linking will shut down on August 25, 2025. Firebase Authentication currently uses Firebase Dynamic Links to customize Authentication links, but the Firebase team will provide an update to ensure that this functionality continues working after the Firebase Dynamic Links service is shut down. See the [Dynamic Links Deprecation FAQ](https://firebase.google.com/support/dynamic-links-faq) for more information.
> **Deprecated:** Firebase Dynamic Links is deprecated and should not be adopted in projects that don't already use it. Functionality for the primary use cases of store/web routing and deferred/regular deep-linking will shut down on August 25, 2025. Firebase Authentication currently uses Firebase Dynamic Links to customize Authentication links, but the Firebase team will provide an update to ensure that this functionality continues working after the Firebase Dynamic Links service is shut down. See the [Dynamic Links Deprecation FAQ](https://firebase.google.com/support/dynamic-links-faq) for more information.
# Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ project.ext {
// Overriding Library SDK Versions
firebase: [
// Override Firebase SDK Version
bom : "33.7.0"
bom : "33.8.0"
],
],
])
Expand Down
16 changes: 16 additions & 0 deletions docs/messaging/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,22 @@ Since Expo SDK51, Notifications entitlement is no longer always added to iOS pro
}
```

## iOS - Remote notification

If you require `remote notification` on Expo, you can also add this to your Expo `app.json` or `app.config.js`

```json
{
"expo": {
"ios": {
"infoPlist": {
"UIBackgroundModes": ["remote-notification"]
}
}
}
}
```

# What does it do

React Native Firebase provides native integration of Firebase Cloud Messaging (FCM) for both Android & iOS. FCM is a cost
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.google.firebase:firebase-appdistribution-gradle:5.0.0'
classpath 'com.google.firebase:firebase-appdistribution-gradle:5.1.0'
classpath("com.android.tools.build:gradle:4.1.0")
// NOTE: Do not place your application dependencies here; they belong
Expand Down
6 changes: 3 additions & 3 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@
"minSdk": 21,
"targetSdk": 34,
"compileSdk": 34,
"firebase": "33.7.0",
"firebase": "33.8.0",
"firebaseCrashlyticsGradle": "3.0.2",
"firebasePerfGradle": "1.4.2",
"gmsGoogleServicesGradle": "4.4.2",
"playServicesAuth": "21.2.0",
"firebaseAppDistributionGradle": "5.0.0"
"playServicesAuth": "21.3.0",
"firebaseAppDistributionGradle": "5.1.0"
}
}
}
File renamed without changes.

0 comments on commit b2a0e74

Please sign in to comment.