chat-uikit-flutter icon indicating copy to clipboard operation
chat-uikit-flutter copied to clipboard

update permission_handler and package_info_plus package dependency version

Open yfming93 opened this issue 1 year ago • 1 comments

Because tencent_cloud_chat_uikit >=2.1.0 depends on package_info_plus ^4.0.1 and app depends on package_info_plus ^8.0.0, tencent_cloud_chat_uikit >=2.1.0 is forbidden. So, because app depends on tencent_cloud_chat_uikit ^2.6.0+1, version solving failed.

You can try the following suggestion to make the pubspec resolve:

  • Consider downgrading your constraint on package_info_plus: flutter pub add package_info_plus:^4.2.0

Because tencent_cloud_chat_uikit >=2.0.0-preview.7 depends on permission_handler ^10.2.0 and app depends on permission_handler ^11.3.1, tencent_cloud_chat_uikit >=2.0.0-preview.7 is forbidden. So, because app depends on tencent_cloud_chat_uikit ^2.6.0+1, version solving failed.

虽然能 dependency_overrides 覆盖。但是还是请用最新版本。

yfming93 avatar Jun 12 '24 02:06 yfming93