Flutter: 1 person, 100 days spare time, look, what issue?

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/hekaiyou/article/details/93622864

Project Introduction

This a Amoy electricity supplier APP, APP has the same type of pink elephants live, peanut diary, good province, 800 fold, etc., basically a conventional electric provider APP that some of the project have been. At present, the degree of completion of the project is 80%, the remaining 20% ​​of the project because there is no back support, it can not be completed.

Le Why do this thing, because as an early researcher Flutter, there are a lot of people have asked me, Flutter commercial projects now can you do? Existing native access Flutter project do not fly? Flutter will not have many functions can not be achieved? ......

At that time I have never done the eight children of commercial projects, so do not say you can do basically vague answered, even as did not see the information, there is no reply. So I eagerly want to do a commercial project, the actual use Flutter develop commercial projects, identify problems in the development process, with the actual development experience to answer similar questions.

Coincidentally, about 100 days ago, just to have friends wanted me to develop a part-time Taobao electricity supplier APP, just gave me this opportunity, so I began to develop, and record the development of the project since the beginning of how long it took.

Here Insert Picture Description

It can be seen when the project is almost completed, a total of 100 days, I was the only developer 1 part-time personal development, but also a cross iOS, APP Android dual-platform. Now, I think I should be able to answer some of the questions mentioned above:

  • Flutter Can now do commercial projects?

    • Can be learned by Google in recent years of the conference, thanks to convenient Google cloud services, Flutter has become the first choice of foreign developers to develop new projects
    • I now scouring the electricity supplier should be able to make the project an example of it
  • Existing native access Flutter project do not fly?

    • Salted fish APP part of the page, has been implemented using the Flutter
    • 爱奇艺直播助手APP的部分页面,也已经是用Flutter实现的了
  • Flutter会不会有很多功能不能实现?

    • 目前,Flutter插件仓库里已经有4200多个插件了,其中包含国内常用的各种推送、社会分享、微信QQ支付宝登录、各种授权登陆、微信支付宝支付、淘系电商等对接原生SDK等第三方插件
    • 因为通过插件可以在Flutter与原生代码之间搭建桥梁,所以基本上,原生可以实现的功能,Flutter都可以实现
  • 国内服务提供商对Flutter生态的支持如何?

    • 极光推送已经为开发者准备好了极光推送的Flutter插件
    • 阿里巴巴已经为Flutter贡献了一个视图UI与逻辑代码分离的第三方框架
  • 用Flutter开发应用可以上架App Store吗?

    • 有这个担心其实是因为RN之前有前例,但是理性分析一下,有些RN为啥会被下架呢?不过是因为哪些APP本身违背了App Store的规则,热更新从理性上思考,难道不是一个安全风险吗?
    • Flutter应用如果本身不违背App Store的规则,基本是不用担心这个问题的
  • Flutter作为跨平台开发的性能好不好?

    • Flutter的性能与原生一模一样,帧频率达到到60帧/秒是基本操作

后面是我对Flutter开发过程中的一些想法:

  1. 跨全平台开发很理想,但是现在不可能,在实际开发过程中,你难免会用到第三方的插件,而哪些插件又依赖Android或iOS的原生SDK,那你的项目还怎么在PC、Mac、Web跑呢?除非出现大量用Dart语言编写的插件(“SDK”)出现,不然跨全平台开发就是空中阁楼

  2. Flutter的热重载只对微调,比如调大小、移动上下左右几个单位、组件的内容文本图片什么的改一下方便,一旦代码动的多了,一热重载,大部分时候页面都会显示一片红,如何又是一顿代码调整。特别是接口联调,真的别指望热重载能多方便

  3. No native development experience, then release the application when it will step on a lot of pit native development, because once you have to pack Flutter program, it comes to Android, iOS knowledge of native development, especially the native Android packaged pit published, often let me out for hours or even longer, distressed small native Android development partners one second

  4. For people not previously studied native development, the later studied Flutter, is not expected to learn a native development, after all, a native development can only develop a single platform, after all, if you can develop multi-platform APP, you will single platform to meet it?

  5. For now, because the current Flutter plug-in also does not fully cover domestic mobile development ecosystem, you will inevitably need to develop their own plug-ins to access certain domestic services SDK, this time, in addition to looking for native development of small partners outside help , left with your own development road you can go. But the difficulty of their own development is also good, because a variety of native SDK on Baidu how to use a bunch of existing code, as long as you will engage in some of the native base completely given

APP show

Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description

Relevant address

Baidu cloud network disk
GitHub repository

Guess you like

Origin blog.csdn.net/hekaiyou/article/details/93622864