Hybrid programming method and system for APP (Application) client
A hybrid programming and client-side technology, applied in program control devices, user interface execution, software engineering design, etc., can solve the problems of large space occupation and poor user interaction experience.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0088] This embodiment provides a hybrid programming method of APP client Native and front-end, wherein the front-end includes a first front-end application and a first front-end bridge layer, and Native includes a Native bridge layer; in this embodiment, the first front-end application is ReactNative.
[0089] Such as figure 1 As shown, the APP client Native and front-end hybrid programming methods include:
[0090] Step 101, embed a display component corresponding to the first front-end application in the Native page.
[0091] Preferably, the display component corresponding to the first front-end application React Native is React Native Web View.
[0092] Step 102, the first front-end application uses the first front-end bridge layer to communicate with the Native bridge layer.
[0093] Specifically, as figure 2 As shown, step 102 includes:
[0094] Step 10211, the first front-end bridge layer receives the front-end method call request sent by the first front-end applic...
Embodiment 2
[0105] This embodiment provides a hybrid programming method for APP client Native and front-end, wherein the front-end includes a first front-end application and a first front-end bridge layer, and Native includes a Native bridge layer; in this embodiment, the first front-end application is Hybrid. Compared with Embodiment 1, the present embodiment differs in that,
[0106] Such as Figure 4 As shown, step 102 includes:
[0107] Step 10221. The first front-end bridge layer receives the front-end method call request sent by the front-end. The front-end method call request includes the Native module ID and the Native method ID. The first front-end bridge layer parses the front-end method call request to obtain the Native module ID and the Native method ID.
[0108] Step 10222, concatenate the Native module ID and the Native method ID to obtain a URL, and use the first front-end application to access the URL.
[0109] Step 10223, the Native bridge layer monitors the first front...
Embodiment 3
[0113] This embodiment provides an APP client Native and front-end hybrid programming method, wherein the front-end includes a first front-end application and a first front-end bridge layer front-end, and also includes a second front-end application and a second front-end bridge layer, and Native includes a Native bridge layer. Such as Figure 6 As shown, the APP client Native and front-end hybrid programming methods include:
[0114] Step 301, embed a display component corresponding to the first front-end application and a display component corresponding to the second front-end application in the Native page.
[0115] Step 302, the first front-end application uses the first front-end bridge layer to communicate with the Native bridge layer.
[0116] Step 303, the Native bridge layer uses the second front-end bridge layer to communicate with the second front-end application, so as to realize the communication between the first front-end application and the second front-end ap...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com