当前位置:网站首页>H5 application conversion fast application
H5 application conversion fast application
2022-06-25 20:00:00 【Huawei Developer Forum】
1.H5 Application and quick application introduction
H5 application
The fifth generation Html Standard development web application , The browser parses HTML, You can display the content of the web page ;
Cross-platform sex ;
Run on Browser .
Apply it quickly
An installation free application that provides a native experience ;
Industry standard , Now there are more than 12 Smart phone manufacturers support ;
Need to run in the fast application engine .
H5 Fast application conversion
H5 Application to fast application , abbreviation H5 Apply it quickly . It uses a fast application web Component or webview Interface , Then quickly package it into a fast application rpk package , The application is still web application , After being put on the market , Users can directly open , All experiences and original H5 Application similarity .
The maintenance workload is small , as long as url No change ,H5 Fast applications do not need maintenance on the client side .
H5 After the application is converted into fast application, if it is only released in Chinese Mainland , Please choose carefully , It is likely to be rejected by the audit .
2. Conversion guidance
The conversion mode supports online conversion and offline conversion . Online conversion is a developer access AppGallery Connect, Fill in the relevant content , Automatic conversion of websites to generate fast applications rpk Package and then submit for review .
Offline conversion refers to developers using Huawei fast applications IDE convert , After conversion, package and generate quick application rpk Package and then submit for review . Offline conversion supports two modes ,System Webview Mode and Browser Custom Tabs Mode, The implementation mechanism of the two modes is different .
You can watch the Muke video H5 Fast application conversion , Learn more about how to convert to generate rpk, There are very detailed screen recording operations in the video .
2.1 Online conversion
Developer access AppGallery Connect , Fill in the relevant content , Automatic conversion of websites to generate fast applications rpk Submit the package for review . The overall process is as follows :

2.2 Offline conversion
Developers use Huawei fast applications IDE convert , After conversion, package and generate quick application rpk Submit the package for review , The following two methods are supported .
System WebView Mode: Use fast apps web Component loading H5 url.
Browser Custom Tabs Mode: Use fast apps webview.loadCustomTabsUrl() load H5 url.

2.3 Conversion considerations
The application type belongs to the game H5 url, Online conversion is not supported ,H5 Quick games and H5 The engine implementation of fast application is different .
Offline conversion submitted for review rpk Please pass Build-> Run Release structure .
Offline conversion Browser Custom Tabs Mode when , The minimum platform version number needs to be set to 1078.
Offline conversion Browser Custom Tabs Mode Rely on Huawei browsers app, If Huawei browser is not installed , Fault tolerant processing is needed .
2.4 Comparison of online and offline conversion

3.FAQ
FAQ Please refer to the official website
More highlights , Please see the official Huawei Developer Forum →https://developer.huawei.com/consumer/cn/forum/home?ha_source=sanfang
边栏推荐
- Does GoogleSEO need to change the friend chain? (e6zzseo)
- How to understand var = a = b = C = 9? How to pre parse?
- PAT B1091
- Is it safe to open a new bond? Is low commission reliable
- ECS 7-day practical training camp (Advanced route) -- day04 -- build a portal using ECs and polardb
- Browser performance optimization (19)
- Mail monitoring cloud script execution progress
- Print 1 cute every 100 milliseconds ~ with a running lantern effect
- What are Baidu collection skills? 2022 Baidu article collection skills
- PHP Chinese regular
猜你喜欢

<C>. array

Ali visual AI training camp -day03- construction of electronic photo album (face and expression recognition)

Yaml configuration

Principles of MySQL clustered index and non clustered index

Does GoogleSEO need to change the friend chain? (e6zzseo)

Wechat applet connects to the server to display mqtt data information

PHP Chinese regular

Vulnhub range - darkhole 1

Vulnhub range - correlation:2

What are Baidu collection skills? 2022 Baidu article collection skills
随机推荐
Applet password input box
DARKHOLE 2
Wechat applet cloud function does not have dependency option installed
Some pictures of real machine preview development and debugging are not shown
在打新债开户证券安全吗
ECS 7-day practical training camp (Advanced route) -- day03 -- ecs+slb load balancing practice
Wechat applet swiper simple local picture display appears large blank
Jsonp processing non homologous
Is it safe to open a new bond account
rmi-registry-bind-deserialization
Native JS array some method de duplication
How to understand var = a = b = C = 9? How to pre parse?
Is it safe to open an online account for new bonds? What should be paid attention to
Web container basic configuration
Uniapp waterfall flow, applet waterfall flow, very simple, suitable for the whole platform
Mqtt+ardunio+esp8266 development (excluding mqtt server deployment)
PAT B1059
The functions in the applet page are better than those in app JS first execution solution
Suddenly found that the screen adjustment button can not be used and the brightness can not be adjusted
PHP Chinese regular