Comments (9)
能问一下如何操作吗 看了你们的example还是不会初始化容器 方便结合代码具体说一下吗
from flutter_boost.
Flutter 启动时间是固定的,可以在App启动的时候马上初始化,但是会导致启动时间加长。这里需要做一个折中的考虑。
from flutter_boost.
第一用startActivity打开flutter要3秒左右 之后打开速度和原生一样快的,请问一下 如何在APP打开时就初始化嗄?
from flutter_boost.
直接初始化一个容器作为Home就行了
from flutter_boost.
from flutter_boost.
app启动的时候 这样做,注意要放在主线程,所以最好启动结束了,再初始化,嘿嘿
FlutterNativeRouter *router = [FlutterNativeRouter sharedRouter];
[FlutterBoostPlugin.sharedInstance startFlutterWithPlatform:router
onStart:^(FlutterViewController *fvc) {
}];
from flutter_boost.
android 第一次加载flutter的界面很慢 缓冲大概3-5秒 之后打开就快了 有没有什么方式在打开APP时就分配flutter资源 使得第一次打开flutter界面更快
Debug模式的问题,在release模式中大概1秒钟
from flutter_boost.
iOS混编flutter 每次原生页面push进入flutter页面也是很慢,请教一下,这个有没有优化方案?
from flutter_boost.
iOS混编flutter 每次原生页面push进入flutter页面也是很慢,请教一下,这个有没有优化方案?
你是不是debug模式下的 建议打包后测试 一般debug模式运行都会比较慢 打包后性能会提升很多
from flutter_boost.
Related Issues (20)
- 鸿蒙端使用FlutterBoost的问题
- [Bug]: iOS原生跳转flutter页面,每次都是一个新的Flutter页,且来回进入和退出,第一个页面一直存在
- [Bug]: 我原本是纯flutter工程,接入flutter_boost之后,通信就出现了一次 HOT 1
- [Bug]: iOS 使用PlatformView的页面弹出新的透明弹窗,PlatformView消失 HOT 1
- [Bug]: A容器内开启1,2两个flutter页面,跳转到B容器开启flutter页面3,然后需要要关闭A容器内的2页面,会直接变成关闭A容器。 HOT 3
- 请问下如何在iOS端使用代码正确关闭flutter页面而不会出现问题呢? HOT 1
- [Bug]: 启动不了 HOT 9
- [Bug]: 4.6.2分支接入鸿蒙项目报错,求指导 HOT 3
- 跑ohos-flutter-add2app Demo有报错,求解 HOT 1
- [Bug]: Example of version 4.4.2 can't compile HOT 1
- [Bug]: FlutterBoostFragment.onCreateView(FlutterBoostFragment.java:102) HOT 1
- 关于sendEventToNative方法返回值问题 HOT 2
- [Bug]: OHOS 鸿蒙平台 video_player 问题
- [Bug]: 集成的bugly统计到-[FlutterBoostPlugin sendEventToNativeParams:error:].cold.1 (FlutterBoostPlugin.m:0)
- [Bug]: pkg_modules/flutter_boost/index', please check the request path.'/data/storage/el1/bundle/phone/ets/modules.abc
- [Bug]: 返回键问题
- [Bug]: 在DevEco-Studio Beta3和Beta5上运行flutter_boost的demo报错
- [Bug]: bool isFlutterPage(String name) 优化
- [Bug]: 鸿蒙NEXT Bate5返回键无法退出应用 HOT 1
- [Bug]: Android平台:viewpager2中加载flutterboostFragment,第一次没有展示出来黑屏,flutter代码是执行了的,再次重建会出来,是因为预加载的问题吗 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_boost.