tiny javascript library to launch a mobile app. from a webpage
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
lib
samples
test
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
LICENSE
README.md
build.js
package-lock.json
package.json
server.js

README.md

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