mobile: fix build errors on ios

This commit is contained in:
Ammar Ahmed
2025-10-21 19:44:54 +05:00
parent 8363ac92b9
commit d468a8274e
4 changed files with 14 additions and 8 deletions

View File

@@ -4,10 +4,10 @@ import { AppRegistry, Platform } from "react-native";
import "react-native-get-random-values";
import { SafeAreaProvider } from "react-native-safe-area-context";
import "./globals";
import "app/common/logger/index";
import "./app/common/logger/index";
const ShareProvider = () => {
NotesnookShare = require("app/share/index").default;
NotesnookShare = require("./app/share/index").default;
return Platform.OS === "ios" ? (
<SafeAreaProvider>
<NotesnookShare />

View File

@@ -1778,7 +1778,10 @@
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = "$(inherited)";
OTHER_CPLUSPLUSFLAGS = "$(inherited)";
OTHER_LDFLAGS = "$(inherited) ";
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
@@ -1843,7 +1846,10 @@
ONLY_ACTIVE_ARCH = NO;
OTHER_CFLAGS = "$(inherited)";
OTHER_CPLUSPLUSFLAGS = "$(inherited)";
OTHER_LDFLAGS = "$(inherited) ";
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
USE_HERMES = true;

View File

@@ -2842,7 +2842,7 @@ msgstr "Filter attachments by filename, type or hash"
msgid "Filter languages"
msgstr "Filter languages"
#: src/strings.ts:2594
#: src/strings.ts:2603
msgid "Finish your purchase in the browser."
msgstr "Finish your purchase in the browser."
@@ -3032,7 +3032,7 @@ msgstr "Getting recovery codes"
msgid "GNU GENERAL PUBLIC LICENSE Version 3"
msgstr "GNU GENERAL PUBLIC LICENSE Version 3"
#: src/strings.ts:2595
#: src/strings.ts:2604
msgid "Go back"
msgstr "Go back"

View File

@@ -2831,7 +2831,7 @@ msgstr ""
msgid "Filter languages"
msgstr ""
#: src/strings.ts:2594
#: src/strings.ts:2603
msgid "Finish your purchase in the browser."
msgstr ""
@@ -3014,7 +3014,7 @@ msgstr ""
msgid "GNU GENERAL PUBLIC LICENSE Version 3"
msgstr ""
#: src/strings.ts:2595
#: src/strings.ts:2604
msgid "Go back"
msgstr ""