# Summary of components to be adapted

  • Multi-terminal framework is based on the same technology as the Mini Program, most of the Mini Program components can be used in multi-terminal applications, but there are some components because the product carrier has become a App, can no longer be supported, the developer needs to be compatible with this part of the components
  • In order to facilitate developers compatible processing of components, this article will require developers to adapt the components of the summary, if you have any questions about the relevant content, you can contactLittle helperFeedback processing

# 1) Components that need to be adapted and compatible by the developer

  • The following functions need to be implemented using new interfaces or components
name Function Dxplaination Remarks
button Button Support, but open-type The WeChat open capabilities involved are not supported
image picture Yes, but long press recognition is not yet supported

# 1、button

  • button In the component open-type The WeChat open capabilities involved are not supported
open-type Function Dxplaination Compatible remarks
contact Open a customer service session &bull in App Does not support the use of Mini Program customer service ability, developers can use WeChat customer service function instead, view the interface detailswx.miniapp.openCustomerServiceChat
Share Forward &bull in App If you need to use WeChat sharing ability, you can use wx.miniapp.shareImageMessagewx.miniapp.shareMiniProgramMessagewx.miniapp.shareTextMessagewx.miniapp.shareWebPageMessagewx.miniapp.shareVideoMessage
getPhoneNumber Get Cell Phone Number &bull in App New components can be used inLocal Number One Click Login Realization
getUserInfo Get User Information &bull in App New interfaces can be used in wx.miniapp.login or wx.weixinAppLogin Implementation to get the user's avatar and nickname
chooseAvatar Get User Avatar &bull in App New interfaces can be used in wx.miniapp.login or wx.weixinAppLogin Implementation to get the user's avatar and nickname
launchApp open App &bull in App Not yet supported to open another The app will provide a new interface to implement this function.
openSetting Open the Authorization Settings page &bull in App Used in wx.openAppAuthorizeSetting replace
feedback Open the "Feedback" page &bull in App Opening the "Feedback" page is not supported in

# 2、 image

  • image In the component show-menu-by-longpress Long press the picture to show send to a friend, collection, save the picture, search a search, open the business card/Go to Group Chat/Open Mini Program) temporarily supported

# 3、web-view

from iOS >= 1.0.17,Android >= 1.0.8 Start, web-view open h5 Acquired UA Will no longer carryWeChatThe relevant identification, while adding the SAAASDK Used to represent a multi-terminal runtime environment. As the developer in h5 Used in. jssdk For interacting with the Mini Program, you need to set the jssdk Upgrade to 1.6.2

# II. Components not yet supported

  • Contains interfaces that are not yet planned for support and are already in development, details can be foundComponent overview