Nebulous Plasma Muffin

    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

    Install

    npm i opendeeplink

    DownloadsWeekly Downloads

    12

    Version

    2.1.0

    License

    MIT

    Unpacked Size

    5.48 kB

    Total Files

    3

    Last publish

    Collaborators

    • rexhome7326