diff --git a/app/(auth)/(tabs)/(home)/settings/logs/page.tsx b/app/(auth)/(tabs)/(home)/settings/logs/page.tsx index e0b1380c..df09611b 100644 --- a/app/(auth)/(tabs)/(home)/settings/logs/page.tsx +++ b/app/(auth)/(tabs)/(home)/settings/logs/page.tsx @@ -4,7 +4,7 @@ import { FilterButton } from "@/components/filters/FilterButton"; import { LogLevel, useLog, writeErrorLog } from "@/utils/log"; import * as FileSystem from "expo-file-system"; import { useNavigation } from "expo-router"; -//import * as Sharing from "expo-sharing"; +import * as Sharing from "expo-sharing"; import React, { useCallback, useEffect, useMemo, useState } from "react"; import { useTranslation } from "react-i18next"; import { ScrollView, TouchableOpacity, View } from "react-native"; @@ -48,7 +48,7 @@ export default function page() { FileSystem.writeAsStringAsync(uri, JSON.stringify(filteredLogs)) .then(() => { setLoading(false); - //Sharing.shareAsync(uri, { mimeType: "txt", UTI: "txt" }); + Sharing.shareAsync(uri, { mimeType: "txt", UTI: "txt" }); }) .catch((e) => writeErrorLog("Something went wrong attempting to export", e), diff --git a/package.json b/package.json index f620cd45..1a481123 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "expo-router": "~4.0.17", "expo-screen-orientation": "~8.0.4", "expo-sensors": "~14.0.2", - "expo-sharing": "~13.0.1", + "expo-sharing": "~13.1.0", "expo-splash-screen": "~0.29.22", "expo-status-bar": "~2.0.1", "expo-system-ui": "~4.0.8",