惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
Stack Overflow Blog
Stack Overflow Blog
S
SegmentFault 最新的问题
博客园 - 司徒正美
aimingoo的专栏
aimingoo的专栏
U
Unit 42
GbyAI
GbyAI
B
Blog RSS Feed
博客园 - Franky
L
LangChain Blog
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
云风的 BLOG
云风的 BLOG
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 三生石上(FineUI控件)
Microsoft Azure Blog
Microsoft Azure Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
G
Google Developers Blog
Last Week in AI
Last Week in AI
阮一峰的网络日志
阮一峰的网络日志
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research

博客园 - 包建强

MindSpore开源项目分类(截止到2024.2.3) 开源自己编写的半人工标注平台PaddleOCRLabel(.NET Winform版本) Appium自动化测试框架研究(2)——搭建IOS环境 2019,我在几个新的技术领域的尝试和心得 Flutter中高级培训 1.9 From Native to HTML5 1.8 Double-Opening and Virtual Machine 1.7 All components require plug-in? 1.6 Why only in China? 1.4 The usage of plug-in 1.3 History of Android Plug-in Programing 1.2 Why need pluggable? 1.1 What is the plug-in? Chapter 8 The Simplest Plug-in Solution Chapter 7 Resources in Plug-In(1) Chapter 1: Plug-in programing from past to the future Android插件化的兼容性(下):突破Android P中灰黑名单的限制 Android插件化的兼容性(中):Android P的适配 Android插件化的兼容性(上):Android O的适配
1.5 A better alternative thing: React Native
包建强 · 2018-08-28 · via 博客园 - 包建强

      In 2015, React Native (RN) was born. At that time, few people paid attention to it because it was still immature with even few basic controls. Then, with the iteration of the RN project, the functions became more and more perfect. Although there has not been a release version 1.0 so far, we are delighted to find that it is the plug-in technology of Android and iOS.

      Different person has different thinking.

      When we put a lot of energy to study how to modify with the Android operation system source codes, they are taking another roadmap, it is to do the mapping, so that each control in Android or iOS, can find the corresponding control in the RN.

      The RN is written based on JavaScript, packaged and put on the server for Android and iOS apps to download and use.

      What makes RN better than Android plugins is that it also supports iOS, which maximizes cross-platform implementation. When we thought it was easy to use Android plug-in, and how to release new features to iOS, RN is a better choice.

      For the performance, the difference between these two patterns is not significant. RN is very smooth on iOS and Android. Don't worry about this.

      For small-sized or medium-sized companies and startups, they have no human resources and financial resources to develop a plug-in framework, and generally adopt a relatively stable, open source, and continuous updated plug-in framework in their country. However, it seems that iOS has no technical framework, especially after the JsPatch hot fix was forbidden by the AppStore. Their best choice is RN. Once the JavaScript is recruited, it will be able to quickly iterate and release. I do the code programming before, and do training now, there are hundreds of companies in China, including large state-owned enterprises, second-tier, third-tier Internet companies, and traditional industries. Found that 90% of companies in the country are in such situation: the demand for RN is far greater than Android plug-in technology.

      For about RN, there are already some books available. This book mainly introduces Android plug-in technology. This section shows some points that Android plug-in is not as good as RN.