You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
这个只能说是flutter_inappwebview并不适配FlutterBoost。如果要得到正确的结果,可以尝试的一种方案是在FlutterBoostFragment的容器Activity中自行把Activity收到的onActivityResult的结果转发给Registry或PluginBinding的onActivityResult。另一种方案修改InAppWebViewChromeClient中的跳转方式,使用FlutterBoostFragment的startActivityForResult进行跳转,或者使用Activity Result API做类似处理。
这个只能说是flutter_inappwebview并不适配FlutterBoost。如果要得到正确的结果,可以尝试的一种方案是在FlutterBoostFragment的容器Activity中自行把Activity收到的onActivityResult的结果转发给Registry或PluginBinding的onActivityResult。另一种方案修改InAppWebViewChromeClient中的跳转方式,使用FlutterBoostFragment的startActivityForResult进行跳转,或者使用Activity Result API做类似处理。
请描述遇到的问题,以及您所期望的正确的结果
Android端 FlutterBoostFragment 内使用flutter_inappwebview 加载h5页面 input标签 选择相册后无法回调
请说明如何操作会遇到上述问题
项目工程:Flutter boost下面的example工程 新增 flutter_inappwebview: 5.8.0
open flutter fragment page 新增一个FlutterBoostFragment 新增一个InAppWebViewExampleScreen 加载https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_file 弹出图片选择后选择图片后展示
使用FlutterBoostActivity 作为容器新增InAppWebViewExampleScreen 加载该h5页面可以。
请问是什么原因
在下面填入关键复现代码
复现的平台
Both
Flutter SDK版本
3.7.9
FlutterBoost版本
main主分支
是否延迟初始化FlutterBoost
No
解决方案
The text was updated successfully, but these errors were encountered: