Does anyone use cordova?

do many people use this thing? What about operational performance and development efficiency?

PS: complains a little: I find that all mixed development app cold start is very slow. For example, cordova package vue + MintUI, package has a capacity of less than 10m, but cold start for more than 5s. (the same web page is directly on Android"s native browser, plus the network transfer time, it doesn"t take so long to open. I wonder if cordova itself is slow? )

and the cold start is always a white screen. I checked on the Internet and said that to solve this kind of problem, or to change the white screen into loading images when loading the page, you have to directly modify the code in his packaged Android engineering files and make various optimizations, which is tantamount to understanding native development, and both ios and Android platforms have to be optimized respectively, so I might as well use native.


Technology selection itself has a preference, which is difficult to quantify absolutely, and preferences vary from person to person. My experience is for reference only.

  • Cordova design is very beautiful, with the help of the system built-in Webview to achieve cross-platform, through plug-ins to achieve platform-related functions, can do almost any type of APP development, a wide range of adaptability.
  • The development efficiency of
  • is reflected in two aspects: the ecosystem of JS has a large number of mature wheels, while Webview itself is stable and easy to use and has many tools after years of development.
The disadvantages of

Cordova are as you said:

    The startup speed of
  • is slower. In fact, this can be optimized at the operating system level (see Microsoft's optimization of IE and Office). Unfortunately, Cordova is not native to the operating system, and most operating systems do not want to optimize it.
  • Another drawback of
  • is that the Web control itself is less efficient, but the gap is now small. In addition, Web controls lack of interaction with system peripherals, such as camera, GPS, Bluetooth and so on, which can only be solved through plug-ins, which are relatively troublesome, but can be done.

my personal opinion, whether to use Cordova, depends on your needs. If your App is a general type of App (not a large number of underlying or hardware interactions) and requires cross-platform (two or more), then platforms derived from Cordova or Cordova, such as PhoneGap and Ionic, are a very appropriate choice.


when I was working on a project at school, I used Ionic, as a Cordova package, which is really efficient. If you directly use angular.js to do mobile applications, there is no way to start them. If mixed applications are like this, React Native seems to be faster

.
Menu