Home > Article > WeChat Applet > Does the mini program support jumping apps?
The mini program supports jump app.
This function requires the user to actively trigger it to open the APP, so it is not called by the API. It needs to be triggered by clicking on the button component of launchApp with the value of open-type set to launchApp.
Example:
Mini Terminal
You need to set the value of button component open-type to launchApp. If you need to pass parameters to the APP when opening the APP, you can set app-parameter as the parameter to be passed. Through binderror, you can monitor error events when opening the APP.
app side
APP needs to access OpenSDK. For documentation, please refer to iOS / Android
Android third-party apps need to handle the WeChat callback of ShowMessageFromWX.req, and iOS needs to add the appId to the URL types field of the plist file to which the third-party app project belongs. For the method of obtaining app-parameter, please refer to the onResp method in WXEntryActivity in Android SDKSample and the onResp method in WXApiDelegate in iOS SDKSample.
Code Example
<button open-type="launchApp" app-parameter="wechat" binderror="launchAppError">打开APP</button>rrree
The above is the detailed content of Does the mini program support jumping apps?. For more information, please follow other related articles on the PHP Chinese website!