making clion work and trying out a change in what the platform returns
This commit is contained in:
@@ -28,3 +28,4 @@ migrate_working_dir/
|
||||
.dart_tool/
|
||||
.packages
|
||||
build/
|
||||
cmake-build-*/
|
||||
|
||||
@@ -38,8 +38,7 @@ static void multimedia_plugin_handle_method_call(
|
||||
FlMethodResponse* get_platform_version() {
|
||||
struct utsname uname_data = {};
|
||||
uname(&uname_data);
|
||||
g_autofree gchar *version = g_strdup_printf("Linux %s", uname_data.version);
|
||||
g_autoptr(FlValue) result = fl_value_new_string(version);
|
||||
g_autoptr(FlValue) result = fl_value_new_string("helloworld");
|
||||
return FL_METHOD_RESPONSE(fl_method_success_response_new(result));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user