All Projects → Natoto → flutterOnExistApp

Natoto / flutterOnExistApp

Licence: other
现有iOS工程中引入flutter, 支持插件扩展(见multiflutter分支) 解决官方内存泄漏问题,master分支最新的engine修复版

Programming Languages

Objective-C++
1391 projects
objective c
16641 projects - #2 most used programming language
dart
5743 projects
C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to flutterOnExistApp

Injectioniii
Re-write of Injection for Xcode in (mostly) Swift
Stars: ✭ 2,680 (+4222.58%)
Mutual labels:  hot-reload
universal-hot-reload
Hot reload client and server webpack bundles for the ultimate development experience
Stars: ✭ 79 (+27.42%)
Mutual labels:  hot-reload
halogen-parcel-hot-reload-demo
An example of one way you could use hot reloading with Halogen.
Stars: ✭ 17 (-72.58%)
Mutual labels:  hot-reload
Systemjs Hot Reloader
reloads your modules as needed so that you can have satisfyingly fast feedback loop when developing your app
Stars: ✭ 215 (+246.77%)
Mutual labels:  hot-reload
dwoole
⚙️ Docker image for Swoole apps with Composer, auto-restart on development and a production-ready version.
Stars: ✭ 32 (-48.39%)
Mutual labels:  hot-reload
easywebpack-react
React Webpack Building Solution, Support React Server Side Render (SSR), Client Side Render (CSR) Building
Stars: ✭ 14 (-77.42%)
Mutual labels:  hot-reload
React Redux Universal Boilerplate
An Universal ReactJS/Redux Boilerplate
Stars: ✭ 165 (+166.13%)
Mutual labels:  hot-reload
easywebpack-vue
Vue Webpack Building Solution, Support Vue Server Side Render (SSR), Client Side Render (CSR) Building
Stars: ✭ 29 (-53.23%)
Mutual labels:  hot-reload
ultimate-hot-boilerplate
🚀 node-react universal app boilerplate with everything on hot reload, SSR, GraphQL, Flow included
Stars: ✭ 35 (-43.55%)
Mutual labels:  hot-reload
justuse
Just use() code from anywhere - a functional import alternative with advanced features like inline version checks, autoreload, module globals injection before import and more.
Stars: ✭ 49 (-20.97%)
Mutual labels:  hot-reload
React Pwa
An upgradable boilerplate for Progressive web applications (PWA) with server side rendering, build with SEO in mind and achieving max page speed and optimized user experience.
Stars: ✭ 2,433 (+3824.19%)
Mutual labels:  hot-reload
React Redux Typescript Jspm Starter
Futuristic, bundle-free, development environment for building Component-Driven SPA with React, Redux and TypeScript - powered by JSPM (SystemJS & Rollup with tree-shaking)
Stars: ✭ 238 (+283.87%)
Mutual labels:  hot-reload
fish
fish 是一个方便开发go程序的工具。 监视文件修改,然后编译go程序并自动运行。
Stars: ✭ 22 (-64.52%)
Mutual labels:  hot-reload
Chimera flutter code push
Official Git of flutter code-push made by Chimera inc. If you want to get more info or seek for biz corporation, you can contact [email protected]
Stars: ✭ 193 (+211.29%)
Mutual labels:  hot-reload
idle
Idle is an asynchronous and hot-reloadable C++ dynamic component framework
Stars: ✭ 169 (+172.58%)
Mutual labels:  hot-reload
Rizla
👀 Rizla builds, runs and monitors your Go Applications with ease. See https://github.com/kataras/iris-cli for Iris users.
Stars: ✭ 166 (+167.74%)
Mutual labels:  hot-reload
vue-hot-reload-loader
Enable hot module replacement (HMR) on your Vue components
Stars: ✭ 20 (-67.74%)
Mutual labels:  hot-reload
liteflow
Small but powerful rules engine,轻量强大优雅的规则引擎
Stars: ✭ 1,119 (+1704.84%)
Mutual labels:  hot-reload
minimal-hapi-react-webpack
Minimal Hapi + React + Webpack + HMR (hot module reloading) Sandbox
Stars: ✭ 55 (-11.29%)
Mutual labels:  hot-reload
vue-ssr-example
Ready for use Example for Vue + Vuex + TS + SSR + Jest
Stars: ✭ 23 (-62.9%)
Mutual labels:  hot-reload

flutterOnExistApp 现有工程中添加flutter

##热更方案,实现插件化demo (需要flutter 1.0),见multiflutter分支

##修复版本产物 下载地址 https://github.com/Natoto/fixFlutterEngine

进度实时更新qq群聊【flutter移动开发】:217429001

flutter添加到iOS主工程例子

更新日志:

  • 5.21 1.5.4 hot-fix版内存引用修复
  • 5.21 1.2 demo更新使用前执行 pre_ci_build.sh
  • 3.4 解决1.2 flutter 内存问题
  • 12.28 更新1.0版本内存问题,产物在 https://github.com/Natoto/fixFlutterEngine
  • 11.28 更新了methodchannel的循环引用
  • 最新版本0.11.9官方号称解决了循环引用,然而在多插件情况下,还是有泄漏

流程

  1. 下载对应的flutter版本 flutter.io, 1.5的flutter对应1.5的engine

  2. 在现有iOS工程基础上添加flutter,参考本demo例子

  3. 将编译产物Flutter.framework.zip, 在工程Resource目录下

  4. 在执行build脚本之后,添加自己的脚本,将Flutter.framework.zip解压出来,并替换掉之前编译的产物Flutter.framework

  5. 重新执行flutter packages get flutter build ios --debug

  6. 使用真机调试


为什么要替换Flutter.framework,本版本解决了以下问题

  • 官方版本存在内存泄漏问题,打开了就不支持释放
  • 不支持动态化方案
  • 不支持动态下发脚本代码(flutter ios热更新)

flutter engine构建产物下载地址

https://github.com/Natoto/fixFlutterEngine

教程见 《手把手教你编译Flutter engine》

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].