Skip to content

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

mobile: release v2.5.0

ammarahm-edd9049168632e
diff --git a/apps/mobile/app/features.ts b/apps/mobile/app/features.ts
index 91c0880b9..76c312de1 100644
--- a/apps/mobile/app/features.ts
+++ b/apps/mobile/app/features.ts
@@ -19,4 +19,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
import { FeatureType } from "./components/sheets/new-feature";
-export const features: FeatureType[] = [];
+export const features: FeatureType[] = [
+ {
+ title: "Attachments preview",
+ body: "You can now preview PDFs & Images directly inside Notesnook."
+ },
+ {
+ title: "New attachments manager",
+ body: "The new attachments manager makes is much easier to view & interact with your attachments. It also allows you to download all (or some) of your attachments."
+ },
+ {
+ title: "Assign tags to multiple notes",
+ body: "You can now easily tag multiple notes without first opening them."
+ }
+];
diff --git a/apps/mobile/app/screens/editor/tiptap/picker.js b/apps/mobile/app/screens/editor/tiptap/picker.js
index 5f180beb1..d7605f86a 100644
--- a/apps/mobile/app/screens/editor/tiptap/picker.js
+++ b/apps/mobile/app/screens/editor/tiptap/picker.js
@@ -124,7 +124,7 @@ const file = async (fileOptions) => {
editorController.current?.commands.insertImage({
hash: hash,
filename: file.name,
- type: file.type,
+ mime: file.type,
size: file.size,
dataurl: await db.attachments.read(hash, "base64"),
title: file.name
@@ -133,7 +133,7 @@ const file = async (fileOptions) => {
editorController.current?.commands.insertAttachment({
hash: hash,
filename: file.name,
- type: file.type,
+ mime: file.type,
size: file.size
});
}
@@ -262,7 +262,7 @@ const handleImageResponse = async (response, options) => {
editorController.current?.commands.insertImage({
hash: hash,
- type: image.type,
+ mime: image.type,
title: fileName,
dataurl: b64,
size: image.fileSize,
diff --git a/apps/mobile/native/android/app/build.gradle b/apps/mobile/native/android/app/build.gradle
index 2d79ea7b9..e403d52d1 100644
--- a/apps/mobile/native/android/app/build.gradle
+++ b/apps/mobile/native/android/app/build.gradle
@@ -164,7 +164,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled true
- versionCode 2048
+ versionCode 2049
versionName getNpmVersion()
testBuildType System.getProperty('testBuildType', 'debug')
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
diff --git a/apps/mobile/native/android/gradle.properties b/apps/mobile/native/android/gradle.properties
index fc1dd323c..c8fc6fba5 100644
--- a/apps/mobile/native/android/gradle.properties
+++ b/apps/mobile/native/android/gradle.properties
@@ -45,4 +45,4 @@ newArchEnabled=false
# v8.android.tools.dir=/home/ammarahm-ed/Repos/notesnook-mobile/node_modules/v8-android-jit-nointl/dist/tools/android
# fdroid
-fdroidBuild=false
\ No newline at end of file
+fdroidBuild=true
\ No newline at end of file
diff --git a/apps/mobile/native/android/releasenotes/whatsnew-en-US b/apps/mobile/native/android/releasenotes/whatsnew-en-US
index ba070c033..e203f7f10 100644
--- a/apps/mobile/native/android/releasenotes/whatsnew-en-US
+++ b/apps/mobile/native/android/releasenotes/whatsnew-en-US
@@ -1,4 +1,6 @@
-- Fix pro features locked accidentally for pro users
-- Added in app review
+- Preview PDFs & Images directly inside Notesnook."
+- Improved attachments manager with support for downloading all attachments
+- Assign tags to multiple notes
+- Bug fixes and performance improvements
Thank you for using Notesnook!
\ No newline at end of file
diff --git a/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj b/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj
index fe4fda09a..8b596d877 100644
--- a/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj
+++ b/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj
@@ -993,7 +993,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 2040;
+ CURRENT_PROJECT_VERSION = 2041;
DEVELOPMENT_TEAM = 53CWBG3QUC;
ENABLE_BITCODE = NO;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
@@ -1067,7 +1067,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- MARKETING_VERSION = 2.4.17;
+ MARKETING_VERSION = 2.5.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
@@ -1097,7 +1097,7 @@
CODE_SIGN_ENTITLEMENTS = Notesnook/Notesnook.entitlements;
CODE_SIGN_IDENTITY = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
- CURRENT_PROJECT_VERSION = 2040;
+ CURRENT_PROJECT_VERSION = 2041;
DEVELOPMENT_TEAM = 53CWBG3QUC;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
@@ -1170,7 +1170,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- MARKETING_VERSION = 2.4.17;
+ MARKETING_VERSION = 2.5.0;
ONLY_ACTIVE_ARCH = NO;
OTHER_LDFLAGS = (
"$(inherited)",
@@ -1328,7 +1328,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 2040;
+ CURRENT_PROJECT_VERSION = 2041;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = 53CWBG3QUC;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
@@ -1340,7 +1340,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
- MARKETING_VERSION = 2.4.17;
+ MARKETING_VERSION = 2.5.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.notewidget;
@@ -1370,7 +1370,7 @@
CODE_SIGN_IDENTITY = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 2040;
+ CURRENT_PROJECT_VERSION = 2041;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 53CWBG3QUC;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
@@ -1382,7 +1382,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
- MARKETING_VERSION = 2.4.17;
+ MARKETING_VERSION = 2.5.0;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.notewidget;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1411,7 +1411,7 @@
CODE_SIGN_ENTITLEMENTS = "Make Note/Make Note.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 2040;
+ CURRENT_PROJECT_VERSION = 2041;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = 53CWBG3QUC;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
@@ -1485,7 +1485,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
- MARKETING_VERSION = 2.4.17;
+ MARKETING_VERSION = 2.5.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.share;
@@ -1515,7 +1515,7 @@
CODE_SIGN_IDENTITY = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 2040;
+ CURRENT_PROJECT_VERSION = 2041;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 53CWBG3QUC;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
@@ -1589,7 +1589,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
- MARKETING_VERSION = 2.4.17;
+ MARKETING_VERSION = 2.5.0;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.share;
PRODUCT_NAME = "$(TARGET_NAME)";
diff --git a/apps/mobile/native/release_notes.txt b/apps/mobile/native/release_notes.txt
index ba070c033..e203f7f10 100644
--- a/apps/mobile/native/release_notes.txt
+++ b/apps/mobile/native/release_notes.txt
@@ -1,4 +1,6 @@
-- Fix pro features locked accidentally for pro users
-- Added in app review
+- Preview PDFs & Images directly inside Notesnook."
+- Improved attachments manager with support for downloading all attachments
+- Assign tags to multiple notes
+- Bug fixes and performance improvements
Thank you for using Notesnook!
\ No newline at end of file
diff --git a/apps/mobile/package.json b/apps/mobile/package.json
index 9e1d42d80..48695706e 100644
--- a/apps/mobile/package.json
+++ b/apps/mobile/package.json
@@ -1,6 +1,6 @@
{
"name": "@notesnook/mobile",
- "version": "2.4.17",
+ "version": "2.5.0",
"private": true,
"license": "GPL-3.0-or-later",
"workspaces": [
diff --git a/fastlane/metadata/android/en-US/changelogs/10249.txt b/fastlane/metadata/android/en-US/changelogs/10249.txt
new file mode 100644
index 000000000..e203f7f10
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/10249.txt
@@ -0,0 +1,6 @@
+- Preview PDFs & Images directly inside Notesnook."
+- Improved attachments manager with support for downloading all attachments
+- Assign tags to multiple notes
+- Bug fixes and performance improvements
+
+Thank you for using Notesnook!
\ No newline at end of file
diff --git a/packages/editor-mobile/src/hooks/useEditorController.ts b/packages/editor-mobile/src/hooks/useEditorController.ts
index 3392b83d3..63aad77a2 100644
--- a/packages/editor-mobile/src/hooks/useEditorController.ts
+++ b/packages/editor-mobile/src/hooks/useEditorController.ts
@@ -31,7 +31,7 @@ import { EventTypes, isReactNative, post } from "../utils";
type Attachment = {
hash: string;
filename: string;
- type: string;
+ mime: string;
size: number;
};