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
remove in app browser extension
ammarahm-ed67ab42b26e33
diff --git a/apps/mobile/src/utils/functions.js b/apps/mobile/src/utils/functions.jsindex b86f8045e..00499899f 100644--- a/apps/mobile/src/utils/functions.js+++ b/apps/mobile/src/utils/functions.js@@ -1,12 +1,11 @@import { Linking } from 'react-native';-import { InAppBrowser } from 'react-native-inappbrowser-reborn';import { history } from '.';-import { useMenuStore, useSelectionStore } from '../stores/stores';import { eSendEvent, ToastEvent } from '../services/event-manager';import Navigation from '../services/navigation';+import SearchService from '../services/search';+import { useMenuStore, useSelectionStore } from '../stores/stores';import { db } from './database';import { eClearEditor } from './events';-import SearchService from '../services/search';export const deleteItems = async item => {if (item && db.monographs.isPublished(item.id)) {@@ -118,27 +117,7 @@ export const deleteItems = async item => {export const openLinkInBrowser = async (link, colors) => {try {const url = link;- if (await InAppBrowser.isAvailable()) {- await InAppBrowser.open(url, {- // iOS Properties- dismissButtonStyle: 'cancel',- preferredBarTintColor: colors.accent,- preferredControlTintColor: 'white',- readerMode: false,- animated: true,- modalPresentationStyle: 'fullScreen',- modalTransitionStyle: 'coverVertical',- modalEnabled: true,- enableBarCollapsing: false,- // Android Properties- showTitle: true,- toolbarColor: colors.accent,- secondaryToolbarColor: 'black',- enableUrlBarHiding: true,- enableDefaultShare: true,- forceCloseOnRedirection: false- });- } else Linking.openURL(url);+ Linking.openURL(url);} catch (error) {console.log(error.message);}diff --git a/apps/mobile/src/utils/hooks/useAppEvents.js b/apps/mobile/src/utils/hooks/useAppEvents.jsindex 947a85d9c..6a211602e 100644--- a/apps/mobile/src/utils/hooks/useAppEvents.js+++ b/apps/mobile/src/utils/hooks/useAppEvents.js@@ -11,7 +11,7 @@ import {} from 'react-native';import * as RNIap from 'react-native-iap';import { enabled } from 'react-native-privacy-snapshot';-import { doInBackground, editing } from '..';+import { editing } from '..';import { Walkthrough } from '../../components/walkthroughs';import {EditorWebView,@@ -37,7 +37,7 @@ import {} from '../../services/message';import PremiumService from '../../services/premium';import SettingsService from '../../services/settings';-import Sync, { ignoredMessages } from '../../services/sync';+import Sync from '../../services/sync';import {clearAllStores,initialize,