Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nuke-biz-callapp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-biz-callapp

callapp for qap

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

callapp

QAP在安卓端的唤起APP的方式与其他端不一致。

  • Android:require('@weex-module/qapschema').openTaobao
  • iOS:QN.navigator.push 因此本组件对其做一层封装,以保持两端的一致性。

API

callapp(url)

参数说明类型默认值
urlURL schemestring

使用方式

初次使用需要安装依赖:

tnpm install nuke-biz-callapp

通过import引用

import callapp from 'nuke-biz-callapp'

直接调用,传入URL Scheme。例如,可以通过以下调用打开支付宝服务窗首页:

callapp('alipays://platformapi/startapp?appId=20000101');

Keywords

FAQs

Package last updated on 05 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc