flutter_boost icon indicating copy to clipboard operation
flutter_boost copied to clipboard

我们的项目是纯flutter写的,部分公共需要原生实现,这种的就没法用 flutter_boost 吗 ,请问 ???

Open ke112 opened this issue 2 years ago • 2 comments

以及需要接入的flutter module, 这个地方注意,flutter一定是module,而不是工程项目

我们的项目是纯flutter写的,部分公共需要原生实现,这种的就没法用 flutter_boost 吗 ,请问 ???

[GeneratedPluginRegistrant registerWithRegistry:self];
FlutterViewController *controller = (FlutterViewController*)self.window.rootViewController;
UINavigationController *navi = [[UINavigationController alloc] initWithRootViewController:controller];
[navi setNavigationBarHidden:YES];
self.window.rootViewController = navi;

delegate.navigationController = navi;

这样写的代码,就是无法从flutter跳到原生.请指教.

ke112 avatar Mar 23 '22 06:03 ke112

我只是准备评估一下公司项目集成flutterboost的可行性,先来看一下issuel列表,所以我说的方案,可能不是正确方案,毕竟我也还没正式使用flutter boost,但是我做过纯flutter项目。我的想法是这样的:是不是只需要创建两个空壳原生项目+一个flutter module,然后把你的纯flutter项目的lib拷到flutter module下?感觉这样好像可行?

dujianchi avatar Apr 13 '22 09:04 dujianchi

https://github.com/alibaba/flutter_boost/issues/1579

zmtzawqlp avatar Aug 19 '22 07:08 zmtzawqlp