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

[BUG] No named parameter with the name onMediaDeviceChanged - iOS BUILD FAILED #114

Closed
yahyamokaied opened this issue Dec 23, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@yahyamokaied
Copy link

yahyamokaied commented Dec 23, 2022

Describe the bug
After upgrading to Flutter 3.3.10 • channel stable
started getting this error :
Error: No named parameter with the name 'onMediaDeviceChanged'

To Reproduce
Steps to reproduce the behavior:
flutter run

Expected behavior
iOS build succefully

Screenshots
Screenshot 2022-12-23 at 16 06 10

Screenshot 2022-12-23 at 16 09 54

Screenshot 2022-12-23 at 16 10 12

image

Desktop (please complete the following information):

  • OS: iOS

Smartphone (please complete the following information):

  • Device: iPhone Pro Max 16.2 - Simulator

Additional context
After upgrading Flutter start getting this error

@yahyamokaied yahyamokaied added the bug Something isn't working label Dec 23, 2022
@caioctoliveira
Copy link

caioctoliveira commented Dec 24, 2022

Hello guys,

I have the same issue now and is not related with flutter version. The problem is in pubspec.yaml, the agora_rtc_engine package launch 6.1.0 version 4 days ago, then this version broken the UI Kit because the dependency is configured to update package from latest minor version. Maybe change the pubspec.yaml to use specific 6.0.0 version of agora_rtc_engine is necessary.

I changed file on my local cache solved the issue.

@anushkapubudu
Copy link

I'm also facing to this issue. any solution?

@amalnathm7
Copy link

I'm also facing this issue. Please provide a solution or update the plugin to support the latest version of agora_rtc_engine.

@maxxfrazer
Copy link
Contributor

@yahyamokaied @caioctoliveira @anushkapubudu @amalnathm7 thanks for the issue and responses! Huge apologies for this issue caused by a breaking change in the dependency.

We've updated this package to work with 6.1.0, and tightened the engines it works with to allow for any 6.1.x version. See v1.1.1.

If you wish to keep using 1.1.0 of the UI Kit, please update the pubspec.yaml for your projects to specify 6.0.0 of agora_rtc_engine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants