ZEGOCLOUD / zego_uikit_prebuilt_call_flutter

MIT License
16 stars 15 forks source link

Cannot run project using zego_uikit_prebuilt_call: ^3.15.2 #38

Closed feelfireff1 closed 4 months ago

feelfireff1 commented 7 months ago

Flutter 3.7.6 • channel stable • https://github.com/flutter/flutter.git Framework • revision 12cb4eb7a0 (1 year, 1 month ago) • 2023-03-01 10:29:26 -0800 Engine • revision ada363ee93 Tools • Dart 2.19.3 • DevTools 2.20.1

ERROR Message on running project

[ZEGO][PLUGIN] Download native dependency
[ZEGO][PLUGIN] Native version: 3.13.0.37242
[ZEGO][PLUGIN] The specified version SDK already exists!
directory/Pub/Cache/hosted/pub.dev/zego_uikit-2.14.0/lib/src/plugins/signaling/defines.dart:9:8: Error: Type 'ZegoSignalingPluginNotificationConfig' not found.
    on ZegoSignalingPluginNotificationConfig {
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
directory/Pub/Cache/hosted/pub.dev/zego_uikit-2.14.0/lib/src/plugins/signaling/impl/service/notification_service.dart:39:5: Error: Type 'ZegoSignalingPluginOutgoingNotificationConfig' not found.
    ZegoSignalingPluginOutgoingNotificationConfig config,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
directory/Pub/Cache/hosted/pub.dev/zego_uikit-2.14.0/lib/src/plugins/signaling/impl/service/notification_service.dart:45:5: Error: Type 'ZegoSignalingPluginOutgoingNotificationChannelConfig' not found.
    ZegoSignalingPluginOutgoingNotificationChannelConfig config,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
directory/Pub/Cache/hosted/pub.dev/zego_uikit-2.14.0/lib/src/plugins/signaling/impl/core/invitation_data.dart:155:5: Error: Type 'ZegoSignalingPluginNotificationConfig' not found.
    ZegoSignalingPluginNotificationConfig? notificationConfig,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
directory/Pub/Cache/hosted/pub.dev/zego_uikit-2.14.0/lib/src/plugins/signaling/impl/core/notification_data.dart:48:5: Error: Type 'ZegoSignalingPluginOutgoingNotificationConfig' not found.
    ZegoSignalingPluginOutgoingNotificationConfig config,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
directory/Pub/Cache/hosted/pub.dev/zego_uikit-2.14.0/lib/src/plugins/signaling/impl/core/notification_data.dart:54:5: Error: Type 'ZegoSignalingPluginOutgoingNotificationChannelConfig' not found.
    ZegoSignalingPluginOutgoingNotificationChannelConfig config,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
directory/Pub/Cache/hosted/pub.dev/zego_uikit-2.14.0/lib/src/plugins/signaling/impl/service/invitation_plugin_service.dart:46:5: Error: 'ZegoSignalingPluginNotificationConfig' isn't a type.
    ZegoSignalingPluginNotificationConfig? pluginNotificationConfig;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

package i used :

zego_uikit_prebuilt_call: ^3.15.2

whats the solution of this ?

yoer commented 7 months ago

plz run flutter pub upgrade

yoer commented 7 months ago

now the big version of call is 4.0+ all dependency need upgrade together

feelfireff1 commented 7 months ago

plz run flutter pub upgrade

now the big version of call is 4.0+ all dependency need upgrade together

so from which version of zego_uikit_prebuilt_call can be used start from what version ?

feelfireff1 commented 7 months ago

so i need to upgrade flutter sdk + dart ? and other depedency to make fit higher version of zego ?

yoer commented 6 months ago

yes, execute flutter pub upgrade

yoer commented 4 months ago

no reply received for too long, closed