From 51f87911e1a54bd883ace51136d5f69f6127b47c Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Fri, 26 Dec 2025 14:37:49 +0500 Subject: [PATCH 1/3] mobile: release 3.3.12 --- apps/mobile/android/app/build.gradle | 2 +- .../android/releasenotes/whatsnew-en-US | 3 - apps/mobile/app/services/notifications.ts | 8 ++- .../ios/Notesnook.xcodeproj/project.pbxproj | 24 +++---- apps/mobile/package-lock.json | 12 ++-- apps/mobile/package.json | 4 +- .../patches/react-native-pdf+6.7.7.patch | 72 ------------------- .../android/en-US/changelogs/15444.txt | 3 + 8 files changed, 29 insertions(+), 99 deletions(-) delete mode 100644 apps/mobile/patches/react-native-pdf+6.7.7.patch create mode 100644 fastlane/metadata/android/en-US/changelogs/15444.txt diff --git a/apps/mobile/android/app/build.gradle b/apps/mobile/android/app/build.gradle index bd0ea8d47..403829407 100644 --- a/apps/mobile/android/app/build.gradle +++ b/apps/mobile/android/app/build.gradle @@ -125,7 +125,7 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion multiDexEnabled true - versionCode 3087 + versionCode 3088 versionName getNpmVersion() testBuildType System.getProperty('testBuildType', 'debug') testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' diff --git a/apps/mobile/android/releasenotes/whatsnew-en-US b/apps/mobile/android/releasenotes/whatsnew-en-US index e2b8cccf8..5a0ec894f 100644 --- a/apps/mobile/android/releasenotes/whatsnew-en-US +++ b/apps/mobile/android/releasenotes/whatsnew-en-US @@ -1,6 +1,3 @@ -- Get an overview of your year with Notesnook with Wrapped 2025 -- Cell selection and column resizing in tables -- Added support for uploading large files in background - Bug fixes and minor improvements Thank you for using Notesnook! diff --git a/apps/mobile/app/services/notifications.ts b/apps/mobile/app/services/notifications.ts index 651d4fb4e..d9deeeed2 100644 --- a/apps/mobile/app/services/notifications.ts +++ b/apps/mobile/app/services/notifications.ts @@ -463,9 +463,11 @@ async function loadNote(id: string, jump: boolean) { const tab = useTabStore.getState().getTabForNote(id); if (useTabStore.getState().currentTab !== tab) { - eSendEvent(eOnLoadNote, { - item: note - }); + setTimeout(() => { + eSendEvent(eOnLoadNote, { + item: note + }); + }, 300); } } diff --git a/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj b/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj index 34f164a1c..491bb4b5a 100644 --- a/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj +++ b/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj @@ -1029,7 +1029,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2167; + CURRENT_PROJECT_VERSION = 2168; DEVELOPMENT_TEAM = 53CWBG3QUC; ENABLE_BITCODE = NO; "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; @@ -1104,7 +1104,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 3.3.11; + MARKETING_VERSION = 3.3.12; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", @@ -1135,7 +1135,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 2167; + CURRENT_PROJECT_VERSION = 2168; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 53CWBG3QUC; "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; @@ -1210,7 +1210,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 3.3.11; + MARKETING_VERSION = 3.3.12; ONLY_ACTIVE_ARCH = NO; OTHER_LDFLAGS = ( "$(inherited)", @@ -1367,7 +1367,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2167; + CURRENT_PROJECT_VERSION = 2168; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = 53CWBG3QUC; "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; @@ -1379,7 +1379,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 3.3.11; + MARKETING_VERSION = 3.3.12; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.notewidget; @@ -1410,7 +1410,7 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 2167; + CURRENT_PROJECT_VERSION = 2168; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 53CWBG3QUC; @@ -1423,7 +1423,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 3.3.11; + MARKETING_VERSION = 3.3.12; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.notewidget; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1453,7 +1453,7 @@ CODE_SIGN_ENTITLEMENTS = "Make Note/Make Note.entitlements"; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2167; + CURRENT_PROJECT_VERSION = 2168; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = 53CWBG3QUC; "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; @@ -1534,7 +1534,7 @@ "@executable_path/../../Frameworks", ); LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift$(inherited)"; - MARKETING_VERSION = 3.3.11; + MARKETING_VERSION = 3.3.12; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.share; @@ -1565,7 +1565,7 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 2167; + CURRENT_PROJECT_VERSION = 2168; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 53CWBG3QUC; @@ -1647,7 +1647,7 @@ "@executable_path/../../Frameworks", ); LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift$(inherited)"; - MARKETING_VERSION = 3.3.11; + MARKETING_VERSION = 3.3.12; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.share; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/apps/mobile/package-lock.json b/apps/mobile/package-lock.json index 647be16a4..a8a365465 100644 --- a/apps/mobile/package-lock.json +++ b/apps/mobile/package-lock.json @@ -1,16 +1,16 @@ { "name": "@notesnook/mobile", - "version": "3.3.11", + "version": "3.3.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@notesnook/mobile", - "version": "3.3.11", + "version": "3.3.12", "hasInstallScript": true, "license": "GPL-3.0-or-later", "dependencies": { - "@ammarahmed/notifee-react-native": "^7.4.10", + "@ammarahmed/notifee-react-native": "^7.4.11", "@ammarahmed/react-native-background-fetch": "^4.2.2", "@ammarahmed/react-native-eventsource": "1.1.0", "@ammarahmed/react-native-fingerprint-scanner": "^5.0.1", @@ -485,9 +485,9 @@ } }, "node_modules/@ammarahmed/notifee-react-native": { - "version": "7.4.10", - "resolved": "https://registry.npmjs.org/@ammarahmed/notifee-react-native/-/notifee-react-native-7.4.10.tgz", - "integrity": "sha512-19t1vhIddFneOI7JVmXghunEt5mEmDBY/G1YVMuRNNT/HFQ1EcArJWuAaFAJrhrl/2CBS7xoPGLusKbkbT/JjA==", + "version": "7.4.11", + "resolved": "https://registry.npmjs.org/@ammarahmed/notifee-react-native/-/notifee-react-native-7.4.11.tgz", + "integrity": "sha512-9zKhONgir2FN/sMj/rsKAhDwfxadDuxB6LJILKxpGwzqvcIuG70oCKWmBBG9LJJpSfcVpNTdxBoH9RtNZTZSsQ==", "license": "Apache-2.0", "peerDependencies": { "react-native": "*" diff --git a/apps/mobile/package.json b/apps/mobile/package.json index 45d19fe93..68ba6d40d 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -1,6 +1,6 @@ { "name": "@notesnook/mobile", - "version": "3.3.11", + "version": "3.3.12", "private": true, "license": "GPL-3.0-or-later", "scripts": { @@ -26,7 +26,7 @@ "react": "19.1.1" }, "dependencies": { - "@ammarahmed/notifee-react-native": "^7.4.10", + "@ammarahmed/notifee-react-native": "^7.4.11", "@ammarahmed/react-native-background-fetch": "^4.2.2", "@ammarahmed/react-native-eventsource": "1.1.0", "@ammarahmed/react-native-fingerprint-scanner": "^5.0.1", diff --git a/apps/mobile/patches/react-native-pdf+6.7.7.patch b/apps/mobile/patches/react-native-pdf+6.7.7.patch deleted file mode 100644 index 363c3f9c7..000000000 --- a/apps/mobile/patches/react-native-pdf+6.7.7.patch +++ /dev/null @@ -1,72 +0,0 @@ -diff --git a/node_modules/react-native-pdf/android/.gradle/5.6.1/fileChanges/last-build.bin b/node_modules/react-native-pdf/android/.gradle/5.6.1/fileChanges/last-build.bin -deleted file mode 100644 -index f76dd23..0000000 -Binary files a/node_modules/react-native-pdf/android/.gradle/5.6.1/fileChanges/last-build.bin and /dev/null differ -diff --git a/node_modules/react-native-pdf/android/.gradle/5.6.1/fileHashes/fileHashes.lock b/node_modules/react-native-pdf/android/.gradle/5.6.1/fileHashes/fileHashes.lock -deleted file mode 100644 -index 52d8866..0000000 -Binary files a/node_modules/react-native-pdf/android/.gradle/5.6.1/fileHashes/fileHashes.lock and /dev/null differ -diff --git a/node_modules/react-native-pdf/android/.gradle/5.6.1/gc.properties b/node_modules/react-native-pdf/android/.gradle/5.6.1/gc.properties -deleted file mode 100644 -index e69de29..0000000 -diff --git a/node_modules/react-native-pdf/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/node_modules/react-native-pdf/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock -deleted file mode 100644 -index 1508dc9..0000000 -Binary files a/node_modules/react-native-pdf/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock and /dev/null differ -diff --git a/node_modules/react-native-pdf/android/.gradle/buildOutputCleanup/cache.properties b/node_modules/react-native-pdf/android/.gradle/buildOutputCleanup/cache.properties -deleted file mode 100644 -index f4a32a7..0000000 ---- a/node_modules/react-native-pdf/android/.gradle/buildOutputCleanup/cache.properties -+++ /dev/null -@@ -1,2 +0,0 @@ --#Sat Oct 12 21:44:37 CST 2019 --gradle.version=5.6.1 -diff --git a/node_modules/react-native-pdf/android/.gradle/vcs-1/gc.properties b/node_modules/react-native-pdf/android/.gradle/vcs-1/gc.properties -deleted file mode 100644 -index e69de29..0000000 -diff --git a/node_modules/react-native-pdf/android/build.gradle b/node_modules/react-native-pdf/android/build.gradle -index 3dfe1dc..70ef9da 100644 ---- a/node_modules/react-native-pdf/android/build.gradle -+++ b/node_modules/react-native-pdf/android/build.gradle -@@ -126,6 +126,6 @@ dependencies { - // The repo from zacharee is based on PdfiumAndroidKt, a much newer fork of PdfiumAndroid, with better maintenance and updated native libraries. - implementation 'com.github.zacharee:AndroidPdfViewer:4.0.1' - // Depend on PdfiumAndroidKt directly so this can be updated independently of AndroidPdfViewer as updates are provided. -- implementation 'io.legere:pdfiumandroid:1.0.24' -+ implementation 'io.legere:pdfiumandroid:1.0.32' - implementation 'com.google.code.gson:gson:2.8.5' - } -diff --git a/node_modules/react-native-pdf/android/src/main/java/org/wonday/pdf/PdfView.java b/node_modules/react-native-pdf/android/src/main/java/org/wonday/pdf/PdfView.java -index 7b7a125..361924b 100644 ---- a/node_modules/react-native-pdf/android/src/main/java/org/wonday/pdf/PdfView.java -+++ b/node_modules/react-native-pdf/android/src/main/java/org/wonday/pdf/PdfView.java -@@ -12,6 +12,8 @@ import java.io.File; - - import android.content.ContentResolver; - import android.content.Context; -+import android.os.Handler; -+import android.os.Looper; - import android.util.SizeF; - import android.view.View; - import android.view.ViewGroup; -@@ -105,7 +107,7 @@ public class PdfView extends PDFView implements OnPageChangeListener,OnLoadCompl - TopChangeEvent tce = new TopChangeEvent(surfaceId, getId(), event); - - if (dispatcher != null) { -- dispatcher.dispatchEvent(tce); -+ new Handler(Looper.getMainLooper()).postDelayed(() -> dispatcher.dispatchEvent(tce), 10); - } - - // ReactContext reactContext = (ReactContext)this.getContext(); -diff --git a/node_modules/react-native-pdf/index.js b/node_modules/react-native-pdf/index.js -index 56df005..dd14412 100644 ---- a/node_modules/react-native-pdf/index.js -+++ b/node_modules/react-native-pdf/index.js -@@ -364,7 +364,6 @@ export default class Pdf extends Component { - } - - _onChange = (event) => { -- - let message = event.nativeEvent.message.split('|'); - //__DEV__ && console.log("onChange: " + message); - if (message.length > 0) { diff --git a/fastlane/metadata/android/en-US/changelogs/15444.txt b/fastlane/metadata/android/en-US/changelogs/15444.txt new file mode 100644 index 000000000..5a0ec894f --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/15444.txt @@ -0,0 +1,3 @@ +- Bug fixes and minor improvements + +Thank you for using Notesnook! From 3f4d78af7d4dc73bf7159875325ba4de5e07e7e8 Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Sat, 27 Dec 2025 10:19:31 +0500 Subject: [PATCH 2/3] mobile: update ios provisioning --- .../ios/Notesnook.xcodeproj/project.pbxproj | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj b/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj index 491bb4b5a..559bb1913 100644 --- a/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj +++ b/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj @@ -1220,7 +1220,7 @@ PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook; PRODUCT_NAME = Notesnook; PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "Notesnook App Distribution 2025"; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "Notesnook 2026"; SWIFT_OBJC_BRIDGING_HEADER = "Notesnook-Bridging-Header.h"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -1428,7 +1428,7 @@ PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.notewidget; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "Notesnook Widget Distribution 2025"; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "Notesnook Note Widget 2026"; SKIP_INSTALL = YES; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O"; @@ -1652,7 +1652,7 @@ PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.share; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "Notesnook Share Distribution 2025"; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "Notesnook Share 2026"; SKIP_INSTALL = YES; SWIFT_OBJC_BRIDGING_HEADER = "Make Note/Make Note-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -1724,10 +1724,7 @@ 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"; @@ -1792,10 +1789,7 @@ 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; From 1d6a33e3be0d8f601a3715427586018bcbdec5fd Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Sat, 27 Dec 2025 11:47:31 +0500 Subject: [PATCH 3/3] mobile: update export options --- apps/mobile/ios/ExportOptions.plist | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/mobile/ios/ExportOptions.plist b/apps/mobile/ios/ExportOptions.plist index 6c189f6dc..b6acef582 100644 --- a/apps/mobile/ios/ExportOptions.plist +++ b/apps/mobile/ios/ExportOptions.plist @@ -5,11 +5,11 @@ provisioningProfiles org.streetwriters.notesnook - Notesnook App Distribution 2025 + Notesnook 2026 org.streetwriters.notesnook.notewidget - Notesnook Widget Distribution 2025 + Notesnook Note Widget 2026 org.streetwriters.notesnook.share - Notesnook Share Distribution 2025 + Notesnook Share 2026 \ No newline at end of file