Skip to content

Commit 9cd2eba

Browse files
committed
Use assets from expo-pwa
1 parent 0a794e9 commit 9cd2eba

36 files changed

+99
-45
lines changed

.expo-shared/assets.json

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
2-
"f9155ac790fd02fadcdeca367b02581c04a353aa6d5aa84409a59f6804c87acd": true,
3-
"89ed26367cdb9b771858e026f2eb95bfdb90e5ae943e716575327ec325f39c44": true,
42
"12377df86d8b18dbec9adfb43e0481e0b587881a1cfdabe55f36030797d37c3c": true,
53
"49eaeddd7d7fff27b70f8392ee578a5ac2e4310616f1e63a4641d83e6d54c20a": true,
64
"e63120231d7cccf328125a7d6b7a0f0748dde5437adcbee74d5bcbca1227c96c": true,
@@ -27,16 +25,6 @@
2725
"5cbabae830fb6834e3287fc882d8667e0fe2ab48286128954d8fa5761ca29552": true,
2826
"a6de5ef1f18b256d0591af30d0406382428be5e7c33467a520486c75be016ffe": true,
2927
"f0bbcaacaabe16a1efd17dfe37a8aa209c2a667ffdff86f41af457bbb00cf5ac": true,
30-
"ce8524e282da226ebbaa5464b940e2ae69144c258551b2dbf1435b7c6302e100": true,
31-
"6d6f2ebdbd4e7ad8aa385dbb928650a4d853c0950af9b4afcc656b0220623312": true,
32-
"34e4fc9788390324a88e26af53de3fc68fe2ab50f653c54f4754198d80d60622": true,
33-
"9b9432713dd36566efb632fff7ccced7e50e1202c116380b8063a25529fe59ab": true,
34-
"8a588a977510f17964f6377a1bb1fe8cf6bfd2495a3d7633eba5b75bce6223e8": true,
35-
"97e17e1d0f7d5db0c320f7ebec78cf6d268d4801ee1e8a7e40f78ec08d98fb88": true,
36-
"cc78a0f08f4167cf523fb67a85f4fb263d0f3b216e1853f13b858e496aa4fd73": true,
37-
"90b0ed5bd75d1bead6b5b0db45e818d751f1ebe5d3183ce3442b65362354dfa3": true,
38-
"93d746c0e3f0de9b6b6f7625321642132335c7494fcdfaf58be8e804ad423b4a": true,
39-
"fa16db39eb1452172cfca7d0c7a3b7003ae2f35ba5d8822a208446a384b83c68": true,
4028
"2358d9e8bfe953d94d9c232e6675bc057a2567d3ee888300fd00970a30af9246": true,
4129
"c666dc68fd9cc1a5a29ef6d53f5778466fe596555f5b295a76d945b2eef66b01": true,
4230
"a5f3254a4e931708080e94db3d92e992ad925275ff11cd34a1ee65f713c5ba7c": true,
@@ -53,5 +41,24 @@
5341
"ce8b885a61f36ce8db82a98539f6d2177fbb18a34479198b5e745e68b5561ad9": true,
5442
"3172025e34cd707101fb055c1b8ea9241690180e9bfa5576e35471bc09e4b121": true,
5543
"f4034f570b1e76e290dbbb42d496bf819764d02ffbb9ebaae137aa9c069392dc": true,
56-
"84869c28f8143f48bf864ed5896930d2f4520f837194e3189f57ddd3b0d994a1": true
44+
"84869c28f8143f48bf864ed5896930d2f4520f837194e3189f57ddd3b0d994a1": true,
45+
"de07ee69c6be5554d7369206886ffd7eff0f0a179e4a2f5890d54ce82029f4ce": true,
46+
"b35cad6dd14bc284dcd4b157f631668c00c3c43de40ecb2211002f5ddd47d9f0": true,
47+
"d7e7aa540941e5262bf86c372eca9ca0c0dfb6bdc72c3039d69e4f6601d170e3": true,
48+
"22cd7789418d82edcd24f6b46dd73f025ddb591baa5fc8c36f907a4db239926b": true,
49+
"d78d6533c5bf3cce0197a21708cf9907c62d0f85b516004f67630770d24bafe3": true,
50+
"7591f788079c305315e21912b2440539221b638ccf51074af4e1b13149970a30": true,
51+
"c19ed1e9719171ea57295171337b2a3715c8d6077909ccc9dd8e6a948c800bb4": true,
52+
"d667ac5490bf7daef2de29ee087c802ecb2ed5d83648fba4cb753b11b7eb6e8f": true,
53+
"f4851921d3daa352d6c2aa2a08dfb80888eac19bdd6208a6784aaa44f6e261e9": true,
54+
"149f7d1aff9e42fe11c156f8fbe97022f0791e6112a9e235db365f23a8a0c2b8": true,
55+
"486233058a21a08dabd1253b6649a8469dad5b9c3efff66c32a10ff387dcd9e7": true,
56+
"3f6a6ef9e7440ad2110bed9e475e3dd7efd42571a34c36d20063e76b7752d61f": true,
57+
"ebbceff22df36f6b1109509da6b4021fbee92260454459ed225d559878fc0157": true,
58+
"10a9c7c77f06b654068b6b79105e1a513ec46c842c822f7d58303abc4a875b48": true,
59+
"20dbdfabb20f55e1e767f9d01a696dad7cfe4790fd28d773b47ab0d112077e9e": true,
60+
"f69033451ef56b8f3c06021eaec5193bab1127dc1826f5a19ab27791dc18950c": true,
61+
"aea3917f574a00bc89ecfdbf7a2896881a902e91aba1929f0f5ba478307e2730": true,
62+
"9faf73c958d4ecb4982f4d3d597a1d559dc101f817231ead43dceeea1a39d2e4": true,
63+
"85943490158f0c278919ff3a6df2b08297bb6c023e398904f69efbdda8f06370": true
5764
}

