javascript - Weex generates apk, do you still need to write android code?
漂亮男人
漂亮男人 2017-05-19 10:29:10
0
2
715

Looking at the documentation on the weex official website, you need to write android code to generate an android application. Why do you do this? I think ionic is also cross-platform, but there is no need to write android code. Could you please tell me the reason for this?

漂亮男人
漂亮男人

reply all(2)
大家讲道理

weex is cross-platform, but each platform has different dependencies. First of all, what we need to solve when using weex is the performance problem of H5, so adding a browser shell to an H5 website has no effect at all. Weex or RN both render the corresponding components natively when developing APPs, so that performance issues can be solved. Therefore, generating android apk requires certain Android development experience.

PHPzhong

At this stage, there are three common methods of hybrid App.

The control interface is given natively, JS is called, and the native control is generated. The final page displays the native control instead of the web page. This definitely requires a certain knowledge of Android and iOS. RN and weex are such solutions

Native provides an interface for realizing interaction between web pages and Native. The web pages are packaged into the installation package, and web views are used to display the web pages. The final page displays the web pages. The representative is ionic

The third type is similar to the second one, except that the web page is not packaged into the installation package, but obtained from the remote end.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!