opendeeplink
v2.1.0
Published
Open deeplink by visibilityChange
Downloads
3
Readme
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 opencustomTimeout
(Integer): optional, timeout for waiting app openfallbackAction
(Function || String): optional, go this when appStore and googlePlay is not setting