fkei / deeplink.js

Redirect mobile website users to your native iOS and Android (browser only)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deeplink.js

Redirect mobile website users to your native iOS and Android (browser only)

Use

<script src="./deeplink.js"></script>
<script>
  deeplink.launchiOS({
    storeLink: "https://itunes.apple.com/jp/app/twitter/id333903271?mt=8",
    urlScheme: "twitter://timeline"
  });
</script>

Use twitter app to sample.

Install

npm install deeplink.js
or
bower install deeplink.js

Build

$ make build # output: sua.min.js

LICENSE

@see : LICENSE

About

Redirect mobile website users to your native iOS and Android (browser only)

License:MIT License


Languages

Language:JavaScript 48.5%Language:HTML 32.3%Language:Shell 15.6%Language:Makefile 3.7%