2.1.0 • Published 6 years ago
opendeeplink v2.1.0
opendeeplink
Open deeplink by visibilityChange
Install
npm install opendeeplink --saveUsage
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