【文件属性】:
文件名称:web-launch-app::fire: launch app from web page(调起app、调用端能力、下载app、环境判断、复制)
文件大小:98KB
文件格式:ZIP
更新时间:2021-04-28 23:47:03
scheme copy launch download intent
web-launch-app
Intro
唤起App到指定页、通过Scheme调用端能力、下载安装包、到应用商店,同时提供了相关的detector、copy、util等功能
Install
npm install web-launch-app --save
(window.WLA)
Usage
import {
LaunchApp, detector, ua, copy, supportLink,
isAndroid, isIos, inWeixin, inQQ, inWeibo, inBaidu
} from 'web-launch-app';
const lanchApp = new LaunchApp(config);
// 简单唤起
lanchApp.open({
page: 'pagename/action',
param:{
k
【文件预览】:
web-launch-app-master
----.gitignore(166B)
----package.json(1KB)
----.npmrc(35B)
----package-lock.json(324KB)
----src()
--------copy.ts(3KB)
--------index.ts(18KB)
--------utils.ts(2KB)
--------detector.ts(8KB)
----webpack.config.js(2KB)
----LICENSE(1KB)
----tsconfig.json(411B)
----examples()
--------index.html(641B)
--------index.ts(4KB)
--------index.less(119B)
----README.md(15KB)
----lib()
--------utils.d.ts(810B)
--------copy.d.ts(68B)
--------index.js(21KB)
--------utils.js(3KB)
--------wla.min.js(15KB)
--------detector.d.ts(500B)
--------detector.js(8KB)
--------copy.js(3KB)
--------index.d.ts(3KB)
----.npmignore(184B)