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: release v3.2.9
Ammar Ahmed765f3a476d12
diff --git a/apps/mobile/app/features.ts b/apps/mobile/app/features.tsindex 736edcc71..91c0880b9 100644--- a/apps/mobile/app/features.ts+++ b/apps/mobile/app/features.ts@@ -19,9 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.import { FeatureType } from "./components/sheets/new-feature";-export const features: FeatureType[] = [- {- title: "Improved Search",- body: "Improved search results with better relevance and highlighting."- }-];+export const features: FeatureType[] = [];diff --git a/apps/mobile/app/services/notifications.ts b/apps/mobile/app/services/notifications.tsindex 825bd2570..a79dbfe9d 100644--- a/apps/mobile/app/services/notifications.ts+++ b/apps/mobile/app/services/notifications.ts@@ -919,12 +919,14 @@ async function pinQuickNote(launch: boolean) {async function setupReminders(checkNeedsScheduling = false) {const reminders = ((await db.reminders?.all.items()) as Reminder[]) || [];+ let notificationsCancelled = false;if (Platform.OS === "android") {// If the API level has changed, cancel all notifications.// This is to ensure that the app does not crash on Android 14+.const API_LEVEL = MMKV.getInt("android_apiLevel");if (API_LEVEL !== (Platform.Version as number)) {await notifee.cancelAllNotifications();+ notificationsCancelled = true;MMKV.setInt("android_apiLevel", Platform.Version as number);}}@@ -938,19 +940,21 @@ async function setupReminders(checkNeedsScheduling = false) {// Skip reminders that are not repeating and their trigger date is in past.if (reminder.mode === "once" && dayjs().isAfter(reminder.date)) continue;- const pending = triggers.filter((t) =>- t.notification.id?.startsWith(reminder.id)- );+ if (!notificationsCancelled) {+ const pending = triggers.filter((t) =>+ t.notification.id?.startsWith(reminder.id)+ );- let needsReschedule = pending.length === 0 ? true : false;- if (!needsReschedule) {- needsReschedule = pending[0].notification.data?.dateModified- ? parseInt(pending[0].notification.data?.dateModified as string) <- reminder.dateModified- : true;- }+ let needsReschedule = pending.length === 0 ? true : false;+ if (!needsReschedule) {+ needsReschedule = pending[0].notification.data?.dateModified+ ? parseInt(pending[0].notification.data?.dateModified as string) <+ reminder.dateModified+ : true;+ }- if (!needsReschedule && checkNeedsScheduling) continue;+ if (!needsReschedule && checkNeedsScheduling) continue;+ }await scheduleNotification(reminder);}diff --git a/apps/mobile/native/android/app/build.gradle b/apps/mobile/native/android/app/build.gradleindex 86a66a56b..122b8c265 100644--- a/apps/mobile/native/android/app/build.gradle+++ b/apps/mobile/native/android/app/build.gradle@@ -124,7 +124,7 @@ android {minSdkVersion rootProject.ext.minSdkVersiontargetSdkVersion rootProject.ext.targetSdkVersionmultiDexEnabled true- versionCode 3064+ versionCode 3065versionName getNpmVersion()testBuildType System.getProperty('testBuildType', 'debug')testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'diff --git a/apps/mobile/native/android/releasenotes/whatsnew-en-US b/apps/mobile/native/android/releasenotes/whatsnew-en-USindex 16b14ac7f..4c5e22a71 100644--- a/apps/mobile/native/android/releasenotes/whatsnew-en-US+++ b/apps/mobile/native/android/releasenotes/whatsnew-en-US@@ -1,3 +1,4 @@+- Fix crash on android devices upgraded to android 16- Minor bug fixes and improvementsThank you for using Notesnook!\ No newline at end of filediff --git a/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj b/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxprojindex e2b579833..727379e10 100644--- a/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj+++ b/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj@@ -1089,7 +1089,7 @@CODE_SIGN_IDENTITY = "Apple Development";"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";CODE_SIGN_STYLE = Automatic;- CURRENT_PROJECT_VERSION = 2143;+ CURRENT_PROJECT_VERSION = 2144;DEVELOPMENT_TEAM = 53CWBG3QUC;ENABLE_BITCODE = NO;"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;@@ -1163,7 +1163,7 @@"$(inherited)","@executable_path/Frameworks",);- MARKETING_VERSION = 3.2.8;+ MARKETING_VERSION = 3.2.9;OTHER_LDFLAGS = ("$(inherited)","-ObjC",@@ -1194,7 +1194,7 @@CODE_SIGN_IDENTITY = "Apple Development";"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";CODE_SIGN_STYLE = Manual;- CURRENT_PROJECT_VERSION = 2143;+ CURRENT_PROJECT_VERSION = 2144;DEVELOPMENT_TEAM = "";"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 53CWBG3QUC;"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;@@ -1268,7 +1268,7 @@"$(inherited)","@executable_path/Frameworks",);- MARKETING_VERSION = 3.2.8;+ MARKETING_VERSION = 3.2.9;ONLY_ACTIVE_ARCH = NO;OTHER_LDFLAGS = ("$(inherited)",@@ -1427,7 +1427,7 @@CODE_SIGN_IDENTITY = "Apple Development";"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";CODE_SIGN_STYLE = Automatic;- CURRENT_PROJECT_VERSION = 2143;+ CURRENT_PROJECT_VERSION = 2144;DEBUG_INFORMATION_FORMAT = dwarf;DEVELOPMENT_TEAM = 53CWBG3QUC;"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;@@ -1439,7 +1439,7 @@"@executable_path/Frameworks","@executable_path/../../Frameworks",);- MARKETING_VERSION = 3.2.8;+ MARKETING_VERSION = 3.2.9;MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;MTL_FAST_MATH = YES;PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.notewidget;@@ -1470,7 +1470,7 @@"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";CODE_SIGN_STYLE = Manual;COPY_PHASE_STRIP = NO;- CURRENT_PROJECT_VERSION = 2143;+ CURRENT_PROJECT_VERSION = 2144;DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";DEVELOPMENT_TEAM = "";"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 53CWBG3QUC;@@ -1483,7 +1483,7 @@"@executable_path/Frameworks","@executable_path/../../Frameworks",);- MARKETING_VERSION = 3.2.8;+ MARKETING_VERSION = 3.2.9;MTL_FAST_MATH = YES;PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.notewidget;PRODUCT_NAME = "$(TARGET_NAME)";@@ -1513,7 +1513,7 @@CODE_SIGN_ENTITLEMENTS = "Make Note/Make Note.entitlements";CODE_SIGN_IDENTITY = "Apple Development";CODE_SIGN_STYLE = Automatic;- CURRENT_PROJECT_VERSION = 2143;+ CURRENT_PROJECT_VERSION = 2144;DEBUG_INFORMATION_FORMAT = dwarf;DEVELOPMENT_TEAM = 53CWBG3QUC;"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;@@ -1594,7 +1594,7 @@"@executable_path/../../Frameworks",);LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift$(inherited)";- MARKETING_VERSION = 3.2.8;+ MARKETING_VERSION = 3.2.9;MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;MTL_FAST_MATH = YES;PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.share;@@ -1625,7 +1625,7 @@"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";CODE_SIGN_STYLE = Manual;COPY_PHASE_STRIP = NO;- CURRENT_PROJECT_VERSION = 2143;+ CURRENT_PROJECT_VERSION = 2144;DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";DEVELOPMENT_TEAM = "";"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 53CWBG3QUC;@@ -1707,7 +1707,7 @@"@executable_path/../../Frameworks",);LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift$(inherited)";- MARKETING_VERSION = 3.2.8;+ MARKETING_VERSION = 3.2.9;MTL_FAST_MATH = YES;PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.share;PRODUCT_NAME = "$(TARGET_NAME)";diff --git a/apps/mobile/package.json b/apps/mobile/package.jsonindex f3f6ac106..adea54b53 100644--- a/apps/mobile/package.json+++ b/apps/mobile/package.json@@ -1,6 +1,6 @@{"name": "@notesnook/mobile",- "version": "3.2.8",+ "version": "3.2.9","private": true,"license": "GPL-3.0-or-later","workspaces": [diff --git a/fastlane/metadata/android/en-US/changelogs/15329.txt b/fastlane/metadata/android/en-US/changelogs/15329.txtnew file mode 100644index 000000000..4c5e22a71--- /dev/null+++ b/fastlane/metadata/android/en-US/changelogs/15329.txt@@ -0,0 +1,4 @@+- Fix crash on android devices upgraded to android 16+- Minor bug fixes and improvements++Thank you for using Notesnook!\ No newline at end of file