The Android API provides developers with a basic WebView that makes it easy to organize hybrid apps, but there are many people who want to move beyond WebView in terms of performance and customization.
They will need an open source or library that works for the same purpose.
Let's briefly write down some of the typical core libraries.
1. CrossWalk(XWalk)
All classes that write through the CrossWalk Library will start with XWalk.
CrossWalk is also an open source library created under Intel's leadership.
Many hybrid apps employ CrossWalk.
It is designed primarily for improved performance and HTML5 compatibility and will no longer be maintained starting with the 23 version of 2016.
https://crosswalk-project.org/blog/
The disadvantage is that the size of APK that is generated after compilation will increase by 30 to 40 MB. This is because the recreation-related sources for improved performance were deployed directly into the library.
Official website - https://crosswalk-project.org/
2. Chromium
This is an open-source project being developed by Google.
Chromium is the same as Chrome, but Chrome is a commercially operational browser application on Google, and Chromium is a separate source.
There are a lot of browser apps developed using Chromium because you can get the source as it is.
Opera, Samsung Internet, Yandex browser, swing browser, etc.
Starting with version 4.4 of Android, the default WedView has also been replaced by Chromium.
https://www.chromium.org/
3. GeckoView
A library developed by Mozilla that has the same root as FireFox.
All classes in the library will start with Gecko. All methods related to WebView must use the GeckoSession class.
The GeckoView is used only for View functionality and must be coded by attaching a web-functioned GeckoSession to the GeckoView.
Android 4.2 or higher is compatible.
GeckoView Wiki
https://wiki.mozilla.org/Mobile/GeckoView
GeckoView API Document
https://mozilla.github.io/geckoview/javadoc/mozilla-central/
If you want to develop a more advanced hybrid app, consider these libraries.
0 Comments