I hereby claim:
- I am cheneytsai on github.
- I am cheney (https://keybase.io/cheney) on keybase.
- I have a public key whose fingerprint is 76A8 F3F9 5299 FEB3 9239 4B22 C54D 0E43 3584 FD47
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="Proof of Concept: Water Projects" /> | |
<script type="text/javascript" src="https://www.google.com/jsapi"></script> | |
<script src="http://code.jquery.com/jquery.min.js"></script> | |
<link href="http://getbootstrap.com/dist/css/bootstrap.css" rel="stylesheet" type="text/css" /> |
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<polymer-element name="my-element"> |
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="Gist for Firebase Demo" /> | |
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<script src='https://cdn.firebase.com/js/client/2.0.4/firebase.js'></script> | |
</head> | |
<body> |
###List of Web Apps with Progressive Web Features | |
Credits to: Addy, Paul(s), | |
Vanilla JS | |
*Voice Memos by Paul Lewis: https://github.com/GoogleChrome/voice-memos | |
*Offline Wikipeida by Jake Archibald: https://github.com/jakearchibald/offline-wikipedia | |
*Air Horner by Paul Kinlan: https://developers.google.com/web/showcase/spotlight/airhorner?hl=en | |
*Guitar Tuner by Paul Lewis: https://guitar-tuner.appspot.com/ |
HTML is accessible from https://rawgit.com/jamesshannon/845b6821a180d45c99ee10de88501fe2/raw/warm.html
To use put the following into a WPT script: setActivityTimeout 5000 logData 0 navigate http://rawgit.com/jamesshannon/845b6821a180d45c99ee10de88501fe2/raw/warm.html logData 1 navigate https://landing.staging.lendingtree.com/lp/pla-amp.html
NB: Tabs are necessary between the command and the parameter.
//Deeplinks should work, as the LauncherActivity is prepared to handle them. Having said that, when starting the application from a deep link the parameter identifying the traffic coming from the Trusted Web Activity won't be appended (eg: &twa=1). So, the traffic coming into the application from a deep link is likely to be counted as regular mobile traffic. | |
it is possible to modify the LauncherActivity to append "&twa=1" in deep links, with something like this: | |
public class CustomQueryStringLauncherActivity extends LauncherActivity { | |
@Override | |
protected Uri getLaunchingUrl() { | |
// Get the original launch Url. | |
Uri uri = super.getLaunchingUrl(); |