arcticfox
arcticfox
Perhaps try adding the following configuration to `android/app/build.gradle`: ``` android { packagingOptions { pickFirst 'lib/**/libc++_shared.so' } } ```
Not yet supported
@nyanzi-ashraf You may need to provide more information, such as whether there is a useful error log in Xcode, the version of the Flutter SDK, the model of the iPhone,...
@yinshuwei 我感觉你可能还是没有理解Navigator2.0到底是怎么回事,建议这篇[博客](https://arcticfox.blog.csdn.net/article/details/120660992)可以再看两遍,体会体会。 简单说,Navigator2.0就是让你自己用List来管理页面栈,你想怎么管理怎么管理,一切取决于你自己,并没有任何限制! 你描述的情形下,为什么会报错呢?因为以下代码中用路径给页面设置了Key,这导致Key重复了 ``` return MaterialPage( child: child, key: Key(routeSettings.name!) as LocalKey, name: routeSettings.name, arguments: routeSettings.arguments, ); ``` 如果你希望相同页面可以重复生成,删除` key: Key(routeSettings.name!) as LocalKey,`这行即可,这只是我在demo里做的限制
仔细阅读代码,`_onPopPage`方法中`result`就是页面退出的返回值 ```dart bool _onPopPage(Route route, dynamic result) { if (!route.didPop(result)) return false; if (canPop()) { _pages.removeLast(); return true; } else { return false; } } ``` 至于如何将返回值交给调用者,可以自行设计。最简单的譬如将result保存为一个Future包装的成员变量,在push方法中返回其Future
@chinzorigts Bluetooth permissions do not need to be actively requested, maybe you can look [here](https://developer.android.com/reference/android/Manifest.permission#BLUETOOTH_ADMIN). You just need to configure in AndroidManifest.xml: ```xml ``` Android is weird, on some phones...
@linktohack I've skimmed through Fennel, it uses some standard library functions from Lua, but unfortunately, LuaDardo has not implemented the entire standard library of Lua.
@flymouse Try setting compileSdkVersion in your project to 34
This is not supported by the SDK and the flutter wrapper can't do anything about it.
有什么报错信息吗