mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:23:25 +00:00
fix: use different module that probably builds on windows
This commit is contained in:
@@ -59,7 +59,7 @@ const defineConfig = (): ExpoConfig => ({
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"expo-dynamic-app-icon",
|
"@config-plugins/react-native-dynamic-app-icon",
|
||||||
{
|
{
|
||||||
main: {
|
main: {
|
||||||
image: "./assets/images/main.png",
|
image: "./assets/images/main.png",
|
||||||
|
@@ -18,6 +18,7 @@
|
|||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@config-plugins/react-native-dynamic-app-icon": "^7.0.0",
|
||||||
"@expo/metro-config": "^0.17.3",
|
"@expo/metro-config": "^0.17.3",
|
||||||
"@movie-web/colors": "*",
|
"@movie-web/colors": "*",
|
||||||
"@movie-web/provider-utils": "*",
|
"@movie-web/provider-utils": "*",
|
||||||
@@ -36,7 +37,6 @@
|
|||||||
"expo-brightness": "~11.8.0",
|
"expo-brightness": "~11.8.0",
|
||||||
"expo-build-properties": "~0.11.1",
|
"expo-build-properties": "~0.11.1",
|
||||||
"expo-constants": "~15.4.5",
|
"expo-constants": "~15.4.5",
|
||||||
"expo-dynamic-app-icon": "github:simonsturge/expo-dynamic-app-icon",
|
|
||||||
"expo-haptics": "~12.8.1",
|
"expo-haptics": "~12.8.1",
|
||||||
"expo-linear-gradient": "^12.7.2",
|
"expo-linear-gradient": "^12.7.2",
|
||||||
"expo-linking": "~6.2.2",
|
"expo-linking": "~6.2.2",
|
||||||
@@ -64,6 +64,7 @@
|
|||||||
"react-native-screens": "~3.29.0",
|
"react-native-screens": "~3.29.0",
|
||||||
"react-native-svg": "14.1.0",
|
"react-native-svg": "14.1.0",
|
||||||
"react-native-web": "^0.19.10",
|
"react-native-web": "^0.19.10",
|
||||||
|
"rn-dynamic-app-icon": "^0.6.1",
|
||||||
"subsrt-ts": "^2.1.2",
|
"subsrt-ts": "^2.1.2",
|
||||||
"tamagui": "^1.91.4",
|
"tamagui": "^1.91.4",
|
||||||
"zustand": "^4.4.7"
|
"zustand": "^4.4.7"
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import { setAppIcon } from "expo-dynamic-app-icon";
|
import { changeIcon } from "rn-dynamic-app-icon";
|
||||||
import { create } from "zustand";
|
import { create } from "zustand";
|
||||||
import { immer } from "zustand/middleware/immer";
|
import { immer } from "zustand/middleware/immer";
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ export const useThemeStore = create(
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
set((s) => {
|
set((s) => {
|
||||||
s.theme = newTheme;
|
s.theme = newTheme;
|
||||||
setAppIcon(newTheme);
|
void changeIcon(newTheme);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
44
pnpm-lock.yaml
generated
44
pnpm-lock.yaml
generated
@@ -26,6 +26,9 @@ importers:
|
|||||||
|
|
||||||
apps/expo:
|
apps/expo:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
'@config-plugins/react-native-dynamic-app-icon':
|
||||||
|
specifier: ^7.0.0
|
||||||
|
version: 7.0.0(expo@50.0.13)
|
||||||
'@expo/metro-config':
|
'@expo/metro-config':
|
||||||
specifier: ^0.17.3
|
specifier: ^0.17.3
|
||||||
version: 0.17.3(@react-native/babel-preset@0.73.21)
|
version: 0.17.3(@react-native/babel-preset@0.73.21)
|
||||||
@@ -80,9 +83,6 @@ importers:
|
|||||||
expo-constants:
|
expo-constants:
|
||||||
specifier: ~15.4.5
|
specifier: ~15.4.5
|
||||||
version: 15.4.5(expo@50.0.13)
|
version: 15.4.5(expo@50.0.13)
|
||||||
expo-dynamic-app-icon:
|
|
||||||
specifier: github:simonsturge/expo-dynamic-app-icon
|
|
||||||
version: github.com/simonsturge/expo-dynamic-app-icon/acfd73827573e99a5e1bfbe47cf2fb1656e9ccf0(expo@50.0.13)(react-native@0.73.5)(react@18.2.0)
|
|
||||||
expo-haptics:
|
expo-haptics:
|
||||||
specifier: ~12.8.1
|
specifier: ~12.8.1
|
||||||
version: 12.8.1(expo@50.0.13)
|
version: 12.8.1(expo@50.0.13)
|
||||||
@@ -164,6 +164,9 @@ importers:
|
|||||||
react-native-web:
|
react-native-web:
|
||||||
specifier: ^0.19.10
|
specifier: ^0.19.10
|
||||||
version: 0.19.10(react-dom@18.2.0)(react@18.2.0)
|
version: 0.19.10(react-dom@18.2.0)(react@18.2.0)
|
||||||
|
rn-dynamic-app-icon:
|
||||||
|
specifier: ^0.6.1
|
||||||
|
version: 0.6.1(react-native@0.73.5)(react@18.2.0)
|
||||||
subsrt-ts:
|
subsrt-ts:
|
||||||
specifier: ^2.1.2
|
specifier: ^2.1.2
|
||||||
version: 2.1.2
|
version: 2.1.2
|
||||||
@@ -1854,6 +1857,15 @@ packages:
|
|||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
/@config-plugins/react-native-dynamic-app-icon@7.0.0(expo@50.0.13):
|
||||||
|
resolution: {integrity: sha512-ujNXdDCso8HI9KHJIanDMP558mQ43w3YT7mVD82kBxL/WTWQ9tZav7Qu12fzipZkVL4oLDQNrPgbzYRCfZpN6g==}
|
||||||
|
peerDependencies:
|
||||||
|
expo: ^50
|
||||||
|
dependencies:
|
||||||
|
expo: 50.0.13(@babel/core@7.23.9)(@react-native/babel-preset@0.73.21)
|
||||||
|
xcode: 3.0.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@craftzdog/react-native-buffer@6.0.5(react-native@0.73.5)(react@18.2.0):
|
/@craftzdog/react-native-buffer@6.0.5(react-native@0.73.5)(react@18.2.0):
|
||||||
resolution: {integrity: sha512-Av+YqfwA9e7jhgI9GFE/gTpwl/H+dRRLmZyJPOpKTy107j9Oj7oXlm3/YiMNz+C/CEGqcKAOqnXDLs4OL6AAFw==}
|
resolution: {integrity: sha512-Av+YqfwA9e7jhgI9GFE/gTpwl/H+dRRLmZyJPOpKTy107j9Oj7oXlm3/YiMNz+C/CEGqcKAOqnXDLs4OL6AAFw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -11951,6 +11963,16 @@ packages:
|
|||||||
inherits: 2.0.4
|
inherits: 2.0.4
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
/rn-dynamic-app-icon@0.6.1(react-native@0.73.5)(react@18.2.0):
|
||||||
|
resolution: {integrity: sha512-pYC13v1quEFPrYwFK700uM6TmhoTLl/2Mr8PB8godAXhAdnfPEPVgb3TYex3iDXxATc1yevb93XsWIkZn61lNw==}
|
||||||
|
peerDependencies:
|
||||||
|
react: '*'
|
||||||
|
react-native: '*'
|
||||||
|
dependencies:
|
||||||
|
react: 18.2.0
|
||||||
|
react-native: 0.73.5(@babel/core@7.23.9)(@babel/preset-env@7.23.9)(react@18.2.0)
|
||||||
|
dev: false
|
||||||
|
|
||||||
/run-async@2.4.1:
|
/run-async@2.4.1:
|
||||||
resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==}
|
resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==}
|
||||||
engines: {node: '>=0.12.0'}
|
engines: {node: '>=0.12.0'}
|
||||||
@@ -13707,19 +13729,3 @@ packages:
|
|||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
use-sync-external-store: 1.2.0(react@18.2.0)
|
use-sync-external-store: 1.2.0(react@18.2.0)
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
github.com/simonsturge/expo-dynamic-app-icon/acfd73827573e99a5e1bfbe47cf2fb1656e9ccf0(expo@50.0.13)(react-native@0.73.5)(react@18.2.0):
|
|
||||||
resolution: {tarball: https://codeload.github.com/simonsturge/expo-dynamic-app-icon/tar.gz/acfd73827573e99a5e1bfbe47cf2fb1656e9ccf0}
|
|
||||||
id: github.com/simonsturge/expo-dynamic-app-icon/acfd73827573e99a5e1bfbe47cf2fb1656e9ccf0
|
|
||||||
name: expo-dynamic-app-icon
|
|
||||||
version: 1.2.0
|
|
||||||
requiresBuild: true
|
|
||||||
peerDependencies:
|
|
||||||
expo: '>=49'
|
|
||||||
react: '*'
|
|
||||||
react-native: '*'
|
|
||||||
dependencies:
|
|
||||||
expo: 50.0.13(@babel/core@7.23.9)(@react-native/babel-preset@0.73.21)
|
|
||||||
react: 18.2.0
|
|
||||||
react-native: 0.73.5(@babel/core@7.23.9)(@babel/preset-env@7.23.9)(react@18.2.0)
|
|
||||||
dev: false
|
|
||||||
|
Reference in New Issue
Block a user