diff --git a/sdk/flutter/setup.mdx b/sdk/flutter/setup.mdx index 14e1fa426..7b811bb79 100644 --- a/sdk/flutter/setup.mdx +++ b/sdk/flutter/setup.mdx @@ -21,16 +21,11 @@ Minimum Requirement ### Add the CometChat Dependency -### Cloudsmith - -Add the Cloudsmith hosted repository and dependency to your `pubspec.yaml`: +Add the dependency to your `pubspec.yaml`: ```yaml dependencies: - cometchat_sdk: - hosted: - url: https://dart.cloudsmith.io/cometchat/cometchat/ - version: 5.0.0 + cometchat_sdk: ^5.0.0 ``` Then run: diff --git a/sdk/flutter/upgrading-from-v4-guide.mdx b/sdk/flutter/upgrading-from-v4-guide.mdx index 04728b860..c1b69bfc4 100644 --- a/sdk/flutter/upgrading-from-v4-guide.mdx +++ b/sdk/flutter/upgrading-from-v4-guide.mdx @@ -6,16 +6,11 @@ This guide helps you migrate your Flutter application from CometChat SDK v4 to v ## Installation -### Cloudsmith - -Add the Cloudsmith hosted repository and dependency to your `pubspec.yaml`: +Add the dependency to your `pubspec.yaml`: ```yaml dependencies: - cometchat_sdk: - hosted: - url: https://dart.cloudsmith.io/cometchat/cometchat/ - version: 5.0.0 + cometchat_sdk: ^5.0.0 ``` Then run: