From 9f40ec14d6bf7007067aaf73d5508ae9a9745467 Mon Sep 17 00:00:00 2001 From: kyuhho Date: Fri, 11 Oct 2024 12:52:33 +0900 Subject: [PATCH 1/9] chore: fix icon directory (#413) --- public/{ => android}/android-icon-144x144.png | Bin public/{ => android}/android-icon-192x192.png | Bin public/{ => android}/android-icon-36x36.png | Bin public/{ => android}/android-icon-48x48.png | Bin public/{ => android}/android-icon-72x72.png | Bin public/{ => android}/android-icon-96x96.png | Bin public/{ => ios}/apple-icon-114x114.png | Bin public/{ => ios}/apple-icon-120x120.png | Bin public/{ => ios}/apple-icon-144x144.png | Bin public/{ => ios}/apple-icon-152x152.png | Bin public/{ => ios}/apple-icon-180x180.png | Bin public/{ => ios}/apple-icon-57x57.png | Bin public/{ => ios}/apple-icon-60x60.png | Bin public/{ => ios}/apple-icon-72x72.png | Bin public/{ => ios}/apple-icon-76x76.png | Bin public/{ => ios}/apple-icon-precomposed.png | Bin public/{ => ios}/apple-icon.png | Bin public/manifest.json | 12 ++++++------ 18 files changed, 6 insertions(+), 6 deletions(-) rename public/{ => android}/android-icon-144x144.png (100%) rename public/{ => android}/android-icon-192x192.png (100%) rename public/{ => android}/android-icon-36x36.png (100%) rename public/{ => android}/android-icon-48x48.png (100%) rename public/{ => android}/android-icon-72x72.png (100%) rename public/{ => android}/android-icon-96x96.png (100%) rename public/{ => ios}/apple-icon-114x114.png (100%) rename public/{ => ios}/apple-icon-120x120.png (100%) rename public/{ => ios}/apple-icon-144x144.png (100%) rename public/{ => ios}/apple-icon-152x152.png (100%) rename public/{ => ios}/apple-icon-180x180.png (100%) rename public/{ => ios}/apple-icon-57x57.png (100%) rename public/{ => ios}/apple-icon-60x60.png (100%) rename public/{ => ios}/apple-icon-72x72.png (100%) rename public/{ => ios}/apple-icon-76x76.png (100%) rename public/{ => ios}/apple-icon-precomposed.png (100%) rename public/{ => ios}/apple-icon.png (100%) diff --git a/public/android-icon-144x144.png b/public/android/android-icon-144x144.png similarity index 100% rename from public/android-icon-144x144.png rename to public/android/android-icon-144x144.png diff --git a/public/android-icon-192x192.png b/public/android/android-icon-192x192.png similarity index 100% rename from public/android-icon-192x192.png rename to public/android/android-icon-192x192.png diff --git a/public/android-icon-36x36.png b/public/android/android-icon-36x36.png similarity index 100% rename from public/android-icon-36x36.png rename to public/android/android-icon-36x36.png diff --git a/public/android-icon-48x48.png b/public/android/android-icon-48x48.png similarity index 100% rename from public/android-icon-48x48.png rename to public/android/android-icon-48x48.png diff --git a/public/android-icon-72x72.png b/public/android/android-icon-72x72.png similarity index 100% rename from public/android-icon-72x72.png rename to public/android/android-icon-72x72.png diff --git a/public/android-icon-96x96.png b/public/android/android-icon-96x96.png similarity index 100% rename from public/android-icon-96x96.png rename to public/android/android-icon-96x96.png diff --git a/public/apple-icon-114x114.png b/public/ios/apple-icon-114x114.png similarity index 100% rename from public/apple-icon-114x114.png rename to public/ios/apple-icon-114x114.png diff --git a/public/apple-icon-120x120.png b/public/ios/apple-icon-120x120.png similarity index 100% rename from public/apple-icon-120x120.png rename to public/ios/apple-icon-120x120.png diff --git a/public/apple-icon-144x144.png b/public/ios/apple-icon-144x144.png similarity index 100% rename from public/apple-icon-144x144.png rename to public/ios/apple-icon-144x144.png diff --git a/public/apple-icon-152x152.png b/public/ios/apple-icon-152x152.png similarity index 100% rename from public/apple-icon-152x152.png rename to public/ios/apple-icon-152x152.png diff --git a/public/apple-icon-180x180.png b/public/ios/apple-icon-180x180.png similarity index 100% rename from public/apple-icon-180x180.png rename to public/ios/apple-icon-180x180.png diff --git a/public/apple-icon-57x57.png b/public/ios/apple-icon-57x57.png similarity index 100% rename from public/apple-icon-57x57.png rename to public/ios/apple-icon-57x57.png diff --git a/public/apple-icon-60x60.png b/public/ios/apple-icon-60x60.png similarity index 100% rename from public/apple-icon-60x60.png rename to public/ios/apple-icon-60x60.png diff --git a/public/apple-icon-72x72.png b/public/ios/apple-icon-72x72.png similarity index 100% rename from public/apple-icon-72x72.png rename to public/ios/apple-icon-72x72.png diff --git a/public/apple-icon-76x76.png b/public/ios/apple-icon-76x76.png similarity index 100% rename from public/apple-icon-76x76.png rename to public/ios/apple-icon-76x76.png diff --git a/public/apple-icon-precomposed.png b/public/ios/apple-icon-precomposed.png similarity index 100% rename from public/apple-icon-precomposed.png rename to public/ios/apple-icon-precomposed.png diff --git a/public/apple-icon.png b/public/ios/apple-icon.png similarity index 100% rename from public/apple-icon.png rename to public/ios/apple-icon.png diff --git a/public/manifest.json b/public/manifest.json index 3b557aab..baa231a2 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -2,37 +2,37 @@ "name": "App", "icons": [ { - "src": "/android-icon-36x36.png", + "src": "/android/android-icon-36x36.png", "sizes": "36x36", "type": "image/png", "density": "0.75" }, { - "src": "/android-icon-48x48.png", + "src": "/android/android-icon-48x48.png", "sizes": "48x48", "type": "image/png", "density": "1.0" }, { - "src": "/android-icon-72x72.png", + "src": "/android/android-icon-72x72.png", "sizes": "72x72", "type": "image/png", "density": "1.5" }, { - "src": "/android-icon-96x96.png", + "src": "/android/android-icon-96x96.png", "sizes": "96x96", "type": "image/png", "density": "2.0" }, { - "src": "/android-icon-144x144.png", + "src": "/android/android-icon-144x144.png", "sizes": "144x144", "type": "image/png", "density": "3.0" }, { - "src": "/android-icon-192x192.png", + "src": "/android/android-icon-192x192.png", "sizes": "192x192", "type": "image/png", "density": "4.0" From c58c6b159554eb1f9d79c652ef06291165da780b Mon Sep 17 00:00:00 2001 From: kyuhho Date: Mon, 4 Nov 2024 17:51:39 +0900 Subject: [PATCH 2/9] feat: add manifest config (#413) --- public/manifest.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/public/manifest.json b/public/manifest.json index baa231a2..8fc24336 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,5 +1,10 @@ { - "name": "App", + "name": "셰어마인드", + "short_name": "셰어마인드", + "start_url": ".", + "display": "standalone", + "background_color": "#ffffff", + "theme_color": "#ffffff", "icons": [ { "src": "/android/android-icon-36x36.png", From 80125d47cb7edb085c6a7db1de1d37e23da5ba11 Mon Sep 17 00:00:00 2001 From: kyuhho Date: Mon, 4 Nov 2024 17:51:56 +0900 Subject: [PATCH 3/9] feat: add ios icon config (#413) --- public/index.html | 54 +++++++++++++- src/index.tsx | 4 ++ src/serviceWorkerRegistration.ts | 120 +++++++++++++++++++++++++++++++ 3 files changed, 176 insertions(+), 2 deletions(-) create mode 100644 src/serviceWorkerRegistration.ts diff --git a/public/index.html b/public/index.html index 5848e98f..6084b80f 100644 --- a/public/index.html +++ b/public/index.html @@ -2,7 +2,7 @@ - -->