Skip to content

Commit 3fad7a1

Browse files
committed
move asset links from common .well-known
1 parent e599e80 commit 3fad7a1

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@ To run locally with live reloading and no service worker, run `npm run dev`. (If
1515
To run locally and register the service worker, run `npm start`.
1616

1717
To deploy, push to `main` or manually trigger the `.github/workflows/deploy.yml` workflow.
18-
19-
Since this app doesn't have a custom domain, asset links for the Google Play Store are stored at https://github.com/skedwards88/.well-known (https://skedwards88.github.io/.well-known/assetlinks.json).

src/assetlinks.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"relation": ["delegate_permission/common.handle_all_urls"],
4+
"target": {
5+
"namespace": "android_app",
6+
"package_name": "gribbles.io.github.skedwards88.twa",
7+
"sha256_cert_fingerprints": [
8+
"24:FE:2C:4F:52:32:C9:1B:D7:24:93:F7:3D:42:E6:A9:52:F9:C9:03:B6:9D:A6:39:72:F4:06:2B:64:12:52:A1"
9+
]
10+
}
11+
}
12+
]

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ module.exports = (env, argv) => {
4545

4646
const copyPlugin = new CopyPlugin({
4747
patterns: [
48+
{from: "./src/assetlinks.json", to: "./.well-known/assetlinks.json"},
4849
{from: "./src/images/favicon.svg", to: "./assets/favicon.svg"},
4950
{from: "./src/images/favicon.png", to: "./assets/favicon.png"},
5051
{from: "./src/images/icon_192.png", to: "./assets/icon_192.png"},

0 commit comments

Comments
 (0)