New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
无法获取返回的参数 #1019
Comments
我看了一下你们的源码实现,发现问题如下。 |
还有一个问题 |
我只想知道,我在使用flutter-boost的情况下, |
原生在application注册的时候不要使用匿名内部类 |
这个匿名内部类是指什么?我没太看懂这个回答 |
// FlutterBoost.instance().currentActivity().startActivity(intent);
|
额,我想问的是iOS端的处理。其次,这些安卓的类,我并没有在iOS这边找到相应的方法 |
复现我说的问题很容易,example里面,回传参数的那个跳转,把 |
您说的example里面的例子是这个吗? @yownyang void _navigateAndDisplaySelection(BuildContext context) async {
final result =
await BoostNavigator.of().push('selectionScreen', withContainer: true);
Scaffold.of(context)
..removeCurrentSnackBar()
..showSnackBar(SnackBar(content: Text("$result")));
}
|
我说的例子是
pop 的代码在return_data这个文件.
当 |
这个您可以试试v3.0-hotfixes分支,应该是没问题的 |
目前我项目中引用的就是最新版本,事实并不行
|
我建议你们重新理一下你们iOS端的源码,flutter端生成的uniqueID客户端根本就没有使用
在
做出这种修改之后就可以正常的获取到回调的数据了,从源码和事实来看,你们flutter端生产的uniqueID客户端并没有使用,你们也可以打印下你们flutter端的_pendingResult字典 |
2021-04-13.16.02.50_1618301003648311.mp4从你们官方下载的code,就改了一个 |
Android端也有同样的问题 |
这次commit已经修复,请尝试一下 v3.0-beta.4 |
调用代码
如果
withContainer
参数为true,则then((value) => print($value))
没有运行。如果
withContainer
参数为false,则then((value) => print($value))
正常运行。The text was updated successfully, but these errors were encountered: