From 3c394362cce79f0afc2ff9d42cafdebf9f25b8c7 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Fri, 16 Jul 2021 20:43:46 +0530 Subject: [PATCH] Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx Co-authored-by: Reuben Turner --- docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx b/docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx index 582617ff..b9ed7609 100644 --- a/docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx +++ b/docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx @@ -252,7 +252,7 @@ dependencies: Upon doing this, all breaking changes from the package will take immediate effect. Here are steps to 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 and the other to disconnect the user. This allows more fine-grained control of disconnection.