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
update app version
ammarahm-edc665b31039a5
diff --git a/apps/mobile/AppRootEvents.js b/apps/mobile/AppRootEvents.jsindex d0df21474..d912f5c85 100644--- a/apps/mobile/AppRootEvents.js+++ b/apps/mobile/AppRootEvents.js@@ -55,8 +55,10 @@ const onAppStateChanged = async (state) => {if (SettingsService.get().privacyScreen) {enabled(false);}+await MMKV.removeItem('appState');let intent = await MMKV.getItem('notesAddedFromIntent');+ console.log("FROM INTENT",intent)if (intent) {try {if (Platform.OS === 'ios') {@@ -64,6 +66,7 @@ const onAppStateChanged = async (state) => {await db.notes.init();updateEvent({type: Actions.NOTES});eSendEvent(refreshNotesPage);+ console.log("RELOADING APP")} else {updateEvent({type: Actions.NOTES});eSendEvent(refreshNotesPage);@@ -75,6 +78,7 @@ const onAppStateChanged = async (state) => {updateEvent({type: Actions.ALL});eSendEvent(refreshNotesPage);}+} else {if (editing.currentlyEditing && getAppIsIntialized()) {let state = JSON.stringify({@@ -99,8 +103,9 @@ export const AppRootEvents = React.memo(const {loading} = state;useEffect(() => {- console.log('EVENT ROOT', loading);+if (!loading) {+ console.log('SUB EVENTS', loading);Linking.getInitialURL().then(async (url) => {if (url &&@@ -156,7 +161,7 @@ export const AppRootEvents = React.memo(Linking.removeEventListener('url', onUrlRecieved);unsubIAP();};- }, []);+ }, [loading]);const onSyncComplete = async () => {dispatch({type: Actions.ALL});diff --git a/apps/mobile/ios/Make Note/Info.plist b/apps/mobile/ios/Make Note/Info.plistindex 03d51a5c5..df964a2cb 100644--- a/apps/mobile/ios/Make Note/Info.plist+++ b/apps/mobile/ios/Make Note/Info.plist@@ -36,7 +36,7 @@<key>NSExtensionActivationSupportsText</key><true/><key>NSExtensionActivationSupportsWebURLWithMaxCount</key>- <string>10</string>+ <integer>10</integer></dict></dict><key>NSExtensionMainStoryboard</key>diff --git a/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj b/apps/mobile/ios/Notesnook.xcodeproj/project.pbxprojindex aa5795e9c..962b0b0fe 100644--- a/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj+++ b/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj@@ -1016,7 +1016,7 @@CODE_SIGN_IDENTITY = "Apple Development";"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";CODE_SIGN_STYLE = Automatic;- CURRENT_PROJECT_VERSION = 1100;+ CURRENT_PROJECT_VERSION = 1200;DEVELOPMENT_TEAM = 53CWBG3QUC;ENABLE_BITCODE = NO;HEADER_SEARCH_PATHS = (@@ -1087,7 +1087,7 @@"$(inherited)","@executable_path/Frameworks",);- MARKETING_VERSION = 1.1.0;+ MARKETING_VERSION = 1.2.0;OTHER_LDFLAGS = ("$(inherited)","-ObjC",@@ -1112,9 +1112,9 @@ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;CLANG_ENABLE_MODULES = YES;CODE_SIGN_ENTITLEMENTS = Notesnook/Notesnook.entitlements;- CODE_SIGN_IDENTITY = "Apple Development";- CODE_SIGN_STYLE = Automatic;- CURRENT_PROJECT_VERSION = 1100;+ CODE_SIGN_IDENTITY = "iPhone Distribution";+ CODE_SIGN_STYLE = Manual;+ CURRENT_PROJECT_VERSION = 1200;DEVELOPMENT_TEAM = 53CWBG3QUC;HEADER_SEARCH_PATHS = ("$(inherited)",@@ -1184,7 +1184,7 @@"$(inherited)","@executable_path/Frameworks",);- MARKETING_VERSION = 1.1.0;+ MARKETING_VERSION = 1.2.0;OTHER_LDFLAGS = ("$(inherited)","-ObjC",@@ -1192,7 +1192,7 @@);PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook;PRODUCT_NAME = Notesnook;- PROVISIONING_PROFILE_SPECIFIER = "";+ PROVISIONING_PROFILE_SPECIFIER = "Notesnook iOS Distribution";SWIFT_OBJC_BRIDGING_HEADER = "Notesnook-Bridging-Header.h";SWIFT_VERSION = 5.0;TARGETED_DEVICE_FAMILY = "1,2";@@ -1340,7 +1340,7 @@CODE_SIGN_ENTITLEMENTS = "Make Note/Make Note.entitlements";CODE_SIGN_IDENTITY = "Apple Development";CODE_SIGN_STYLE = Automatic;- CURRENT_PROJECT_VERSION = 1100;+ CURRENT_PROJECT_VERSION = 1200;DEBUG_INFORMATION_FORMAT = dwarf;DEVELOPMENT_TEAM = 53CWBG3QUC;GCC_C_LANGUAGE_STANDARD = gnu11;@@ -1413,10 +1413,10 @@"@executable_path/Frameworks","@executable_path/../../Frameworks",);- MARKETING_VERSION = 1.1.0;+ MARKETING_VERSION = 1.2.0;MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;MTL_FAST_MATH = YES;- PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.ext.share;+ PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.share;PRODUCT_NAME = "$(TARGET_NAME)";SKIP_INSTALL = YES;SWIFT_OBJC_BRIDGING_HEADER = "Make Note/Make Note-Bridging-Header.h";@@ -1440,10 +1440,10 @@CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;CODE_SIGN_ENTITLEMENTS = "Make Note/Make Note.entitlements";- CODE_SIGN_IDENTITY = "Apple Development";- CODE_SIGN_STYLE = Automatic;+ CODE_SIGN_IDENTITY = "iPhone Distribution";+ CODE_SIGN_STYLE = Manual;COPY_PHASE_STRIP = NO;- CURRENT_PROJECT_VERSION = 1100;+ CURRENT_PROJECT_VERSION = 1200;DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";DEVELOPMENT_TEAM = 53CWBG3QUC;GCC_C_LANGUAGE_STANDARD = gnu11;@@ -1516,11 +1516,11 @@"@executable_path/Frameworks","@executable_path/../../Frameworks",);- MARKETING_VERSION = 1.1.0;+ MARKETING_VERSION = 1.2.0;MTL_FAST_MATH = YES;- PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.ext.share;+ PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.share;PRODUCT_NAME = "$(TARGET_NAME)";- PROVISIONING_PROFILE_SPECIFIER = "";+ PROVISIONING_PROFILE_SPECIFIER = "Notesnook Extension iOS Distribution 2";SKIP_INSTALL = YES;SWIFT_OBJC_BRIDGING_HEADER = "Make Note/Make Note-Bridging-Header.h";SWIFT_VERSION = 5.0;diff --git a/apps/mobile/ios/Notesnook/Info.plist b/apps/mobile/ios/Notesnook/Info.plistindex af3d63bc8..51e6a06f5 100644--- a/apps/mobile/ios/Notesnook/Info.plist+++ b/apps/mobile/ios/Notesnook/Info.plist@@ -51,6 +51,8 @@</array><key>CFBundleVersion</key><string>$(CURRENT_PROJECT_VERSION)</string>+ <key>ITSAppUsesNonExemptEncryption</key>+ <false/><key>LSRequiresIPhoneOS</key><true/><key>LSSupportsOpeningDocumentsInPlace</key>diff --git a/apps/mobile/src/views/Settings/index.js b/apps/mobile/src/views/Settings/index.jsindex 9d14b482c..862934f0e 100644--- a/apps/mobile/src/views/Settings/index.js+++ b/apps/mobile/src/views/Settings/index.js@@ -1,4 +1,4 @@-import React, {createRef, useCallback, useEffect, useState} from 'react';+import React, { createRef, useCallback, useEffect, useState } from 'react';import {Appearance,InteractionManager,@@ -6,36 +6,35 @@ import {Platform,ScrollView,TouchableOpacity,- View,+ View} from 'react-native';import * as Keychain from 'react-native-keychain';-import {enabled} from 'react-native-privacy-snapshot';-import Menu, {MenuItem} from 'react-native-reanimated-material-menu';+import { enabled } from 'react-native-privacy-snapshot';+import Menu, { MenuItem } from 'react-native-reanimated-material-menu';import Icon from 'react-native-vector-icons/MaterialCommunityIcons';-import {Button} from '../../components/Button';+import { Button } from '../../components/Button';import BaseDialog from '../../components/Dialog/base-dialog';import DialogButtons from '../../components/Dialog/dialog-buttons';import DialogContainer from '../../components/Dialog/dialog-container';import DialogHeader from '../../components/Dialog/dialog-header';import Input from '../../components/Input';-import {PressableButton} from '../../components/PressableButton';+import { PressableButton } from '../../components/PressableButton';import Seperator from '../../components/Seperator';-import {ListHeaderComponent} from '../../components/SimpleList/ListHeaderComponent';-import {Toast} from '../../components/Toast';+import { ListHeaderComponent } from '../../components/SimpleList/ListHeaderComponent';+import { Toast } from '../../components/Toast';import Heading from '../../components/Typography/Heading';import Paragraph from '../../components/Typography/Paragraph';-import {useTracked} from '../../provider';-import {Actions} from '../../provider/Actions';+import { useTracked } from '../../provider';+import { Actions } from '../../provider/Actions';import Backup from '../../services/Backup';-import {DDS} from '../../services/DeviceDetection';+import { DDS } from '../../services/DeviceDetection';import {eSendEvent,eSubscribeEvent,eUnSubscribeEvent,openVault,- ToastEvent,+ ToastEvent} from '../../services/EventManager';-import {setLoginMessage} from '../../services/Message';import Navigation from '../../services/Navigation';import PremiumService from '../../services/PremiumService';import SettingsService from '../../services/SettingsService';@@ -45,17 +44,17 @@ import {dWidth,MenuItemsList,setSetting,- SUBSCRIPTION_STATUS_STRINGS,+ SUBSCRIPTION_STATUS_STRINGS} from '../../utils';import {ACCENT,COLOR_SCHEME,COLOR_SCHEME_DARK,COLOR_SCHEME_LIGHT,- setColorScheme,+ setColorScheme} from '../../utils/Colors';-import {hexToRGBA, RGB_Linear_Shade} from '../../utils/ColorUtils';-import {db} from '../../utils/DB';+import { hexToRGBA, RGB_Linear_Shade } from '../../utils/ColorUtils';+import { db } from '../../utils/DB';import {eCloseProgressDialog,eOpenLoginDialog,@@ -64,12 +63,12 @@ import {eOpenRecoveryKeyDialog,eOpenRestoreDialog,eScrollEvent,- eUpdateSearchState,+ eUpdateSearchState} from '../../utils/Events';-import {MMKV} from '../../utils/mmkv';-import {pv, SIZE} from '../../utils/SizeUtils';+import { MMKV } from '../../utils/mmkv';+import { pv, SIZE } from '../../utils/SizeUtils';import Storage from '../../utils/storage';-import {timeConverter} from '../../utils/TimeUtils';+import { timeConverter } from '../../utils/TimeUtils';let menuRef = createRef();