bennyboer / bbb_app

Our attempt at a mobile app client for BigBlueButton services.
MIT License
101 stars 62 forks source link

The argument type 'String' can't be assigned to the parameter type 'Uri' #196

Closed MayankChopra12 closed 3 years ago

MayankChopra12 commented 3 years ago

Error - Uri' is from 'dart:core'. http.Response response = await http.get(url); FAILURE: Build failed with an exception.

description - this same error is coming in many files - (main_websocket.dart, start_view.dart, etc)

I am able to solve this error using Uri.parse(string argument) but after that more error is coming.

the error after resolving above error are as following - (A)-- error: FlutterForegroundPlugin() has private access in FlutterForegroundPlugin flutterEngine.getPlugins().add(new changjoopark.com.flutter_foreground_plugin.FlutterForegroundPlugin());

(B)-- Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

bennyboer commented 3 years ago

What Flutter version are you using? We're still at Flutter 1.22.6

MayankChopra12 commented 3 years ago

What Flutter version are you using? We're still at Flutter 1.22.6

What Flutter version are you using? We're still at Flutter 1.22.6

it is my mistake, I am using 2.2. 1, thanks for reply.

MayankChopra12 commented 3 years ago

Thanks , it works now