zhuanzhuanfe / call-app Goto Github PK
View Code? Open in Web Editor NEW唤起App,支持配置多个App,兼容性良好
唤起App,支持配置多个App,兼容性良好
typeof 运算符返回的是字符串吧,typeof hidden === undefined
应当恒为假
npm搜索不到这个包
比如说调起一个APP去登陆,然后带着登陆的token回到浏览器的登录页,请问这个是目标APP提供的还是自己实现的
您好,如题,想知道如果需要带参数唤起APP应该如何处理呢?
比如点击按钮,跳转到APP登录页自动填充账号密码之类的。
感谢!
universalLink直接用a href=可以唤起
但是用了sdk就微信下 chrome下无法唤起,但是qq可以唤起 请问这是什么原因呢
// 唤起支付宝
const callApp1 = new CallApp1({
//path: 'xxx://wechat.xxxxx.cn/about-us',
customConfig: {
schemeUrl: 'xxx://wechat.xxxxx.cn/about-us', // 支付宝转账
universalLink: 'https://wechat.xxxxx.cn/about-us',
downloadConfig: {
ios: 'https://itunes.apple.com/cn/app/id12487406111110',
android: 'https://a.app.qq.com/o/simple.jsp?pkgname=cn.xxxxx.g&fromcase=40002#fromopen',
android_yyb: 'https://a.app.qq.com/o/simple.jsp?pkgname=cn.xxxxx.g&fromcase=40002#fromopen'
}
},
callStart: () => {
console.log('触发 开始唤起钩子')
},
callSuccess: () => {
console.log('触发 唤起成功钩子')
},
callFailed: () => {
console.log('触发 唤起失败钩子')
},
callError: () => {
console.log('内部异常')
}
})
// 执行唤起
callApp1.start()
// 执行下载
callApp1.download()
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.