forked from firebase/flutterfire
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update null-safety documentation & versions
- Loading branch information
Showing
8 changed files
with
1,626 additions
and
1,603 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,36 @@ | ||
--- | ||
id: nullsafety | ||
id: null-safety | ||
title: Null Safety | ||
--- | ||
|
||
Dart [Sound null safety](https://dart.dev/null-safety) is currently in beta. Some FlutterFire packages | ||
have preview versions of null safety implementations available to use. Please note, not all | ||
packages have been converted - we are working through them as quickly as possible. | ||
Dart [sound null safety](https://dart.dev/null-safety) is currently in beta, however; some FlutterFire packages | ||
have preview versions of null-safety implementations that are available to use. | ||
|
||
> At this time it is not possible to mix non-null safe and null safe versions of FlutterFire. | ||
The below table outlines the latest null-safe plugin versions: | ||
|
||
View the [GitHub discussion](https://github.com/FirebaseExtended/flutterfire/discussions/4182) for more information. | ||
|
||
The below table outlines the currently published and available null safe plugin versions: | ||
|
||
| Plugin | Version | | ||
| ---------------------: | ---------------------------------------: | | ||
| `firebase_core` | `^{{ plugins.firebase_core_ns }}` | | ||
| `cloud_firestore` | `^{{ plugins.cloud_firestore_ns }}` | | ||
| `firebase_auth` | `^{{ plugins.firebase_auth_ns }}` | | ||
| `cloud_functions` | `^{{ plugins.cloud_functions_ns }}` | | ||
| `firebase_crashlytics` | `^{{ plugins.firebase_crashlytics_ns }}` | | ||
| `firebase_core` | `^{{ plugins.firebase_core_ns }}` | | ||
| `firebase_crashlytics` | `^{{ plugins.firebase_crashlytics_ns }}` | | ||
| `firebase_messaging` | `^{{ plugins.firebase_messaging_ns }}` | | ||
| `cloud_functions` | `^{{ plugins.cloud_functions_ns }}` | | ||
|
||
--- | ||
|
||
### Using with other non-null-safe FlutterFire packages | ||
|
||
:::caution | ||
Mixing currently **published** null-safety FlutterFire packages alongside **published** non-nullsafety packages is not supported. | ||
::: | ||
|
||
Not all FlutterFire packages have null-safety versions available yet. If you need to use the null-safe packages alongside | ||
the non-null-safe packages then it's recommended you switch to sourcing your FlutterFire packages directly from the [main | ||
FlutterFire repository](https://github.com/FirebaseExtended/flutterfire) (rather than pub.dev) where the packages have | ||
compatible version constraints. | ||
|
||
--- | ||
|
||
To provide feedback on these versions or to see progress updates: see [this GitHub discussion](https://github.com/FirebaseExtended/flutterfire/discussions/4182). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.