assets/favicon.png

2.53 KB
Loading

assets/icon.png

23.6 KB
Loading

assets/splash.png

12.9 KB
Loading

components/Favicon.tsx

Lines changed: 0 additions & 27 deletions
This file was deleted.

pages/_app.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { AppearanceProvider } from 'react-native-appearance';
55
import EStyleSheet from 'react-native-extended-stylesheet';
66
import { SafeAreaProvider } from 'react-native-safe-area-context';
77

8-
import Favicon from '../components/Favicon';
98
import CustomAppearanceProvider from '../context/CustomAppearanceProvider';
109
import { Meta } from '../Data';
1110

@@ -110,7 +109,6 @@ export default function App({ Component, router = {}, pageProps }: any) {
110109
<CustomAppearanceProvider>
111110
<ActionSheetProvider>
112111
<>
113-
<Favicon />
114112
<Component {...pageProps} />
115113
</>
116114
</ActionSheetProvider>

pages/_document.tsx

Lines changed: 72 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,78 @@ class CustomDocument extends Document {
5050
sizes="180x180"
5151
href="/apple-touch-icon.png"
5252
/>
53-
<link rel="manifest" href="/site.webmanifest" />
53+
<link rel="manifest" href="/manifest.json" />
54+
<link
55+
rel="icon"
56+
type="image/png"
57+
sizes="16x16"
58+
href="/favicon-16.png"
59+
/>
60+
<link
61+
rel="icon"
62+
type="image/png"
63+
sizes="32x32"
64+
href="/favicon-32.png"
65+
/>
66+
<link rel="shortcut icon" href="/favicon.ico" />
67+
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#4630eb" />
68+
69+
<link
70+
rel="apple-touch-startup-image"
71+
media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"
72+
href="/pwa/apple-touch-startup-image/apple-touch-startup-image-640x1136.png"
73+
></link>
74+
<link
75+
rel="apple-touch-startup-image"
76+
media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"
77+
href="/pwa/apple-touch-startup-image/apple-touch-startup-image-1242x2688.png"
78+
></link>
79+
<link
80+
rel="apple-touch-startup-image"
81+
media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"
82+
href="/pwa/apple-touch-startup-image/apple-touch-startup-image-828x1792.png"
83+
></link>
84+
<link
85+
rel="apple-touch-startup-image"
86+
media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"
87+
href="/pwa/apple-touch-startup-image/apple-touch-startup-image-1125x2436.png"
88+
></link>
89+
<link
90+
rel="apple-touch-startup-image"
91+
media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"
92+
href="/pwa/apple-touch-startup-image/apple-touch-startup-image-1242x2208.png"
93+
></link>
94+
<link
95+
rel="apple-touch-startup-image"
96+
media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"
97+
href="/pwa/apple-touch-startup-image/apple-touch-startup-image-750x1334.png"
98+
></link>
99+
<link
100+
rel="apple-touch-startup-image"
101+
media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"
102+
href="/pwa/apple-touch-startup-image/apple-touch-startup-image-2048x2732.png"
103+
></link>
104+
<link
105+
rel="apple-touch-startup-image"
106+
media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"
107+
href="/pwa/apple-touch-startup-image/apple-touch-startup-image-1668x2388.png"
108+
></link>
109+
<link
110+
rel="apple-touch-startup-image"
111+
media="screen and (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"
112+
href="/pwa/apple-touch-startup-image/apple-touch-startup-image-1668x2224.png"
113+
></link>
114+
<link
115+
rel="apple-touch-startup-image"
116+
media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"
117+
href="/pwa/apple-touch-startup-image/apple-touch-startup-image-1536x2048.png"
118+
></link>
119+
120+
<link
121+
rel="apple-touch-icon"
122+
sizes="180x180"
123+
href="/pwa/apple-touch-icon/apple-touch-icon-180.png"
124+
></link>
54125
</Head>
55126
<body>
56127
<Main />

public/android-chrome-192x192.png

-6.01 KB
Binary file not shown.

public/android-chrome-512x512.png

-19 KB
Binary file not shown.

public/favicon-16.png

531 Bytes
Loading

0 commit comments

Comments
 (0)