Overview

更新时间:
复制 MD 格式

Mini programs are easy to access and share, providing convenient services and an enhanced user experience. After you publish a mobile application, you can integrate it into Alipay mini programs, DingTalk mini programs, and other third-party mini programs.

Integration methods

  • Alipay mini program: An Alipay mini program is an open model that runs in the Alipay client, letting you embed a mobile application.

  • DingTalk mini program: A DingTalk mini program is a development model that supports deployment across multiple platforms, including iOS and Android.

  • Other integration methods:

Usage

  1. Alipay and WeChat mini programs do not support account authentication. For more information, see application authentication.

  2. When configuring an H5 domain name for an Alipay or WeChat mini program, you must add two addresses.

    • The official IoT Studio resource address: https://g.aliplus.com.

    • The domain name bound to your mobile application. For more information, see Application publishing and use.

      In the WeChat mini program backend, on the Development Management page, go to the service domain name section, click Modify, and add the official IoT Studio resource address https://g.aliplus.com and the domain name bound to your mobile application.

  3. When you configure an H5 domain name for a web-view, you must add the isMiniApp=true parameter to the end of the URL to prevent domain restrictions.

    <!--index.wxml-->
    <view class="container">
      <web-view
        src="https://xxx.xxx.xxx.om?isMiniApp=true"
      >
      </web-view>
    </view>