Closed RemigijusD closed 1 year ago
I am having same issue. Please what is the solution?
same issue with ios release build
using: agora_uikit: ^1.3.3
error: ../../../.pub-cache/hosted/pub.dev/agora_uikit-1.3.3/lib/controllers/rtm_client_event_handler.dart:76:7: Error: A value of type 'Null Function(LocalInvitation)' can't be assigned to a variable of type 'dynamic Function(LocalInvitation, String)?'.
Looks like it was expecting a string for these two methods, I did fork it and was able to build now but there are some deprecated methods
+1 on same issue. Could you help take a look? @tadaspetra
We're looking into this. Will push an update soon!
We're looking into this. Will push an update soon!
Thanks @tadaspetra , looking forward to it, ačiū!
any updates on this?
It's being tracked in #138
New version has been released. Version 1.3.4
This should solve the problem. Please reopen if it doesn'
So 1.3.4 does not resolve the issue because you've now moved to http 1.0.0. Why ? From one issue to another. guys you can't do this, this is bad programming practice. http 1.0.0 is very new and most libs don't use it yet. Its causing issues with my other packages that are not yet compatible with http 1.0.0.
PLease revert the http 1.0.0 upgrade and fix the bug. Its much wiser moving to http 1.0 with agora_uikit 2.0.0 instead of 1.3.4
Version 1.3.5 has just been released with a wider version of http
So 1.3.4 does not resolve the issue because you've now moved to http 1.0.0. Why ? From one issue to another. guys you can't do this, this is bad programming practice. http 1.0.0 is very new and most libs don't use it yet. Its causing issues with my other packages that are not yet compatible with http 1.0.0.
PLease revert the http 1.0.0 upgrade and fix the bug. Its much wiser moving to http 1.0 with agora_uikit 2.0.0 instead of 1.3.4
While trying to run flutter build apk --release, the process finishes with a problem indicating that there might be an issue with agora rtm_client_event_handler.dart:76:7. I tried to resolve it changing build gradles and kotlin version, but with no success.
To reproduce the bug: have these in the pubspec.yaml: agora_uikit: ^1.3.3 permission_handler: ^10.2.0
try to run flutter build apk --release in the terminal.
Then it the console log output looks like this:
`Running Gradle task 'assembleRelease'...
/C:/Users/remig/AppData/Local/Pub/Cache/hosted/pub.dev/agora_uikit-1.3.3/lib/controllers/rtm_client_event_handler.dart:76:7: Error: A value of type 'Null Function(LocalInvitation)' can't be assigned to a variable of type 'dynamic Function(LocalInvitation, String)?'.
FAILURE: Build failed with an exception.
Where: Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1201
What went wrong: Execution failed for task ':app:compileFlutterBuildRelease'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 22s Running Gradle task 'assembleRelease'... 22.9s Gradle task assembleRelease failed with exit code 1`
Additional information: build gradle: classpath 'com.android.tools.build:gradle:7.1.2' wrapper distribution url: distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
Some help or guidance would be appreciated :)