From 367f71c55bd0623d7b10e05ac42ad2c51585b8b6 Mon Sep 17 00:00:00 2001 From: Berend Sliedrecht Date: Tue, 26 Nov 2024 14:48:56 +0100 Subject: [PATCH] fix: import fast-text-encoding Signed-off-by: Berend Sliedrecht --- apps/easypid/index.ts | 1 + apps/easypid/package.json | 3 ++- apps/easypid/src/app/+native-intent.tsx | 2 ++ apps/easypid/src/app/_layout.tsx | 2 ++ pnpm-lock.yaml | 3 +++ 5 files changed, 10 insertions(+), 1 deletion(-) diff --git a/apps/easypid/index.ts b/apps/easypid/index.ts index 67000ccb..fc8a77fb 100644 --- a/apps/easypid/index.ts +++ b/apps/easypid/index.ts @@ -1 +1,2 @@ +import 'fast-text-encoding' import 'expo-router/entry' diff --git a/apps/easypid/package.json b/apps/easypid/package.json index 1dbca974..7b80551b 100644 --- a/apps/easypid/package.json +++ b/apps/easypid/package.json @@ -14,6 +14,7 @@ "@animo-id/expo-ausweis-sdk": "catalog:", "@animo-id/expo-mdoc-data-transfer": "catalog:", "@animo-id/expo-secure-environment": "catalog:", + "@animo-id/mdoc": "catalog:", "@credo-ts/core": "catalog:", "@expo-google-fonts/open-sans": "^0.2.3", "@expo-google-fonts/raleway": "^0.2.3", @@ -26,7 +27,6 @@ "@package/secure-store": "workspace:*", "@package/ui": "workspace:*", "@package/utils": "workspace:*", - "@animo-id/mdoc": "catalog:", "@react-native-community/blur": "^4.3.2", "@react-native-community/netinfo": "11.3.1", "@react-native-masked-view/masked-view": "0.3.1", @@ -51,6 +51,7 @@ "expo-system-ui": "~3.0.6", "expo-updates": "~0.25.16", "expo-web-browser": "~13.0.3", + "fast-text-encoding": "^1.0.6", "react": "catalog:", "react-native": "catalog:", "react-native-argon2": "^2.0.1", diff --git a/apps/easypid/src/app/+native-intent.tsx b/apps/easypid/src/app/+native-intent.tsx index 82366ec1..60e24862 100644 --- a/apps/easypid/src/app/+native-intent.tsx +++ b/apps/easypid/src/app/+native-intent.tsx @@ -1,3 +1,5 @@ +import 'fast-text-encoding' + import { parseInvitationUrl } from '@package/agent' import { deeplinkSchemes } from '@package/app' import * as Haptics from 'expo-haptics' diff --git a/apps/easypid/src/app/_layout.tsx b/apps/easypid/src/app/_layout.tsx index 68169ce7..0fcb2642 100644 --- a/apps/easypid/src/app/_layout.tsx +++ b/apps/easypid/src/app/_layout.tsx @@ -1,3 +1,5 @@ +import 'fast-text-encoding' + import { BackgroundLockProvider, NoInternetToastProvider, Provider, useTransparentNavigationBar } from '@package/app' import { SecureUnlockProvider } from '@package/secure-store/secureUnlock' import { DefaultTheme, ThemeProvider } from '@react-navigation/native' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8dd917ec..e6a7ea70 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -212,6 +212,9 @@ importers: expo-web-browser: specifier: ~13.0.3 version: 13.0.3(expo@51.0.39(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))) + fast-text-encoding: + specifier: ^1.0.6 + version: 1.0.6 react: specifier: 'catalog:' version: 18.3.1