When develop Image_Picker Plugin for Windows.
pickImage work fine but pickVideo has the following error message
go-flutter: recovered from panic while handling call for method 'pickVideo' on channel 'plugins.flutter.io/image_picker': interface conversion: interface {} is map[interface {}]interface {}, not map[string]interface {}
goroutine 57 [running]:
Modify func handlePickVideo of plugin.go
argsMap := arguments.(map[string]interface{})
to
argsMap := arguments.(map[interface{}]interface{})
can fix problem
Thanks.
Thanks for the bug-report!
Fix available in image_picker/v0.1.1
Most helpful comment
Thanks for the bug-report!
Fix available in
image_picker/v0.1.1