Skip to content
/ web2app Public

tiny javascript library to launch a mobile app. from a webpage

License

Notifications You must be signed in to change notification settings

kakao/web2app

Repository files navigation

Web2App Library

Launch a mobile app. from a webpage

daumtools.web2app({
	urlScheme : '',									// iphone : custom scheme
	intentURI : '',									// android : intent URI
	appName   : '', 								// application Name (ex. facebook, twitter, daum)
	storeURL  : '',									// app store URL
	willInvokeApp : function() {},					// function for logging
	onAppMissing  : function() {},					// fallback function (default. move to appstore)
	onUnsupportedEnvironment : function() {}		// fallback function
});

Warning : onAppMissing fallback function isn't working on android chrome, because chrome should use the intent.

Dependency : ua_parser

About

tiny javascript library to launch a mobile app. from a webpage

Resources

License

Stars

Watchers

Forks

Packages

No packages published