Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A non-null value must be returned since the return type 'AdvanceInvitationState' doesn't allow null. #60

Open
sabir-ullah opened this issue Sep 5, 2024 · 4 comments

Comments

@sabir-ullah
Copy link

  1. This
  2. Than that
  3. Then

Images

Stacktrace/Logcat

@sabir-ullah sabir-ullah changed the title /C:/Users/PMYLS/AppData/Local/Pub/Cache/hosted/pub.dev/zego_uikit-2.22.2/lib/src/plugins/signaling/impl/core/advance_invitation_data.dart:15:33: Error: A non-null value must be returned since the return type 'AdvanceInvitationState' doesn't allow null. - 'AdvanceInvitationState' is from 'package:zego_uikit/src/plugins/signaling/impl/core/defines.dart' ('/C:/Users/PMYLS/AppData/Local/Pub/Cache/hosted/pub.dev/zego_uikit-2.22.2/lib/src/plugins/signaling/impl/core/defines.dart'). static AdvanceInvitationState fromSignalingPluginInvitationUserState( A non-null value must be returned since the return type 'AdvanceInvitationState' doesn't allow null. Sep 5, 2024
@sabir-ullah
Copy link
Author

Screenshot 2024-09-05 125510

@yoer
Copy link
Collaborator

yoer commented Sep 5, 2024

Please update to the latest version

@sabir-ullah
Copy link
Author

You are right but i have used many packages in the app also
If i update this package it will need to update the flutter sdk also
That will make an issue for the other packages also

@yoer
Copy link
Collaborator

yoer commented Sep 5, 2024

If you need to upgrade zego_uikit_prebuilt_call to support new features, then the corresponding other zego_ dependency packages will have corresponding changes(version update).

if you don't want to upgrade to the new version, you should use your current old version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants