opendeeplink

2.1.0 • Public • Published

opendeeplink

Open deeplink by visibilityChange

Install

npm install opendeeplink --save

Usage

import {
    init,
    open
} from 'opendeeplink';

init

init({
    appStore: 'path you want to go',
    googlePlay: 'path you want to go',
    timeout: 'timeout for waiting app open'
});

open

open(String deeplink, Integer customTimeout, Function fallbackAction)
  • deeplink (String): require, deeplink for app you want to open
  • customTimeout (Integer): optional, timeout for waiting app open
  • fallbackAction (Function || String): optional, go this when appStore and googlePlay is not setting

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.0
    0
    • latest

Version History

Package Sidebar

Install

npm i opendeeplink

Weekly Downloads

9

Version

2.1.0

License

MIT

Unpacked Size

5.48 kB

Total Files

3

Last publish

Collaborators

  • rexhome7326