ZEGOCLOUD / zego_uikit_prebuilt_call_flutter

MIT License
16 stars 13 forks source link

dependency conflict #16

Closed manumathew17 closed 1 year ago

manumathew17 commented 1 year ago

Because zego_uikit_prebuilt_call 3.10.5 depends on http ^0.13.4 and no versions of zego_uikit_prebuilt_call match >3.10.5 <4.0.0, zego_uikit_prebuilt_call ^3.10.5 requires http ^0.13.4. So, because my app depends on both http ^1.1.0 and zego_uikit_prebuilt_call ^3.10.5, version solving failed.

why are you using outdated packages?

yoer commented 1 year ago

you can update latest version v3.10.6 and try again

manumathew17 commented 1 year ago

still getting the same error Resolving dependencies... Because zego_uikit_prebuilt_call >=3.10.5 depends on audioplayers ^4.1.0 which depends on http ^0.13.5, zego_uikit_prebuilt_call >=3.10.5 requires http ^0.13.5. So, because my app depends on both http ^1.1.0 and zego_uikit_prebuilt_call ^3.10.5, version solving failed. Process finished with exit code 1

dependencies are cupertino_icons: ^1.0.2 provider: ^6.0.5 sizer: ^2.0.15 shared_preferences: ^2.2.0 google_fonts: ^4.0.4 go_router: ^9.0.3 http: ^1.1.0 email_validator: ^2.1.17 zego_uikit_prebuilt_call: ^3.10.5 zego_uikit_signaling_plugin: ^2.2.0

yoer commented 1 year ago

3.10.6 had remove http package

yoer commented 1 year ago

execute 'flutter pub upgrade', and check the 'zego_uikit_prebuilt_call' version

yoer commented 1 year ago

Have you added camera and microphone permissions to your app's AndroidManifest.xml or Info.plist? Have you granted the permissions?

You can refer to our official website tutorial or run our demo for guidance.