A method, device and electronic equipment for deeply customizing a web view
By setting up parallel Custom WebView channels on top of Android WebView, the problem of the WebView interface being unable to be modified and upgraded is solved, enabling independent customization and isolation, supporting multi-instance sharing and high-level interface encapsulation, adapting to different Android versions, and reducing development difficulty.
CN113672231BActive Publication Date: 2025-11-25SERAPHIC INFORMATION TECH CO LTD
Patent Information
- Application Number
- CN202110764401.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-06
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2041-07-06
Abstract
The application discloses a method for deeply customizing a WebView, and sets a Custom WebView channel completely parallel to a System WebView channel on the basis of the System WebView channel; the Custom WebView channel comprises an independent Custom WebView interface layer and an independent Custom WebView implementation layer; the Custom WebView interface layer is provided to an application developer in the form of an independent jar package; the Custom WebView implementation layer is generated by external independent compilation of Chromium; and the interface layer calls a core Blink module through reflection. The method, the device and the electronic equipment for deeply customizing the WebView open a Custom WebView channel completely parallel to a System WebView channel on the basis of the System WebView channel, isolate the Custom WebView from the System WebView, can maximally avoid conflicts and pollution between the Custom WebView and the System WebView, realize a scheme for freely and deeply customizing the WebView and independently evolving Chromium, and application developers can freely modify and customize functions of the Custom WebView interface layer and the implementation layer, so that special requirements of applications are met, and deficiencies of the System WebView are made up.
Need to check novelty before this filing date? Find Prior Art
Citation Information
Patent Citations
Method and device for customizing webview characteristic, equipment and medium
CN110825365A