BBASMPlugin+GetUpdateManager.h 969 Bytes
//
//  BBASMPlugin+getUpdateManager.h
//  SWAN
//
//  Created by baidu on 2018/9/6.
//  Copyright © 2018年 baidu. All rights reserved.
//

#import "BBASMPlugin.h"

@interface BBASMPlugin (getUpdateManager)

/**
 * 描  述: 该功能使用场景:当新版本下载完成,调用该方法会强制当前小程序应用上新版本并重启
 * 示  例: baiduboxapp://swanAPI/applyUpdate?callback= _bdbox_js_249&upgrade=0
 * 文  档: http://ft.baidu.com/#/scheme/swan_applyupdate
 * 备  注: 当新版本下载完成,调用该方法会强制当前小程序应用上新版本并重启
 * ********** description ************
 * @name:      updateManager.applyUpdate
 * @authority: swanAPI
 * @path:      /applyUpdate
 * @args:      []
 * @config:    {"swan": {"web": {"invoke": "swan.message.url", "handler": "bridge"}, "jsc": {"invoke": "swan.method.url", "method": "_naSwan.bridge.postMessage"}}}
 */
- (void)applyUpdate:(BBASchemeDispatcher *)dispatcher;

@end