# A Harmony Web Development Adaptation Guide
Due to the characteristics of the browser UserAgent in Hongmeng system is different from iOS and Android, which may lead to the abnormal function of the web application in WeChat. In order to protect the user experience, it is recommended that the developer actively carry out the adaptation according to the following guidelines.
# General adaptation instructions
1, the developer through navigator.userAgent whether it contains both 'ArkWeb' and' MicroMessenger' to determine whether the current web application running environment for HongMeng WeChat.
- This may be done by
wx.checkJsApi
Determine whether the current version of HongMeng WeChat of the guest terminal supports the specified JS interface, if not, do compatibility processing on the business layer.
# WeChat Capacity to Pay Adaptation Instructions
- Hongmeng WeChat's Weixin Pay ability is supported in Hongmeng WeChat 1.0, while in iOS and Android system, it is supported by "Weixin version number > = 5.0."Developers need to check whether there is a WeChat version number or other information in the business program that affects payment functions, and if so, they need to adapt it for HUAWEI WeChat.