A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: make telemetry opt-in
ammarahm-ed2ab756a847a8
diff --git a/apps/mobile/app/components/auth/signup.js b/apps/mobile/app/components/auth/signup.jsindex 27f62eb8b..161f8fcbf 100644--- a/apps/mobile/app/components/auth/signup.js+++ b/apps/mobile/app/components/auth/signup.js@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.import React, { useRef, useState } from "react";import { Dimensions, View } from "react-native";import Animated, { FadeInDown, FadeOutUp } from "react-native-reanimated";-import umami from "../../common/analytics";import { db } from "../../common/database";import { DDS } from "../../services/device-detection";import { ToastEvent } from "../../services/event-manager";@@ -79,7 +78,6 @@ export const Signup = ({ changeMode, trial }) => {clearMessage();setEmailVerifyMessage();hideAuth();- umami.pageView("/account-created", "/welcome/signup");await sleep(300);if (trial) {PremiumService.sheet(null, null, true);diff --git a/apps/mobile/app/components/intro/index.js b/apps/mobile/app/components/intro/index.jsindex 265206b93..55e07c122 100644--- a/apps/mobile/app/components/intro/index.js+++ b/apps/mobile/app/components/intro/index.js@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public Licensealong with this program. If not, see <http://www.gnu.org/licenses/>.*/-import React, { useEffect } from "react";+import React from "react";import {Dimensions,Image,@@ -26,7 +26,6 @@ import {View} from "react-native";import Icon from "react-native-vector-icons/MaterialCommunityIcons";-import umami from "../../common/analytics";import useGlobalSafeAreaInsets from "../../hooks/use-global-safe-area-insets";import { useNavigationFocus } from "../../hooks/use-navigation-focus";import { DDS } from "../../services/device-detection";@@ -50,9 +49,6 @@ export const SVG_Z =const Intro = ({ navigation }) => {const colors = useThemeStore((state) => state.colors);- const introCompleted = useSettingStore(- (state) => state.settings.introCompleted- );const isTelemetryEnabled = useSettingStore((state) => state.settings.telemetry);@@ -64,12 +60,6 @@ const Intro = ({ navigation }) => {}});- useEffect(() => {- if (!introCompleted) {- umami.pageView("/welcome", "", []);- }- }, [introCompleted]);-return (<ViewtestID="notesnook.splashscreen"@@ -171,8 +161,6 @@ const Intro = ({ navigation }) => {navigation.navigate("AppLock", {welcome: true});-- umami.pageView("/home", "/welcome");}}style={{paddingHorizontal: 24,diff --git a/apps/mobile/app/components/intro/welcome.js b/apps/mobile/app/components/intro/welcome.jsindex 98adede57..4c2caa242 100644--- a/apps/mobile/app/components/intro/welcome.js+++ b/apps/mobile/app/components/intro/welcome.js@@ -19,22 +19,24 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.import React from "react";import Animated, { FadeInDown } from "react-native-reanimated";-import umami from "../../common/analytics";import { DDS } from "../../services/device-detection";import { eSendEvent } from "../../services/event-manager";import Navigation from "../../services/navigation";import SettingsService from "../../services/settings";import { useThemeStore } from "../../stores/use-theme-store";import { getElevation } from "../../utils";-import { eCloseLoading, eOpenLoginDialog } from "../../utils/events";+import {+ eCloseLoading,+ eOpenLoading,+ eOpenLoginDialog+} from "../../utils/events";import { SIZE } from "../../utils/size";+import { sleep } from "../../utils/time";import { AuthMode } from "../auth";import { Button } from "../ui/button";import { SvgView } from "../ui/svg";import Heading from "../ui/typography/heading";import Paragraph from "../ui/typography/paragraph";-import { eOpenLoading } from "../../utils/events";-import { sleep } from "../../utils/time";const IMAGE = (color) =>`<svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" width="1100.50064" height="691.70682" viewBox="0 0 1100.50064 691.70682" xmlns:xlink="http://www.w3.org/1999/xlink"><title>two_factor_authentication</title><path d="M1150.25032,388.23743h-1.85859V337.32194a29.4685,29.4685,0,0,0-29.46859-29.46853H1011.05186a29.4685,29.4685,0,0,0-29.46859,29.46853V616.64827a29.46851,29.46851,0,0,0,29.46859,29.46854h107.87128a29.46851,29.46851,0,0,0,29.46859-29.46854V424.47994h1.85859Z" transform="translate(-49.74968 -104.14659)" fill="#3f3d56"/><path d="M1142.121,339.05342v278.92a22.01111,22.01111,0,0,1-22.01,22.01h-108.39a22.00248,22.00248,0,0,1-22-22.01v-278.92a22.00031,22.00031,0,0,1,22-22h13.15a10.4608,10.4608,0,0,0,9.68,14.4h61.8a10.44027,10.44027,0,0,0,9.67993-14.4H1120.111A22.00894,22.00894,0,0,1,1142.121,339.05342Z" transform="translate(-49.74968 -104.14659)" fill="#d0cde1"/><rect x="945.85129" y="355.70682" width="126" height="34" fill="${color}"/><path d="M1126.601,487.85341h-122a3.00328,3.00328,0,0,1-3-3v-30a3.00328,3.00328,0,0,1,3-3h122a3.00328,3.00328,0,0,1,3,3v30A3.00328,3.00328,0,0,1,1126.601,487.85341Zm-122-34a1.001,1.001,0,0,0-1,1v30a1.00067,1.00067,0,0,0,1,1h122a1.00067,1.00067,0,0,0,1-1v-30a1.001,1.001,0,0,0-1-1Z" transform="translate(-49.74968 -104.14659)" fill="#3f3d56"/><rect x="959.85129" y="374.70682" width="16" height="2" fill="#3f3d56"/><rect x="981.85129" y="374.70682" width="16" height="2" fill="#3f3d56"/><rect x="1003.85129" y="374.70682" width="16" height="2" fill="#3f3d56"/><rect x="1025.85129" y="374.70682" width="16" height="2" fill="#3f3d56"/><rect x="1047.85129" y="374.70682" width="16" height="2" fill="#3f3d56"/><path d="M1142.121,589.61342v28.36a22.01111,22.01111,0,0,1-22.01,22.01h-108.39a22.00248,22.00248,0,0,1-22-22.01v-130.46Z" transform="translate(-49.74968 -104.14659)" opacity="0.1"/><rect x="99.85129" y="459.70682" width="473" height="232" fill="#d0cde1"/><path d="M502.351,795.85341H151.601a2.00591,2.00591,0,0,1-2-2v-228a2.00587,2.00587,0,0,1,2-2h4.44Z" transform="translate(-49.74968 -104.14659)" opacity="0.1"/><rect x="318.85129" y="490.70682" width="732.99951" height="2" fill="#3f3d56"/><path d="M600.34268,108.46435H390.853v-4.31776H295.86217v4.31776H85.5089a14.17039,14.17039,0,0,0-14.1704,14.1704V409.4906a14.17043,14.17043,0,0,0,14.1704,14.17045H600.34268a14.17044,14.17044,0,0,0,14.1704-14.17045V122.63475A14.17039,14.17039,0,0,0,600.34268,108.46435Z" transform="translate(-49.74968 -104.14659)" fill="#3f3d56"/><rect x="40.59128" y="29.35679" width="505.16998" height="284.98004" fill="#d0cde1"/><circle cx="292.74433" cy="16.4075" r="5.18132" fill="${color}"/><path d="M240.601,239.85341h-12a3.00328,3.00328,0,0,1-3-3v-12a3.00328,3.00328,0,0,1,3-3h12a3.00328,3.00328,0,0,1,3,3v12A3.00328,3.00328,0,0,1,240.601,239.85341Zm-12-16a1.0013,1.0013,0,0,0-1,1v12a1.0013,1.0013,0,0,0,1,1h12a1.0013,1.0013,0,0,0,1-1v-12a1.0013,1.0013,0,0,0-1-1Z" transform="translate(-49.74968 -104.14659)" fill="#3f3d56"/><rect x="176.85129" y="133.70682" width="228" height="2" fill="#3f3d56"/><rect x="345.85129" y="188.70682" width="53" height="16" fill="${color}"/><path d="M452.601,304.85341h-49a3.00328,3.00328,0,0,1-3-3v-12a3.00328,3.00328,0,0,1,3-3h49a3.00328,3.00328,0,0,1,3,3v12A3.00328,3.00328,0,0,1,452.601,304.85341Zm-49-16a1.0013,1.0013,0,0,0-1,1v12a1.0013,1.0013,0,0,0,1,1h49a1.0013,1.0013,0,0,0,1-1v-12a1.0013,1.0013,0,0,0-1-1Z" transform="translate(-49.74968 -104.14659)" fill="#3f3d56"/><rect x="703.85129" y="206.70682" width="100" height="70" fill="${color}"/><path d="M863.601,375.35341h-96a4.00427,4.00427,0,0,1-4-4v-66a4.00427,4.00427,0,0,1,4-4h96a4.00426,4.00426,0,0,1,4,4v66A4.00426,4.00426,0,0,1,863.601,375.35341Zm-96-70v66H863.6039l-.00293-66Z" transform="translate(-49.74968 -104.14659)" fill="#3f3d56"/><path d="M852.601,302.85341h-4a33,33,0,1,0-66,0h-4a37,37,0,1,1,74,0Z" transform="translate(-49.74968 -104.14659)" fill="#3f3d56"/><path d="M825.601,330.35341a10.00023,10.00023,0,1,0-15.29412,8.47258V349.5593a5.29411,5.29411,0,0,0,5.29412,5.29411h0a5.29411,5.29411,0,0,0,5.29411-5.29411V338.826A9.98327,9.98327,0,0,0,825.601,330.35341Z" transform="translate(-49.74968 -104.14659)" fill="#3f3d56"/><rect x="284.35129" y="562.70682" width="16" height="2" fill="#3f3d56"/><rect x="306.35129" y="562.70682" width="16" height="2" fill="#3f3d56"/><rect x="328.35129" y="562.70682" width="16" height="2" fill="#3f3d56"/><rect x="350.35129" y="562.70682" width="16" height="2" fill="#3f3d56"/><rect x="372.35129" y="562.70682" width="16" height="2" fill="#3f3d56"/><path d="M643.60059,778.85352H174.60107a4.00428,4.00428,0,0,1-4-4v-228a4.00427,4.00427,0,0,1,4-4H643.60059a4.004,4.004,0,0,1,4,4v228A4.004,4.004,0,0,1,643.60059,778.85352Zm-468.99952-232v228H643.60352l-.00293-228Z" transform="translate(-49.74968 -104.14659)" fill="#3f3d56"/><circle cx="145.85129" cy="470.70682" r="6" fill="#3f3d56"/><circle cx="166.85129" cy="470.70682" r="6" fill="#3f3d56"/><circle cx="187.85129" cy="470.70682" r="6" fill="#3f3d56"/><path d="M453.601,680.85341h-135a3.00328,3.00328,0,0,1-3-3v-34a3.00328,3.00328,0,0,1,3-3h135a3.00328,3.00328,0,0,1,3,3v34A3.00328,3.00328,0,0,1,453.601,680.85341Zm-135-38a1.001,1.001,0,0,0-1,1v34a1.001,1.001,0,0,0,1,1h135a1.001,1.001,0,0,0,1-1v-34a1.001,1.001,0,0,0-1-1Z" transform="translate(-49.74968 -104.14659)" fill="#3f3d56"/><circle cx="437.85129" cy="559.70682" r="18" fill="${color}"/><path d="M493.601,679.85341a19,19,0,1,1,19-19A19.02162,19.02162,0,0,1,493.601,679.85341Zm0-36a17,17,0,1,0,17,17A17.019,17.019,0,0,0,493.601,643.85341Z" transform="translate(-49.74968 -104.14659)" fill="#3f3d56"/><polygon points="444.118 563.803 434.437 554.121 437.265 551.293 443.584 557.611 461.216 532.555 464.487 534.858 444.118 563.803" fill="#3f3d56"/><polygon points="433.761 314.337 40.591 314.337 40.591 50.947 433.761 314.337" opacity="0.1"/><path d="M628.69739,413.2984H579.39527v-3.55218a.7043.7043,0,0,0-.70431-.70432H561.78737a.70429.70429,0,0,0-.70431.70432v3.55218H550.51832v-3.55218a.7043.7043,0,0,0-.70432-.70432H532.91042a.7043.7043,0,0,0-.70432.70432v3.55218H521.64136v-3.55218a.70429.70429,0,0,0-.70431-.70432H504.03347a.7043.7043,0,0,0-.70432.70432v3.55218H492.76441v-3.55218a.7043.7043,0,0,0-.70432-.70432H475.15651a.70429.70429,0,0,0-.70431.70432v3.55218H463.88746v-3.55218a.7043.7043,0,0,0-.70432-.70432H446.27956a.7043.7043,0,0,0-.70432.70432v3.55218H435.0105v-3.55218a.70429.70429,0,0,0-.70431-.70432H417.4026a.7043.7043,0,0,0-.70431.70432v3.55218H406.13355v-3.55218a.7043.7043,0,0,0-.70432-.70432H273.01784a.7043.7043,0,0,0-.70432.70432v3.55218H261.74878v-3.55218a.7043.7043,0,0,0-.70432-.70432H244.14088a.70429.70429,0,0,0-.70431.70432v3.55218H232.87183v-3.55218a.7043.7043,0,0,0-.70432-.70432H215.26393a.7043.7043,0,0,0-.70432.70432v3.55218H203.99487v-3.55218a.70429.70429,0,0,0-.70431-.70432H186.387a.7043.7043,0,0,0-.70431.70432v3.55218H175.11792v-3.55218a.7043.7043,0,0,0-.70432-.70432H157.51a.7043.7043,0,0,0-.70432.70432v3.55218H146.241v-3.55218a.7043.7043,0,0,0-.70432-.70432H128.63307a.7043.7043,0,0,0-.70432.70432v3.55218H117.364v-3.55218a.7043.7043,0,0,0-.70431-.70432H99.75611a.70429.70429,0,0,0-.70431.70432v3.55218H66.65326A16.90359,16.90359,0,0,0,49.74968,430.202v7.6434a16.90358,16.90358,0,0,0,16.90358,16.90354H628.69739A16.90358,16.90358,0,0,0,645.601,437.84539V430.202A16.90359,16.90359,0,0,0,628.69739,413.2984Z" transform="translate(-49.74968 -104.14659)" fill="#3f3d56"/><path d="M474.601,321.85341h-264a3.00328,3.00328,0,0,1-3-3v-110a3.00328,3.00328,0,0,1,3-3h264a3.00328,3.00328,0,0,1,3,3v110A3.00328,3.00328,0,0,1,474.601,321.85341Zm-264-114a1.0013,1.0013,0,0,0-1,1v110a1.0013,1.0013,0,0,0,1,1h264a1.0013,1.0013,0,0,0,1-1v-110a1.0013,1.0013,0,0,0-1-1Z" transform="translate(-49.74968 -104.14659)" fill="#3f3d56"/><path d="M240.601,269.85341h-12a3.00328,3.00328,0,0,1-3-3v-12a3.00328,3.00328,0,0,1,3-3h12a3.00328,3.00328,0,0,1,3,3v12A3.00328,3.00328,0,0,1,240.601,269.85341Zm-12-16a1.0013,1.0013,0,0,0-1,1v12a1.0013,1.0013,0,0,0,1,1h12a1.0013,1.0013,0,0,0,1-1v-12a1.0013,1.0013,0,0,0-1-1Z" transform="translate(-49.74968 -104.14659)" fill="#3f3d56"/><rect x="176.85129" y="163.70682" width="228" height="2" fill="#3f3d56"/><rect x="264.85129" y="269.70682" width="732.99951" height="2" fill="#3f3d56"/><circle cx="264.85129" cy="269.70682" r="14" fill="#3f3d56"/><circle cx="997.85129" cy="271.70682" r="11" fill="#3f3d56"/><circle cx="1051.85129" cy="492.70682" r="11" fill="#3f3d56"/><circle cx="321.85129" cy="492.70682" r="11" fill="#3f3d56"/></svg>`;@@ -84,7 +86,6 @@ export const WelcomeNotice = () => {});}, 1000);- umami.pageView("/encryptionnotice", "/welcome/privacymode");}}style={{paddingHorizontal: 24,diff --git a/apps/mobile/app/components/premium/component.js b/apps/mobile/app/components/premium/component.jsindex 5d9f58dea..bbe25fc23 100644--- a/apps/mobile/app/components/premium/component.js+++ b/apps/mobile/app/components/premium/component.js@@ -18,9 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/import React, { useState } from "react";-import { ActivityIndicator, ScrollView, View } from "react-native";+import { ActivityIndicator, Platform, ScrollView, View } from "react-native";import { LAUNCH_ROCKET } from "../../assets/images/assets";-import umami from "../../common/analytics";import { db } from "../../common/database";import { usePricing } from "../../hooks/use-pricing";import { DDS } from "../../services/device-detection";@@ -48,7 +47,6 @@ import { Walkthrough } from "../walkthroughs";import { features } from "./features";import { Group } from "./group";import { PricingPlans } from "./pricing-plans";-import { Platform } from "react-native";export const Component = ({ close, promo }) => {const colors = useThemeStore((state) => state.colors);@@ -60,7 +58,6 @@ export const Component = ({ close, promo }) => {const onPress = async () => {if (user) {- umami.pageView("/pro-plans", "/pro-screen");presentSheet({context: "pricing_plans",component: (@@ -69,7 +66,6 @@ export const Component = ({ close, promo }) => {});} else {close();- umami.pageView("/signup", "/pro-screen");setTimeout(() => {eSendEvent(eOpenLoginDialog, AuthMode.trialSignup);}, 400);diff --git a/apps/mobile/app/components/premium/pricing-plans.js b/apps/mobile/app/components/premium/pricing-plans.jsindex b075eaed5..c6b66e344 100644--- a/apps/mobile/app/components/premium/pricing-plans.js+++ b/apps/mobile/app/components/premium/pricing-plans.js@@ -17,10 +17,9 @@ You should have received a copy of the GNU General Public Licensealong with this program. If not, see <http://www.gnu.org/licenses/>.*/-import React, { useEffect, useState } from "react";+import React, { useCallback, useEffect, useState } from "react";import { ActivityIndicator, Platform, Text, View } from "react-native";import * as RNIap from "react-native-iap";-import umami from "../../common/analytics";import { db } from "../../common/database";import { usePricing } from "../../hooks/use-pricing";import {@@ -48,7 +47,6 @@ import Heading from "../ui/typography/heading";import Paragraph from "../ui/typography/paragraph";import { Walkthrough } from "../walkthroughs";import { PricingItem } from "./pricing-item";-import { useCallback } from "react";const promoCyclesMonthly = {1: "first month",@@ -141,10 +139,6 @@ export const PricingPlans = ({setBuying(false);return;}- umami.pageView(- "/iap-native",- `${compact ? "pro-sheet" : "pro-screen"}/pro-plans`- );await RNIap.requestSubscription(product?.productId,false,diff --git a/apps/mobile/app/components/side-menu/index.js b/apps/mobile/app/components/side-menu/index.jsindex 8896b9869..c2a101fa2 100644--- a/apps/mobile/app/components/side-menu/index.js+++ b/apps/mobile/app/components/side-menu/index.js@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.import React, { useCallback } from "react";import { FlatList, View } from "react-native";import { notesnook } from "../../../e2e/test.ids";-import umami from "../../common/analytics";import useGlobalSafeAreaInsets from "../../hooks/use-global-safe-area-insets";import { DDS } from "../../services/device-detection";import { eSendEvent } from "../../services/event-manager";@@ -76,7 +75,6 @@ export const SideMenu = React.memo(name: "Notesnook Pro",icon: "crown",func: () => {- umami.pageView("/pro-screen", "/sidemenu");eSendEvent(eOpenPremiumDialog);}};diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor-events.ts b/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsindex cf8244606..66773168b 100644--- a/apps/mobile/app/screens/editor/tiptap/use-editor-events.ts+++ b/apps/mobile/app/screens/editor/tiptap/use-editor-events.ts@@ -28,8 +28,9 @@ import {NativeEventSubscription} from "react-native";import { WebViewMessageEvent } from "react-native-webview";-import umami from "../../../common/analytics/index";import { db } from "../../../common/database";+import { RelationsList } from "../../../components/sheets/relations-list";+import ReminderSheet from "../../../components/sheets/reminder";import useKeyboard from "../../../hooks/use-keyboard";import { DDS } from "../../../services/device-detection";import {@@ -53,15 +54,13 @@ import {eOpenPublishNoteDialog,eOpenTagsDialog} from "../../../utils/events";+import { openLinkInBrowser } from "../../../utils/functions";import { tabBarRef } from "../../../utils/global-refs";import { NoteType } from "../../../utils/types";import { useDragState } from "../../settings/editor/state";+import { EventTypes } from "./editor-events";import { EditorMessage, EditorProps, useEditorType } from "./types";import { EditorEvents, editorState } from "./utils";-import { openLinkInBrowser } from "../../../utils/functions";-import { EventTypes } from "./editor-events";-import { RelationsList } from "../../../components/sheets/relations-list";-import ReminderSheet from "../../../components/sheets/reminder";const publishNote = async (editor: useEditorType) => {const user = useUserStore.getState().user;@@ -363,7 +362,6 @@ export const useEditorEvents = (if (editor.state.current?.isFocused) {editor.state.current.isFocused = true;}- umami.pageView("/pro-screen", "/editor");eSendEvent(eOpenPremiumDialog);break;case EventTypes.monograph:diff --git a/apps/mobile/app/screens/settings/app-lock.js b/apps/mobile/app/screens/settings/app-lock.jsindex 11593d0d3..4e9ad7c9f 100644--- a/apps/mobile/app/screens/settings/app-lock.js+++ b/apps/mobile/app/screens/settings/app-lock.js@@ -21,7 +21,6 @@ import React, { useState } from "react";import { Dimensions, LayoutAnimation, Platform, View } from "react-native";import Animated, { FadeInDown, FadeOutUp } from "react-native-reanimated";import Icon from "react-native-vector-icons/MaterialCommunityIcons";-import umami from "../../common/analytics";import { SVG_Z } from "../../components/intro";import { WelcomeNotice } from "../../components/intro/welcome";import { Button } from "../../components/ui/button";@@ -205,7 +204,6 @@ const AppLock = ({ route }) => {type: "linear"}});- umami.pageView("/privacymode", "/welcome");setStep(1);}}style={{diff --git a/apps/mobile/app/services/message.js b/apps/mobile/app/services/message.jsindex dc968c514..dfc84517c 100644--- a/apps/mobile/app/services/message.js+++ b/apps/mobile/app/services/message.js@@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public Licensealong with this program. If not, see <http://www.gnu.org/licenses/>.*/+import { Platform } from "react-native";+import { verifyUser } from "../screens/settings/functions";import { useMessageStore } from "../stores/use-message-store";import {eOpenLoginDialog,@@ -25,9 +27,6 @@ import {} from "../utils/events";import { eSendEvent } from "./event-manager";import PremiumService from "./premium";-import { verifyUser } from "../screens/settings/functions";-import { Platform } from "react-native";-import umami from "../common/analytics";import SettingsService from "./settings";const rateAppMessage = {@@ -82,7 +81,6 @@ const loginMessage = {message: "You are not logged in",actionText: "Login to encrypt and sync notes",onPress: () => {- umami.pageView("/signup", "/welcome/home");eSendEvent(eOpenLoginDialog);},data: {},diff --git a/apps/mobile/app/stores/use-setting-store.ts b/apps/mobile/app/stores/use-setting-store.tsindex 9e4a0cc07..f98721fbf 100644--- a/apps/mobile/app/stores/use-setting-store.ts+++ b/apps/mobile/app/stores/use-setting-store.ts@@ -19,12 +19,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.import { Dimensions, PlatformOSType } from "react-native";import Config from "react-native-config";+import { Sound } from "react-native-notification-sounds";+import { initialWindowMetrics } from "react-native-safe-area-context";import { FileType } from "react-native-scoped-storage";import create, { State } from "zustand";-import { ACCENT } from "../utils/color-scheme";-import { initialWindowMetrics } from "react-native-safe-area-context";import { Reminder } from "../services/notifications";-import { Sound } from "react-native-notification-sounds";+import { ACCENT } from "../utils/color-scheme";export type Settings = {showToolbarOnTop?: boolean;@@ -123,7 +123,7 @@ export const useSettingStore = create<SettingStore>((set) => ({screenshotMode: true,privacyScreen: false,appLockMode: "none",- telemetry: true,+ telemetry: false,notebooksListMode: "normal",notesListMode: "normal",devMode: false,