Skip to content

Commit 7f180c7

Browse files
committed
Add note about beta channel
1 parent 15f4b6d commit 7f180c7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

website/docs/introduction/getting_started.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,20 @@ or on [Zapp](https://zapp.run/new):
3131

3232
Riverpod comes as a main "riverpod" package that’s self-sufficient, complemented by optional packages for using code generation (<Link documentID="concepts/about_code_generation" />) and hooks (<Link documentID="concepts/about_hooks" />).
3333

34+
:::caution
35+
For the sake of being compatible with the latest [json_serializable](https://pub.dev/packages/json_serializable) package, some Riverpod packages
36+
are currently only compatible with Flutter's beta channel or later.
37+
38+
If `pub get` is failing due to version solving issues, consider switching to the beta channel by running:
39+
40+
```sh
41+
flutter channel beta
42+
```
43+
44+
Or consider downgrading Riverpod to `<3.1.0`.
45+
:::
46+
47+
3448
Once you know what package(s) you want to install, proceed to add the dependency to your app in a single line like this:
3549

3650
<Tabs

0 commit comments

Comments
 (0)