flutter_win_webview
flutter_win_webview copied to clipboard
IsMap': is not a member of 'flutter::EncodableValue
Issue: I can't build using current Flutter dev channel version so I would like to know which Flutter's version your plugin can run successfully.
Flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel dev, 1.27.0-4.0.pre, on Microsoft Windows [Version 10.0.19042.804], locale en-G
B)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.6.2)
[√] Android Studio (version 4.1.0)
[√] IntelliJ IDEA Community Edition (version 2019.3)
[√] Connected device (3 available)
• No issues found!
On current version I'm encountering these exceptions:
\windows\flutter\ephemeral\.plugin_symlinks\webviewpopupauth\windows\webviewpopupauth_plugin.cpp(93,8): error C2039: 'IsMap': is not a member of 'flutter::EncodableValue'
\build\windows\plugins\webviewpopupauth\webviewpopupauth_plugin.vcxproj]
\windows\flutter\ephemeral\.plugin_symlinks\webviewpopupauth\windows\webviewpopupauth_plugin.cpp(93,8): error C2039: 'MapValue': is not a member of 'flutter::EncodableValue'
\build\windows\plugins\webviewpopupauth\webviewpopupauth_plugin.vcxproj]
\windows\flutter\ephemeral\.plugin_symlinks\webviewpopupauth\windows\webviewpopupauth_plugin.cpp(97,46): error C2039: 'MapValue': is not a member of 'flutter::EncodableValue'
\build\windows\plugins\webviewpopupauth\webviewpopupauth_plugin.vcxproj]
\windows\flutter\ephemeral\.plugin_symlinks\webviewpopupauth\windows\webviewpopupauth_plugin.cpp(98,16): error C3536: 'map': cannot be used before it is initialized
\build\windows\plugins\webviewpopupauth\webviewpopupauth_plugin.vcxproj]
\windows\flutter\ephemeral\.plugin_symlinks\webviewpopupauth\windows\webviewpopupauth_plugin.cpp(102,27): error C3536: 'url': cannot be used before it is initialized
\build\windows\plugins\webviewpopupauth\webviewpopupauth_plugin.vcxproj]
\windows\flutter\ephemeral\.plugin_symlinks\webviewpopupauth\windows\webviewpopupauth_plugin.cpp(104,25): error C3536: 'hidden': cannot be used before it is initialized
\build\windows\plugins\webviewpopupauth\webviewpopupauth_plugin.vcxproj]
\windows\flutter\ephemeral\.plugin_symlinks\webviewpopupauth\windows\webviewpopupauth_plugin.cpp(104,39): error C3536: 'clearCookies': cannot be used before it is initialized
build\windows\plugins\webviewpopupauth\webviewpopupauth_plugin.vcxproj]
\windows\flutter\ephemeral\.plugin_symlinks\webviewpopupauth\windows\webviewpopupauth_plugin.cpp(104,58): error C2664: 'void `anonymous-namespace'::WebviewPopupauthPlugin::WebviewInit(std::string,bool,bool,std::unique_ptr<flutter::MethodResult<T>,std::default_delete<flutter::MethodResult<T>>>)': cannot convert argument 1 from 'int' to 'std::string'
\build\windows\plugins\webviewpopupauth\webviewpopupauth_plugin.vcxproj]
Exception: Build process failed.
Hey..did u manage to solve this
I am facing the same issue
here is my flutter doctor -v
[√] Flutter (Channel stable, 2.5.1, on Microsoft Windows [Version 10.0.19042.1237], locale en-US) • Flutter version 2.5.1 at C:\Users\ADMIN\fvm\versions\stable • Upstream repository https://github.com/flutter/flutter.git • Framework revision ffb2ecea52 (3 weeks ago), 2021-09-17 15:26:33 -0400 • Engine revision b3af521a05 • Dart version 2.14.2