Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
dipakp2726 committed Nov 9, 2022
2 parents 0fb84df + b9b464f commit b9a2533
Show file tree
Hide file tree
Showing 123 changed files with 1,213 additions and 312 deletions.
136 changes: 136 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,142 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2022-11-03

### Changes

---

Packages with breaking changes:

- There are no breaking changes in this release.

Packages with other changes:

- [`cloud_firestore` - `v4.0.4`](#cloud_firestore---v404)
- [`cloud_firestore_odm_generator` - `v1.0.0-dev.39`](#cloud_firestore_odm_generator---v100-dev39)
- [`cloud_firestore_platform_interface` - `v5.8.4`](#cloud_firestore_platform_interface---v584)
- [`cloud_firestore_web` - `v3.0.4`](#cloud_firestore_web---v304)
- [`firebase_auth_web` - `v5.1.1`](#firebase_auth_web---v511)
- [`firebase_ui_auth` - `v1.0.4`](#firebase_ui_auth---v104)
- [`firebase_ui_oauth_apple` - `v1.0.4`](#firebase_ui_oauth_apple---v104)
- [`flutterfire_ui` - `v0.4.3+19`](#flutterfire_ui---v04319)
- [`firebase_ui_firestore` - `v1.0.4`](#firebase_ui_firestore---v104)
- [`cloud_firestore_odm` - `v1.0.0-dev.39`](#cloud_firestore_odm---v100-dev39)
- [`_flutterfire_internals` - `v1.0.7`](#_flutterfire_internals---v107)
- [`firebase_in_app_messaging_platform_interface` - `v0.2.1+24`](#firebase_in_app_messaging_platform_interface---v02124)
- [`firebase_remote_config_platform_interface` - `v1.1.24`](#firebase_remote_config_platform_interface---v1124)
- [`firebase_crashlytics_platform_interface` - `v3.3.5`](#firebase_crashlytics_platform_interface---v335)
- [`firebase_performance_web` - `v0.1.1+13`](#firebase_performance_web---v01113)
- [`firebase_storage_web` - `v3.3.14`](#firebase_storage_web---v3314)
- [`firebase_app_check_web` - `v0.0.7+6`](#firebase_app_check_web---v0076)
- [`firebase_app_installations_web` - `v0.1.1+13`](#firebase_app_installations_web---v01113)
- [`firebase_messaging_web` - `v3.2.5`](#firebase_messaging_web---v325)
- [`firebase_analytics_web` - `v0.5.1+3`](#firebase_analytics_web---v0513)
- [`firebase_performance_platform_interface` - `v0.1.1+24`](#firebase_performance_platform_interface---v01124)
- [`firebase_app_check_platform_interface` - `v0.0.5+6`](#firebase_app_check_platform_interface---v0056)
- [`firebase_dynamic_links_platform_interface` - `v0.2.3+20`](#firebase_dynamic_links_platform_interface---v02320)
- [`firebase_auth_platform_interface` - `v6.11.1`](#firebase_auth_platform_interface---v6111)
- [`firebase_app_installations_platform_interface` - `v0.1.1+24`](#firebase_app_installations_platform_interface---v01124)
- [`firebase_messaging_platform_interface` - `v4.2.5`](#firebase_messaging_platform_interface---v425)
- [`firebase_analytics_platform_interface` - `v3.3.12`](#firebase_analytics_platform_interface---v3312)
- [`firebase_database_platform_interface` - `v0.2.2+12`](#firebase_database_platform_interface---v02212)
- [`firebase_in_app_messaging` - `v0.7.0+4`](#firebase_in_app_messaging---v0704)
- [`firebase_remote_config_web` - `v1.1.13`](#firebase_remote_config_web---v1113)
- [`firebase_remote_config` - `v3.0.4`](#firebase_remote_config---v304)
- [`firebase_crashlytics` - `v3.0.4`](#firebase_crashlytics---v304)
- [`firebase_performance` - `v0.9.0+4`](#firebase_performance---v0904)
- [`firebase_storage` - `v11.0.4`](#firebase_storage---v1104)
- [`firebase_app_check` - `v0.1.1+3`](#firebase_app_check---v0113)
- [`firebase_app_installations` - `v0.2.1+3`](#firebase_app_installations---v0213)
- [`firebase_messaging` - `v14.0.4`](#firebase_messaging---v1404)
- [`firebase_analytics` - `v10.0.4`](#firebase_analytics---v1004)
- [`firebase_dynamic_links` - `v5.0.4`](#firebase_dynamic_links---v504)
- [`firebase_auth` - `v4.1.1`](#firebase_auth---v411)
- [`firebase_database` - `v10.0.4`](#firebase_database---v1004)
- [`firebase_database_web` - `v0.2.1+14`](#firebase_database_web---v02114)
- [`firebase_ui_oauth` - `v1.0.4`](#firebase_ui_oauth---v104)
- [`firebase_ui_oauth_facebook` - `v1.0.4`](#firebase_ui_oauth_facebook---v104)
- [`firebase_ui_oauth_google` - `v1.0.4`](#firebase_ui_oauth_google---v104)
- [`firebase_ui_oauth_twitter` - `v1.0.4`](#firebase_ui_oauth_twitter---v104)
- [`firebase_ui_database` - `v1.0.4`](#firebase_ui_database---v104)

Packages with dependency updates only:

> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
- `flutterfire_ui` - `v0.4.3+19`
- `firebase_ui_firestore` - `v1.0.4`
- `cloud_firestore_odm` - `v1.0.0-dev.39`
- `_flutterfire_internals` - `v1.0.7`
- `firebase_in_app_messaging_platform_interface` - `v0.2.1+24`
- `firebase_remote_config_platform_interface` - `v1.1.24`
- `firebase_crashlytics_platform_interface` - `v3.3.5`
- `firebase_performance_web` - `v0.1.1+13`
- `firebase_storage_web` - `v3.3.14`
- `firebase_app_check_web` - `v0.0.7+6`
- `firebase_app_installations_web` - `v0.1.1+13`
- `firebase_messaging_web` - `v3.2.5`
- `firebase_analytics_web` - `v0.5.1+3`
- `firebase_performance_platform_interface` - `v0.1.1+24`
- `firebase_app_check_platform_interface` - `v0.0.5+6`
- `firebase_dynamic_links_platform_interface` - `v0.2.3+20`
- `firebase_auth_platform_interface` - `v6.11.1`
- `firebase_app_installations_platform_interface` - `v0.1.1+24`
- `firebase_messaging_platform_interface` - `v4.2.5`
- `firebase_analytics_platform_interface` - `v3.3.12`
- `firebase_database_platform_interface` - `v0.2.2+12`
- `firebase_in_app_messaging` - `v0.7.0+4`
- `firebase_remote_config_web` - `v1.1.13`
- `firebase_remote_config` - `v3.0.4`
- `firebase_crashlytics` - `v3.0.4`
- `firebase_performance` - `v0.9.0+4`
- `firebase_storage` - `v11.0.4`
- `firebase_app_check` - `v0.1.1+3`
- `firebase_app_installations` - `v0.2.1+3`
- `firebase_messaging` - `v14.0.4`
- `firebase_analytics` - `v10.0.4`
- `firebase_dynamic_links` - `v5.0.4`
- `firebase_auth` - `v4.1.1`
- `firebase_database` - `v10.0.4`
- `firebase_database_web` - `v0.2.1+14`
- `firebase_ui_oauth` - `v1.0.4`
- `firebase_ui_oauth_facebook` - `v1.0.4`
- `firebase_ui_oauth_google` - `v1.0.4`
- `firebase_ui_oauth_twitter` - `v1.0.4`
- `firebase_ui_database` - `v1.0.4`

---

#### `cloud_firestore` - `v4.0.4`

- **FIX**: fix aggregated count to use the current query and not only the collection on Web ([#9824](https://github.com/firebase/flutterfire/issues/9824)). ([ada39355](https://github.com/firebase/flutterfire/commit/ada39355722e316217934ad8cf1dfa789e47f058))

#### `cloud_firestore_odm_generator` - `v1.0.0-dev.39`

- **FIX**: Upgrade analyzer version. ([#9828](https://github.com/firebase/flutterfire/issues/9828)). ([b7f5887d](https://github.com/firebase/flutterfire/commit/b7f5887d76ba11de5041f39d2bb5fdcb8aec288d))

#### `cloud_firestore_platform_interface` - `v5.8.4`

- **FIX**: fix aggregated count to use the current query and not only the collection on Web ([#9824](https://github.com/firebase/flutterfire/issues/9824)). ([ada39355](https://github.com/firebase/flutterfire/commit/ada39355722e316217934ad8cf1dfa789e47f058))

#### `cloud_firestore_web` - `v3.0.4`

- **FIX**: fix aggregated count to use the current query and not only the collection on Web ([#9824](https://github.com/firebase/flutterfire/issues/9824)). ([ada39355](https://github.com/firebase/flutterfire/commit/ada39355722e316217934ad8cf1dfa789e47f058))

#### `firebase_auth_web` - `v5.1.1`

- **FIX**: use correct UTC time from server for _webUser.metadata.creationTime & _webUser.metadata.lastSignInTime ([#9789](https://github.com/firebase/flutterfire/issues/9789)). ([44ac2a36](https://github.com/firebase/flutterfire/commit/44ac2a3665a1006d444b4725c131ad4f084fe3d1))

#### `firebase_ui_auth` - `v1.0.4`

- **FIX**: set default scope to 'email' and add a way to provide custom scopes ([#9784](https://github.com/firebase/flutterfire/issues/9784)). ([19a54edc](https://github.com/firebase/flutterfire/commit/19a54edc5921e567cfc22f1f55240c2f0b5fa56c))

#### `firebase_ui_oauth_apple` - `v1.0.4`

- **FIX**: set default scope to 'email' and add a way to provide custom scopes ([#9784](https://github.com/firebase/flutterfire/issues/9784)). ([19a54edc](https://github.com/firebase/flutterfire/commit/19a54edc5921e567cfc22f1f55240c2f0b5fa56c))


## 2022-10-27

### Changes
Expand Down
21 changes: 2 additions & 19 deletions docs/cloud-messaging/first-message.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,25 +64,8 @@ final fcmToken = await FirebaseMessaging.instance.getToken();

## Send a test notification message

1. Install and run the app on the target device. On Apple devices, you'll need
to accept the request for permission to receive remote notifications.

1. Make sure the app is in the background on the device.

1. Open the <a href="//console.firebase.google.com/project/_/notification">
Notifications composer</a> and select **New notification**.

1. Enter the message text.

1. Select **Send test message**.

1. In the field labeled **Add an FCM registration token**, enter the
registration token you obtained in a previous section of this guide.

1. Click **Test**

After you click **Test**, the targeted client device (with the app in
the background) should receive the notification.
{# Google-internal include #}
<<../_send-to-device.md>>

For insight into message delivery to your app, see the
<a href="//console.firebase.google.com/project/_/notification/reporting">FCM reporting dashboard</a>,
Expand Down
20 changes: 20 additions & 0 deletions docs/crashlytics/_get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,26 @@ first crash report to Firebase.
flutter run
```

1. _(Optional)_ If your Flutter project uses the
[`--split-debug-info` flag](https://docs.flutter.dev/perf/app-size#reducing-app-size){: .external}
(and, optionally, the
[`--obfuscate` flag](https://docs.flutter.dev/deployment/obfuscate){: .external}),
you need to use the [{{firebase_cli}}](/docs/cli) (v.11.9.0+) to upload
Android symbols.

From the root directory of your Flutter project, run the following command:

<pre class="devsite-terminal" data-terminal-prefix="your-flutter-proj$ ">firebase crashlytics:symbols:upload --app=<var class="readonly">APP_ID</var> <var class="readonly">PATH/TO</var>/symbols</pre>

The <code><var>PATH/TO</var>/symbols</code> directory is the same directory
that you pass to the `--split-debug-info` flag when building the application.

Note: Support for `--split-debug-info` is currently only available on
Android.<br>For Apple platforms, support for this feature will be
available in an upcoming release, but you can access it now by using the
[master channel](https://docs.flutter.dev/development/tools/sdk/releases){: .external}
of the Flutter SDK.


## **Step 2**: Configure crash handlers {: #configure-crash-handlers}

Expand Down
7 changes: 5 additions & 2 deletions docs/in-app-messaging/_get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,11 @@ Once you've launched your app on the testing device and you have its
Firebase installation ID (FID), you can try out your Firebase In-App Messaging
setup by sending a test message:

1. In the Firebase console, open [In-App Messaging](https://console.firebase.google.com/project/_/inappmessaging/).
1. Click **New Campaign**.
1. In the {{name_appmanager}}, open [Messaging](https://console.firebase.google.com/project/_/messaging/).
1. If this is your first campaign, click **Create your first campaign**.
1. Select **Firebase In-App messages** and click **Create**.
1. Otherwise, on the **Campaigns** tab, click **New campaign**.
1. Select **In-App Messaging**.
1. Enter a **Title** for your first message.
1. Click **Test on your Device**
1. Enter your app's Firebase installation ID in the
Expand Down
4 changes: 4 additions & 0 deletions packages/_flutterfire_internals/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.7

- Update a dependency to the latest release.

## 1.0.6

- Update a dependency to the latest release.
Expand Down
6 changes: 3 additions & 3 deletions packages/_flutterfire_internals/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: _flutterfire_internals
description: A package hosting Dart code shared between FlutterFire plugins.
homepage: https://firebase.google.com/docs/firestore
repository: https://github.com/firebase/flutterfire/tree/master/packages/_flutterfire_internals
version: 1.0.6
version: 1.0.7

environment:
sdk: '>=2.16.0 <3.0.0'
flutter: '>=1.12.13+hotfix.5'

dependencies:
cloud_firestore_platform_interface: ^5.8.3
cloud_firestore_web: ^3.0.3
cloud_firestore_platform_interface: ^5.8.4
cloud_firestore_web: ^3.0.4
collection: ^1.0.0
firebase_core: ^2.1.1
firebase_core_platform_interface: ^4.5.2
Expand Down
4 changes: 4 additions & 0 deletions packages/cloud_firestore/cloud_firestore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.0.4

- **FIX**: fix aggregated count to use the current query and not only the collection on Web ([#9824](https://github.com/firebase/flutterfire/issues/9824)). ([ada39355](https://github.com/firebase/flutterfire/commit/ada39355722e316217934ad8cf1dfa789e47f058))

## 4.0.3

- **REFACTOR**: add `verify` to `QueryPlatform` and change internal `verifyToken` API to `verify` ([#9711](https://github.com/firebase/flutterfire/issues/9711)). ([c99a842f](https://github.com/firebase/flutterfire/commit/c99a842f3e3f5f10246e73f51530cc58c42b49a3))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class SnapshotMetadata {
///
/// If you called [DocumentReference.snapshots] or [Query.snapshots] with
/// `includeMetadataChanges` parameter set to `true` you will receive another
/// snapshot with `isFomCache` equal to `false` once the client has received
/// snapshot with `isFromCache` equal to `false` once the client has received
/// up-to-date data from the backend.
bool get isFromCache => _delegate.isFromCache;
}
6 changes: 3 additions & 3 deletions packages/cloud_firestore/cloud_firestore/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description:
live synchronization and offline support on Android and iOS.
homepage: https://firebase.google.com/docs/firestore
repository: https://github.com/firebase/flutterfire/tree/master/packages/cloud_firestore/cloud_firestore
version: 4.0.3
version: 4.0.4

false_secrets:
- example/**
Expand All @@ -15,8 +15,8 @@ environment:
flutter: ">=1.12.13+hotfix.5"

dependencies:
cloud_firestore_platform_interface: ^5.8.3
cloud_firestore_web: ^3.0.3
cloud_firestore_platform_interface: ^5.8.4
cloud_firestore_web: ^3.0.4
collection: ^1.0.0
firebase_core: ^2.1.1
firebase_core_platform_interface: ^4.5.2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 5.8.4

- **FIX**: fix aggregated count to use the current query and not only the collection on Web ([#9824](https://github.com/firebase/flutterfire/issues/9824)). ([ada39355](https://github.com/firebase/flutterfire/commit/ada39355722e316217934ad8cf1dfa789e47f058))

## 5.8.3

- **REFACTOR**: add `verify` to `QueryPlatform` and change internal `verifyToken` API to `verify` ([#9711](https://github.com/firebase/flutterfire/issues/9711)). ([c99a842f](https://github.com/firebase/flutterfire/commit/c99a842f3e3f5f10246e73f51530cc58c42b49a3))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: cloud_firestore_platform_interface
description: A common platform interface for the cloud_firestore plugin.
version: 5.8.3
version: 5.8.4
homepage: https://github.com/firebase/flutterfire/tree/master/packages/cloud_firestore/cloud_firestore_platform_interface
repository: https://github.com/firebase/flutterfire/tree/master/packages/cloud_firestore/cloud_firestore_platform_interface

Expand All @@ -9,7 +9,7 @@ environment:
flutter: ">=1.9.1+hotfix.5"

dependencies:
_flutterfire_internals: ^1.0.6
_flutterfire_internals: ^1.0.7
collection: ^1.15.0
firebase_core: ^2.1.1
flutter:
Expand Down
4 changes: 4 additions & 0 deletions packages/cloud_firestore/cloud_firestore_web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.0.4

- **FIX**: fix aggregated count to use the current query and not only the collection on Web ([#9824](https://github.com/firebase/flutterfire/issues/9824)). ([ada39355](https://github.com/firebase/flutterfire/commit/ada39355722e316217934ad8cf1dfa789e47f058))

## 3.0.3

- Update a dependency to the latest release.
Expand Down
6 changes: 3 additions & 3 deletions packages/cloud_firestore/cloud_firestore_web/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ description: The web implementation of cloud_firestore
homepage: https://github.com/firebase/flutterfire/tree/master/packages/cloud_firestore/cloud_firestore_web
repository: https://github.com/firebase/flutterfire/tree/master/packages/cloud_firestore/cloud_firestore_web

version: 3.0.3
version: 3.0.4

environment:
sdk: ">=2.16.0 <3.0.0"
flutter: ">=1.20.0"

dependencies:
_flutterfire_internals: ^1.0.6
cloud_firestore_platform_interface: ^5.8.3
_flutterfire_internals: ^1.0.7
cloud_firestore_platform_interface: ^5.8.4
collection: ^1.0.0
firebase_core: ^2.1.1
firebase_core_web: ^2.0.1
Expand Down
4 changes: 4 additions & 0 deletions packages/cloud_firestore_odm/cloud_firestore_odm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.0-dev.39

- Update a dependency to the latest release.

## 1.0.0-dev.38

- Update a dependency to the latest release.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ dev_dependencies:
flutter_test:
sdk: flutter
freezed: ^2.0.0
http: ^0.13.5
integration_test:
sdk: flutter
http: ^0.13.5
json_serializable: ^6.3.0
mockito: ^5.0.0

Expand Down
4 changes: 2 additions & 2 deletions packages/cloud_firestore_odm/cloud_firestore_odm/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: cloud_firestore_odm
description: An ODM for Firebase Cloud Firestore (cloud_firestore).
homepage: https://github.com/firebase/flutterfire/tree/master/packages/cloud_firestore_odm
repository: https://github.com/firebase/flutterfire/tree/master/packages/cloud_firestore_odm/cloud_firestore_odm
version: 1.0.0-dev.38
version: 1.0.0-dev.39

false_secrets:
- example/**
Expand All @@ -11,7 +11,7 @@ environment:
sdk: ">=2.17.0 <3.0.0"

dependencies:
cloud_firestore: ^4.0.3
cloud_firestore: ^4.0.4
flutter:
sdk: flutter
json_annotation: ^4.5.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.0-dev.39

- **FIX**: Upgrade analyzer version. ([#9828](https://github.com/firebase/flutterfire/issues/9828)). ([b7f5887d](https://github.com/firebase/flutterfire/commit/b7f5887d76ba11de5041f39d2bb5fdcb8aec288d))

## 1.0.0-dev.38

- Update a dependency to the latest release.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ environment:
sdk: ">=2.16.0 <3.0.0"

dependencies:
cloud_firestore: ^4.0.3
cloud_firestore: ^4.0.4
cloud_firestore_odm:
path: ../../cloud_firestore_odm
flutter:
Expand Down

0 comments on commit b9a2533

Please sign in to comment.