Skip to content
/ web2app Public
forked from kakao/web2app

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

License

Notifications You must be signed in to change notification settings

sko-kr/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

Languages

  • JavaScript 100.0%