检查当前版本是否小于服务器中指定的版本号,如果当前版本低,则弹出当前手机的所有浏览器,打开跳转到应用宝或者指定连接。
url为指定的链接(必填),errorCB为失败回调函数(选填),identity 为打开连接指定的app包名(选填)。
void plus.runtime.openURL( url, errorCB, identity );
http://www.html5plus.org/doc/zh_cn/runtime.html#plus.runtime.version
检查当前版本是否小于服务器中指定的版本号,如果当前版本低,则弹出当前手机的所有浏览器,打开跳转到应用宝或者指定连接。
url为指定的链接(必填),errorCB为失败回调函数(选填),identity 为打开连接指定的app包名(选填)。
void plus.runtime.openURL( url, errorCB, identity );
http://www.html5plus.org/doc/zh_cn/runtime.html#plus.runtime.version