Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Reuben Turner <[email protected]>
This commit is contained in:
co-authored by
Reuben Turner
parent
695760637b
commit
3c394362cc
@@ -252,7 +252,7 @@ dependencies:
|
|||||||
Upon doing this, all breaking changes from the package will take immediate effect. Here are steps to
|
Upon doing this, all breaking changes from the package will take immediate effect. Here are steps to
|
||||||
remedy the issues:
|
remedy the issues:
|
||||||
|
|
||||||
1) Change over the constructor of `connectUserWithProvider()` to the new format.
|
1) Change over the constructor of `connectUserWithProvider()` to the new format which has `tokenProvider` as a required param.
|
||||||
|
|
||||||
2) We added more nuance to `disconnectUser()` by adding two new methods - one to close the connection
|
2) We added more nuance to `disconnectUser()` by adding two new methods - one to close the connection
|
||||||
and the other to disconnect the user. This allows more fine-grained control of disconnection.
|
and the other to disconnect the user. This allows more fine-grained control of disconnection.
|
||||||
|
|||||||
Reference in New Issue
Block a user