Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Add TOTP edit and secret/QR code viewing to mobile app (#1233)
Leendert de Borst8b0ab4fd17bd
diff --git a/apps/mobile-app/app/(tabs)/items/add-edit.tsx b/apps/mobile-app/app/(tabs)/items/add-edit.tsxindex e5d99a171..319d40ad3 100644--- a/apps/mobile-app/app/(tabs)/items/add-edit.tsx+++ b/apps/mobile-app/app/(tabs)/items/add-edit.tsx@@ -1637,6 +1637,8 @@ export default function AddEditItemScreen(): React.ReactNode {onTotpCodesChange={setTotpCodes}originalTotpCodeIds={originalTotpCodeIds}showAddFormRef={totpShowAddFormRef}+ itemDisplayName={item?.Name || undefined}+ itemUsername={(fieldValues['login.username'] as string) || (fieldValues['login.email'] as string) || undefined}/></FormSection>)}diff --git a/apps/mobile-app/components/items/details/TotpEditor.tsx b/apps/mobile-app/components/items/details/TotpEditor.tsxindex daf5d9797..58f63b928 100644--- a/apps/mobile-app/components/items/details/TotpEditor.tsx+++ b/apps/mobile-app/components/items/details/TotpEditor.tsx@@ -4,6 +4,7 @@ import * as OTPAuth from 'otpauth';import React, { useState } from 'react';import { useTranslation } from 'react-i18next';import { View, StyleSheet, TextInput, Modal, TouchableOpacity, ScrollView, KeyboardAvoidingView, Platform } from 'react-native';+import QRCode from 'react-native-qrcode-svg';import { ThemedText } from '@/components/themed/ThemedText';import { ThemedView } from '@/components/themed/ThemedView';@@ -24,6 +25,10 @@ type TotpEditorProps = {onAddPress?: () => void;/** Ref callback to expose the showAddForm function to parent */showAddFormRef?: React.MutableRefObject<(() => void) | null>;+ /** Item display name for QR code generation (issuer) */+ itemDisplayName?: string;+ /** Item username/email for QR code generation (account name) */+ itemUsername?: string;}/**@@ -33,7 +38,9 @@ export const TotpEditor: React.FC<TotpEditorProps> = ({totpCodes,onTotpCodesChange,originalTotpCodeIds,- showAddFormRef+ showAddFormRef,+ itemDisplayName,+ itemUsername}) => {const { t } = useTranslation();const colors = useColors();@@ -42,6 +49,11 @@ export const TotpEditor: React.FC<TotpEditorProps> = ({const [isAddFormVisible, setIsAddFormVisible] = useState(false);const [formData, setFormData] = useState<TotpFormData>({ name: '', secretKey: '' });const [formError, setFormError] = useState<string | null>(null);+ const [isEditModalOpen, setIsEditModalOpen] = useState(false);+ const [editingTotpCode, setEditingTotpCode] = useState<TotpCode | null>(null);+ const [editName, setEditName] = useState('');+ const [editSecret, setEditSecret] = useState('');+ const [showQrCode, setShowQrCode] = useState(false);/*** Shows the add form@@ -182,6 +194,53 @@ export const TotpEditor: React.FC<TotpEditorProps> = ({onTotpCodesChange(updatedTotpCodes);};+ /**+ * Shows the edit modal for a TOTP code+ */+ const showEditModal = (totpCode: TotpCode): void => {+ setEditingTotpCode(totpCode);+ setEditName(totpCode.Name);+ setEditSecret(totpCode.SecretKey);+ setShowQrCode(false);+ setIsEditModalOpen(true);+ };++ /**+ * Closes the edit modal+ */+ const closeEditModal = (): void => {+ setIsEditModalOpen(false);+ setEditingTotpCode(null);+ setEditName('');+ setEditSecret('');+ setShowQrCode(false);+ };++ /**+ * Saves the edited TOTP code+ */+ const saveEditedTotpCode = (): void => {+ if (!editingTotpCode) {+ return;+ }++ const updatedTotpCodes = totpCodes.map(tc =>+ tc.Id === editingTotpCode.Id+ ? { ...tc, Name: editName, SecretKey: editSecret }+ : tc+ );++ onTotpCodesChange(updatedTotpCodes);+ closeEditModal();+ };++ /**+ * Toggles the QR code visibility in the edit modal+ */+ const toggleQrCode = (): void => {+ setShowQrCode(!showQrCode);+ };+// Filter out deleted TOTP codes for displayconst activeTotpCodes = totpCodes.filter(tc => !tc.IsDeleted);const hasActiveTotpCodes = activeTotpCodes.length > 0;@@ -223,9 +282,17 @@ export const TotpEditor: React.FC<TotpEditorProps> = ({fontSize: 14,fontWeight: '600',},+ actionButtons: {+ alignItems: 'center',+ flexDirection: 'row',+ gap: 8,+ },deleteButton: {padding: 4,},+ editButton: {+ padding: 4,+ },errorText: {color: colors.errorText,fontSize: 12,@@ -330,6 +397,15 @@ export const TotpEditor: React.FC<TotpEditorProps> = ({fontSize: 16,fontWeight: '600',},+ qrCodeContainer: {+ alignItems: 'center',+ backgroundColor: 'white',+ borderRadius: 8,+ marginTop: 16,+ marginBottom: 16,+ padding: 16,+ alignSelf: 'center',+ },});return (@@ -365,12 +441,20 @@ export const TotpEditor: React.FC<TotpEditorProps> = ({{t('totp.saveToViewCode')}</ThemedText></View>- <TouchableOpacity- style={styles.deleteButton}- onPress={() => initiateTotpDelete(totpCode)}- >- <Ionicons name="trash" size={20} color={colors.errorText} />- </TouchableOpacity>+ <View style={styles.actionButtons}>+ <TouchableOpacity+ style={styles.editButton}+ onPress={() => showEditModal(totpCode)}+ >+ <Ionicons name="pencil-outline" size={20} color={colors.textMuted} />+ </TouchableOpacity>+ <TouchableOpacity+ style={styles.deleteButton}+ onPress={() => initiateTotpDelete(totpCode)}+ >+ <Ionicons name="trash" size={20} color={colors.errorText} />+ </TouchableOpacity>+ </View></View>))}</View>@@ -467,6 +551,109 @@ export const TotpEditor: React.FC<TotpEditorProps> = ({</View></KeyboardAvoidingView></Modal>++ {/* Edit TOTP Modal */}+ <Modal+ visible={isEditModalOpen}+ transparent+ animationType="fade"+ onRequestClose={closeEditModal}+ >+ <KeyboardAvoidingView+ style={styles.modalContainer}+ behavior="padding"+ keyboardVerticalOffset={Platform.OS === 'android' ? 20 : 0}+ >+ <TouchableOpacity+ style={styles.modalBackdrop}+ activeOpacity={1}+ onPress={closeEditModal}+ />+ <View style={styles.modalContent}>+ <ScrollView+ keyboardShouldPersistTaps="handled"+ showsVerticalScrollIndicator={false}+ >+ <View style={styles.modalHeader}>+ <ThemedText style={styles.modalTitle}>+ {t('common.edit')}+ </ThemedText>+ <TouchableOpacity+ style={styles.modalCloseButton}+ onPress={closeEditModal}+ >+ <MaterialIcons name="close" size={24} color={colors.textMuted} />+ </TouchableOpacity>+ </View>++ {editingTotpCode && (+ <View>+ <ThemedText style={styles.label}>+ {t('totp.nameOptional')}+ </ThemedText>+ <TextInput+ style={styles.input}+ placeholder={t('totp.nameOptional')}+ placeholderTextColor={colors.textMuted}+ value={editName}+ onChangeText={setEditName}+ autoCapitalize="words"+ />++ <View style={styles.label}>+ <View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>+ <ThemedText style={styles.label}>+ {t('totp.secretKey')}+ </ThemedText>+ <TouchableOpacity+ onPress={toggleQrCode}+ style={{ padding: 4 }}+ >+ <Ionicons name="qr-code-outline" size={20} color={colors.textMuted} />+ </TouchableOpacity>+ </View>+ </View>+ <TextInput+ style={[styles.input, { fontFamily: Platform.OS === 'ios' ? 'Courier' : 'monospace' }]}+ placeholder={t('totp.secretKey')}+ placeholderTextColor={colors.textMuted}+ value={editSecret}+ onChangeText={setEditSecret}+ autoCapitalize="characters"+ autoCorrect={false}+ multiline+ />++ {showQrCode && (+ <View style={styles.qrCodeContainer}>+ <QRCode+ value={(() => {+ const issuer = itemDisplayName || 'AliasVault';+ const accountName = itemUsername || editingTotpCode.Name;+ const label = `${encodeURIComponent(issuer)}:${encodeURIComponent(accountName)}`;+ return `otpauth://totp/${label}?secret=${editingTotpCode.SecretKey}&issuer=${encodeURIComponent(issuer)}`;+ })()}+ size={200}+ backgroundColor="white"+ color="black"+ />+ </View>+ )}++ <TouchableOpacity+ style={[styles.modalSaveButton, { marginTop: 16 }]}+ onPress={saveEditedTotpCode}+ >+ <ThemedText style={styles.modalSaveButtonText}>+ {t('common.save')}+ </ThemedText>+ </TouchableOpacity>+ </View>+ )}+ </ScrollView>+ </View>+ </KeyboardAvoidingView>+ </Modal></View>);};diff --git a/apps/mobile-app/i18n/locales/en.json b/apps/mobile-app/i18n/locales/en.jsonindex 7c635e97b..947c5f156 100644--- a/apps/mobile-app/i18n/locales/en.json+++ b/apps/mobile-app/i18n/locales/en.json@@ -4,6 +4,7 @@"close": "Close","delete": "Delete","save": "Save",+ "edit": "Edit","yes": "Yes","no": "No","ok": "OK",diff --git a/apps/mobile-app/package-lock.json b/apps/mobile-app/package-lock.jsonindex b44e89bc2..2d1ce052d 100644--- a/apps/mobile-app/package-lock.json+++ b/apps/mobile-app/package-lock.json@@ -48,11 +48,12 @@"react-native-gesture-handler": "~2.24.0","react-native-get-random-values": "^1.11.0","react-native-image-zoom-viewer": "^3.0.1",+ "react-native-qrcode-svg": "^6.3.21","react-native-quick-crypto": "^0.7.13","react-native-reanimated": "~3.17.4","react-native-safe-area-context": "5.6.1","react-native-screens": "~4.15.4",- "react-native-svg": "15.15.1",+ "react-native-svg": "^15.15.1","react-native-svg-transformer": "^1.5.0","react-native-toast-message": "^2.2.1","react-native-webview": "13.13.5",@@ -7464,7 +7465,6 @@"version": "1.2.0","resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz","integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==",- "devOptional": true,"license": "MIT","engines": {"node": ">=0.10.0"@@ -7643,6 +7643,12 @@"node": "^14.15.0 || ^16.10.0 || >=18.0.0"}},+ "node_modules/dijkstrajs": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/dijkstrajs/-/dijkstrajs-1.0.3.tgz",+ "integrity": "sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA==",+ "license": "MIT"+ },"node_modules/doctrine": {"version": "2.1.0","resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",@@ -14246,7 +14252,6 @@"version": "15.8.1","resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz","integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==",- "dev": true,"license": "MIT","dependencies": {"loose-envify": "^1.4.0",@@ -14258,7 +14263,6 @@"version": "16.13.1","resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz","integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",- "dev": true,"license": "MIT"},"node_modules/property-expr": {@@ -14306,6 +14310,23 @@],"license": "MIT"},+ "node_modules/qrcode": {+ "version": "1.5.4",+ "resolved": "https://registry.npmjs.org/qrcode/-/qrcode-1.5.4.tgz",+ "integrity": "sha512-1ca71Zgiu6ORjHqFBDpnSMTR2ReToX4l1Au1VFLyVeBTFavzQnv5JxMFr3ukHVKpSrSA2MCk0lNJSykjUfz7Zg==",+ "license": "MIT",+ "dependencies": {+ "dijkstrajs": "^1.0.1",+ "pngjs": "^5.0.0",+ "yargs": "^15.3.1"+ },+ "bin": {+ "qrcode": "bin/qrcode"+ },+ "engines": {+ "node": ">=10.13.0"+ }+ },"node_modules/qrcode-terminal": {"version": "0.11.0","resolved": "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.11.0.tgz",@@ -14314,6 +14335,174 @@"qrcode-terminal": "bin/qrcode-terminal.js"}},+ "node_modules/qrcode/node_modules/cliui": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",+ "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",+ "license": "ISC",+ "dependencies": {+ "string-width": "^4.2.0",+ "strip-ansi": "^6.0.0",+ "wrap-ansi": "^6.2.0"+ }+ },+ "node_modules/qrcode/node_modules/emoji-regex": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",+ "license": "MIT"+ },+ "node_modules/qrcode/node_modules/find-up": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",+ "license": "MIT",+ "dependencies": {+ "locate-path": "^5.0.0",+ "path-exists": "^4.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/qrcode/node_modules/is-fullwidth-code-point": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/qrcode/node_modules/locate-path": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",+ "license": "MIT",+ "dependencies": {+ "p-locate": "^4.1.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/qrcode/node_modules/p-limit": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",+ "license": "MIT",+ "dependencies": {+ "p-try": "^2.0.0"+ },+ "engines": {+ "node": ">=6"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/qrcode/node_modules/p-locate": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",+ "license": "MIT",+ "dependencies": {+ "p-limit": "^2.2.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/qrcode/node_modules/pngjs": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz",+ "integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==",+ "license": "MIT",+ "engines": {+ "node": ">=10.13.0"+ }+ },+ "node_modules/qrcode/node_modules/string-width": {+ "version": "4.2.3",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",+ "license": "MIT",+ "dependencies": {+ "emoji-regex": "^8.0.0",+ "is-fullwidth-code-point": "^3.0.0",+ "strip-ansi": "^6.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/qrcode/node_modules/strip-ansi": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",+ "license": "MIT",+ "dependencies": {+ "ansi-regex": "^5.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/qrcode/node_modules/wrap-ansi": {+ "version": "6.2.0",+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",+ "license": "MIT",+ "dependencies": {+ "ansi-styles": "^4.0.0",+ "string-width": "^4.1.0",+ "strip-ansi": "^6.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/qrcode/node_modules/y18n": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",+ "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",+ "license": "ISC"+ },+ "node_modules/qrcode/node_modules/yargs": {+ "version": "15.4.1",+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",+ "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",+ "license": "MIT",+ "dependencies": {+ "cliui": "^6.0.0",+ "decamelize": "^1.2.0",+ "find-up": "^4.1.0",+ "get-caller-file": "^2.0.1",+ "require-directory": "^2.1.1",+ "require-main-filename": "^2.0.0",+ "set-blocking": "^2.0.0",+ "string-width": "^4.2.0",+ "which-module": "^2.0.0",+ "y18n": "^4.0.0",+ "yargs-parser": "^18.1.2"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/qrcode/node_modules/yargs-parser": {+ "version": "18.1.3",+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",+ "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",+ "license": "ISC",+ "dependencies": {+ "camelcase": "^5.0.0",+ "decamelize": "^1.2.0"+ },+ "engines": {+ "node": ">=6"+ }+ },"node_modules/qs": {"version": "6.14.2","resolved": "https://registry.npmjs.org/qs/-/qs-6.14.2.tgz",@@ -14745,6 +14934,22 @@"react-native": "*"}},+ "node_modules/react-native-qrcode-svg": {+ "version": "6.3.21",+ "resolved": "https://registry.npmjs.org/react-native-qrcode-svg/-/react-native-qrcode-svg-6.3.21.tgz",+ "integrity": "sha512-6vcj4rcdpWedvphDR+NSJcudJykNuLgNGFwm2p4xYjR8RdyTzlrELKI5LkO4ANS9cQUbqsfkpippPv64Q2tUtA==",+ "license": "MIT",+ "dependencies": {+ "prop-types": "^15.8.0",+ "qrcode": "^1.5.4",+ "text-encoding": "^0.7.0"+ },+ "peerDependencies": {+ "react": "*",+ "react-native": ">=0.63.4",+ "react-native-svg": ">=14.0.0"+ }+ },"node_modules/react-native-quick-base64": {"version": "2.2.2","resolved": "https://registry.npmjs.org/react-native-quick-base64/-/react-native-quick-base64-2.2.2.tgz",@@ -15185,7 +15390,6 @@"version": "2.0.0","resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz","integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",- "devOptional": true,"license": "ISC"},"node_modules/requireg": {@@ -15758,7 +15962,6 @@"version": "2.0.0","resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz","integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==",- "devOptional": true,"license": "ISC"},"node_modules/set-function-length": {@@ -16887,6 +17090,13 @@"url": "https://github.com/sponsors/isaacs"}},+ "node_modules/text-encoding": {+ "version": "0.7.0",+ "resolved": "https://registry.npmjs.org/text-encoding/-/text-encoding-0.7.0.tgz",+ "integrity": "sha512-oJQ3f1hrOnbRLOcwKz0Liq2IcrvDeZRHXhd9RgLrsT+DjWY/nty1Hi7v3dtkaEYbPYe0mUoOfzRrMwfXXwgPUA==",+ "deprecated": "no longer maintained",+ "license": "(Unlicense OR Apache-2.0)"+ },"node_modules/thenify": {"version": "3.3.1","resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",@@ -17844,7 +18054,6 @@"version": "2.0.1","resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz","integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==",- "devOptional": true,"license": "ISC"},"node_modules/which-typed-array": {diff --git a/apps/mobile-app/package.json b/apps/mobile-app/package.jsonindex e06336842..6de01e515 100644--- a/apps/mobile-app/package.json+++ b/apps/mobile-app/package.json@@ -69,11 +69,12 @@"react-native-gesture-handler": "~2.24.0","react-native-get-random-values": "^1.11.0","react-native-image-zoom-viewer": "^3.0.1",+ "react-native-qrcode-svg": "^6.3.21","react-native-quick-crypto": "^0.7.13","react-native-reanimated": "~3.17.4","react-native-safe-area-context": "5.6.1","react-native-screens": "~4.15.4",- "react-native-svg": "15.15.1",+ "react-native-svg": "^15.15.1","react-native-svg-transformer": "^1.5.0","react-native-toast-message": "^2.2.1","react-native-webview": "13.13.5",