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: fix share extension on ios
ammarahm-ed8c2fdf85547c
diff --git a/apps/mobile/native/index.ext.js b/apps/mobile/native/index.ext.jsindex 141876d77..b17bc0267 100644--- a/apps/mobile/native/index.ext.js+++ b/apps/mobile/native/index.ext.js@@ -3,7 +3,7 @@ import React from 'react';import { AppRegistry, Platform } from 'react-native';import 'react-native-get-random-values';import { SafeAreaProvider } from 'react-native-safe-area-context';-global.Buffer = require('buffer').Buffer;+import "./globals"import '../app/common/logger/index';const ShareProvider = () => {diff --git a/apps/mobile/native/ios/Podfile b/apps/mobile/native/ios/Podfileindex 2207c97a4..e118a22b4 100644--- a/apps/mobile/native/ios/Podfile+++ b/apps/mobile/native/ios/Podfile@@ -91,6 +91,10 @@ target 'Make Note' dopod 'RNKeychain' , :path => '../../node_modules/react-native-keychain'pod 'react-native-netinfo', :path => '../../node_modules/@react-native-community/netinfo'pod 'react-native-safe-area-context', :path => '../../node_modules/react-native-safe-area-context'+ pod 'react-native-get-random-values', :path => '../../node_modules/react-native-get-random-values'+ pod 'callstack-repack', :path => '../../node_modules/@callstack/repack'+ pod 'RNSecureRandom', :path => '../../node_modules/react-native-securerandom'+ pod "RNCClipboard", :path => '../../node_modules/@react-native-clipboard/clipboard'enddiff --git a/apps/mobile/native/ios/Podfile.lock b/apps/mobile/native/ios/Podfile.lockindex 79cf6f5e6..d3656953f 100644--- a/apps/mobile/native/ios/Podfile.lock+++ b/apps/mobile/native/ios/Podfile.lock@@ -928,6 +928,6 @@ SPEC CHECKSUMS:toolbar-android: 2a73856e98b750d7e71ce4644d3f41cc98211719Yoga: 1d6727ed193122f6adaf435c3de1a768326ff83b-PODFILE CHECKSUM: 2edd4792d1a9505ba0d23c245dd1ca8863e7d928+PODFILE CHECKSUM: b0cadd188aa428b98d1eaa0b84b3b6208e714119COCOAPODS: 1.11.3diff --git a/apps/mobile/share/index.js b/apps/mobile/share/index.jsindex 1a9bffb23..e8c377687 100644--- a/apps/mobile/share/index.js+++ b/apps/mobile/share/index.js@@ -39,7 +39,6 @@ const NotesnookShare = ({ quicknote = false }) => {setRender(true);}, 1);}, []);-return (<ScopedThemeProvider value="base">{!render ? null : (diff --git a/apps/mobile/share/search.js b/apps/mobile/share/search.jsindex e63f36d38..058fe8eac 100644--- a/apps/mobile/share/search.js+++ b/apps/mobile/share/search.js@@ -324,12 +324,11 @@ export const Search = ({ close, getKeyboardHeight, quicknote, mode }) => {renderItem={renderItem}ListHeaderComponent={mode === "selectTags" &&- (searchResults.length === 0 ||- (searchKeyword.current &&- searchKeyword.current.length > 0 &&- !searchResults.find(- (item) => item.title === searchKeyword.current- ))) ? (+ searchKeyword.current &&+ searchKeyword.current.length > 0 &&+ !searchResults.find(+ (item) => item.title === searchKeyword.current+ ) ? (<ListItemitem={{type: "tag",