Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: remove patch

Ammar Ahmed817a58611e70
diff --git a/apps/mobile/package-lock.json b/apps/mobile/package-lock.json
index e440dc7aa..66af97055 100644
--- a/apps/mobile/package-lock.json
+++ b/apps/mobile/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@notesnook/mobile",
- "version": "3.1.1",
+ "version": "3.2.0-beta.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@notesnook/mobile",
- "version": "3.1.1",
+ "version": "3.2.0-beta.2",
"hasInstallScript": true,
"license": "GPL-3.0-or-later",
"workspaces": [
@@ -23,7 +23,6 @@
"@notesnook/logger": "file:../../packages/logger",
"@notesnook/theme": "file:../../packages/theme",
"@notesnook/themes-server": "file:../../servers/themes",
- "@shopify/flash-list": "^1.8.0",
"@tanstack/react-query": "^4.36.1",
"@trpc/client": "^10.45.2",
"@trpc/react-query": "^10.45.2",
@@ -31,12 +30,7 @@
"@types/validator": "^13.12.2",
"diffblazer": "^1.0.1",
"react": "18.2.0",
- "react-native": "0.77.2",
- "react-native-mmkv-storage": "^0.11.2",
- "react-native-pdf": "6.7.7",
- "react-native-quick-sqlite": "^8.2.7",
- "react-native-svg": "^15.12.0",
- "react-native-webview": "^13.13.5"
+ "react-native": "0.77.2"
},
"devDependencies": {
"@types/react": "^18.2.39",
@@ -1054,6 +1048,7 @@
"dependencies": {
"@leeoniya/ufuzzy": "^1.0.10",
"@microsoft/signalr": "^8.0.0",
+ "@notesnook/intl": "file:../intl",
"@notesnook/logger": "file:../logger",
"@readme/data-urls": "^3.0.0",
"@streetwriters/kysely": "^0.27.4",
diff --git a/apps/mobile/patches/react-native-svg+12.5.1.patch b/apps/mobile/patches/react-native-svg+12.5.1.patch
deleted file mode 100644
index dbc76460e..000000000
--- a/apps/mobile/patches/react-native-svg+12.5.1.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-diff --git a/node_modules/react-native-svg/__tests__/css.test.tsx b/node_modules/react-native-svg/__tests__/css.test.tsx
-index 579c357..57acc09 100644
---- a/node_modules/react-native-svg/__tests__/css.test.tsx
-+++ b/node_modules/react-native-svg/__tests__/css.test.tsx
-@@ -1,6 +1,7 @@
- import React from 'react';
- import renderer from 'react-test-renderer';
--import { SvgCss, parse, inlineStyles } from '../src/ReactNativeSVG';
-+import { parse } from '../src/ReactNativeSVG';
-+import { SvgCss, inlineStyles } from '../css';
-
- const xml = `<?xml version="1.0" standalone="no"?>
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
-diff --git a/node_modules/react-native-svg/css/index.ts b/node_modules/react-native-svg/css/index.ts
-new file mode 100644
-index 0000000..3b268af
---- /dev/null
-+++ b/node_modules/react-native-svg/css/index.ts
-@@ -0,0 +1,2 @@
-+export * from '../src/css';
-+export { LocalSvg, WithLocalSvg, loadLocalRawResource } from '../src/LocalSvg';
-\ No newline at end of file
-diff --git a/node_modules/react-native-svg/src/LocalSvg.tsx b/node_modules/react-native-svg/src/LocalSvg.tsx
-index f13c46f..0457159 100644
---- a/node_modules/react-native-svg/src/LocalSvg.tsx
-+++ b/node_modules/react-native-svg/src/LocalSvg.tsx
-@@ -7,7 +7,7 @@ import {
- } from 'react-native';
-
- import { fetchText } from './xml';
--import { SvgCss, SvgWithCss } from './css';
-+import { SvgCss, SvgWithCss } from '../css';
- import { SvgProps } from './elements/Svg';
-
- const { getRawResource } = NativeModules.RNSVGRenderableManager || {};
-diff --git a/node_modules/react-native-svg/src/ReactNativeSVG.ts b/node_modules/react-native-svg/src/ReactNativeSVG.ts
-index 6b72423..1daca6c 100644
---- a/node_modules/react-native-svg/src/ReactNativeSVG.ts
-+++ b/node_modules/react-native-svg/src/ReactNativeSVG.ts
-@@ -25,14 +25,7 @@ import Marker from './elements/Marker';
- import ForeignObject from './elements/ForeignObject';
-
- import { parse, SvgAst, SvgFromUri, SvgFromXml, SvgUri, SvgXml } from './xml';
--import {
-- SvgCss,
-- SvgCssUri,
-- SvgWithCss,
-- SvgWithCssUri,
-- inlineStyles,
--} from './css';
--import { LocalSvg, WithLocalSvg, loadLocalRawResource } from './LocalSvg';
-+
- import {
- RNSVGCircle,
- RNSVGClipPath,
-@@ -116,14 +109,6 @@ export {
- SvgFromXml,
- SvgUri,
- SvgXml,
-- SvgCss,
-- SvgCssUri,
-- SvgWithCss,
-- SvgWithCssUri,
-- inlineStyles,
-- LocalSvg,
-- WithLocalSvg,
-- loadLocalRawResource,
- Shape,
- RNSVGMarker,
- RNSVGMask,