Skip to content

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

mobile: release v3.0.15

Ammar Ahmedb7c81a956c71
diff --git a/apps/mobile/app/features.ts b/apps/mobile/app/features.ts
index 91c0880b9..efa218467 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: "Full offline mode",
+ body: "Enable full offline mode from Settings -> Account -> Sync Settings. This will allow you to keep all your attachments and data offline on the client"
+ },
+ {
+ title: "Backup with attachments",
+ body: "You can now backup your notes alongwith all your attachments - kind of like a full account snapshot."
+ },
+ {
+ title: "Self hosting",
+ body: "This release also adds initial support for changing server URLs i.e. to connect your own instance of Notesnook. Please note that this is still experimental and may not work as expected."
+ }
+];
diff --git a/apps/mobile/app/screens/settings/server-config.tsx b/apps/mobile/app/screens/settings/server-config.tsx
index 1740df7e7..2609d86de 100644
--- a/apps/mobile/app/screens/settings/server-config.tsx
+++ b/apps/mobile/app/screens/settings/server-config.tsx
@@ -29,6 +29,7 @@ import Paragraph from "../../components/ui/typography/paragraph";
import SettingsService from "../../services/settings";
import { HostId, HostIds } from "../../stores/use-setting-store";
import { useUserStore } from "../../stores/use-user-store";
+import { ToastManager } from "../../services/event-manager";
export const ServerIds = ["notesnook-sync", "auth", "sse"] as const;
export type ServerId = (typeof ServerIds)[number];
@@ -90,6 +91,7 @@ export function ServersConfiguration() {
type="alert"
/>
) : null}
+
<View style={{ flexDirection: "column" }}>
{SERVERS.map((server) => (
<Input
@@ -130,32 +132,11 @@ export function ServersConfiguration() {
</Paragraph>
) : null}
<View style={{ marginTop: 1, justifyContent: "flex-end", gap: 12 }}>
- <Button
- type="accent"
- disabled={!success}
- width="100%"
- onPress={async () => {
- if (!success || isLoggedIn) return;
- SettingsService.setProperty(
- "serverUrls",
- urls as Record<HostId, string>
- );
-
- presentDialog({
- title: "Server url changed",
- paragraph: "Restart the app for changes to take effect.",
- negativeText: "Done"
- });
- }}
- title="Save"
- />
-
<Button
disabled={isLoggedIn}
type="secondary"
width="100%"
onPress={async () => {
- setError(undefined);
try {
for (const host of HostIds) {
const url = urls[host];
@@ -177,6 +158,7 @@ export function ServersConfiguration() {
}
}
setSuccess(true);
+ setError(undefined);
} catch (e) {
setError((e as Error).message);
}
@@ -184,11 +166,36 @@ export function ServersConfiguration() {
title="Test connection"
/>
+ <Button
+ type="accent"
+ disabled={isLoggedIn}
+ width="100%"
+ onPress={async () => {
+ if (!success) {
+ ToastManager.show({
+ heading: "Test connection before changing server urls"
+ });
+ return;
+ }
+ SettingsService.setProperty(
+ "serverUrls",
+ urls as Record<HostId, string>
+ );
+
+ presentDialog({
+ title: "Server url changed",
+ paragraph: "Restart the app for changes to take effect.",
+ negativeText: "Done"
+ });
+ }}
+ title="Save"
+ />
+
<Button
disabled={isLoggedIn}
type="error"
width="100%"
- title="Reset"
+ title="Reset server urls"
onPress={async () => {
if (isLoggedIn) return;
SettingsService.setProperty("serverUrls", undefined);
diff --git a/apps/mobile/native/android/app/build.gradle b/apps/mobile/native/android/app/build.gradle
index c85babb96..91048a8c3 100644
--- a/apps/mobile/native/android/app/build.gradle
+++ b/apps/mobile/native/android/app/build.gradle
@@ -116,7 +116,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled true
- versionCode 3024
+ versionCode 3025
versionName 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-US
index 8c32701e4..55e7d47f3 100644
--- a/apps/mobile/native/android/releasenotes/whatsnew-en-US
+++ b/apps/mobile/native/android/releasenotes/whatsnew-en-US
@@ -1,3 +1,7 @@
-- Bug fixes and performance improvements
+- Added full offline mode with enable downloading attachments on sync
+- Now you can change sync server urls in the app settings to use your own self hosted servers
+- Now you can take backups with attachments included
+- Removed all kinds of telemetry and analytics
+- Bug fixes and small improvements
Thank you for using Notesnook!
\ No newline at end of file
diff --git a/apps/mobile/native/fonts/MaterialCommunityIcons.ttf b/apps/mobile/native/fonts/MaterialCommunityIcons.ttf
index f309d5f8d..57d766216 100644
Binary files a/apps/mobile/native/fonts/MaterialCommunityIcons.ttf and b/apps/mobile/native/fonts/MaterialCommunityIcons.ttf differ
diff --git a/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj b/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj
index 29a9c1512..532a0f57e 100644
--- a/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj
+++ b/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj
@@ -1061,7 +1061,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 2111;
+ CURRENT_PROJECT_VERSION = 2112;
DEVELOPMENT_TEAM = 53CWBG3QUC;
ENABLE_BITCODE = NO;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
@@ -1135,7 +1135,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- MARKETING_VERSION = 3.0.14;
+ MARKETING_VERSION = 3.0.15;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
@@ -1166,7 +1166,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
- CURRENT_PROJECT_VERSION = 2111;
+ CURRENT_PROJECT_VERSION = 2112;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 53CWBG3QUC;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
@@ -1240,7 +1240,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- MARKETING_VERSION = 3.0.14;
+ MARKETING_VERSION = 3.0.15;
ONLY_ACTIVE_ARCH = NO;
OTHER_LDFLAGS = (
"$(inherited)",
@@ -1399,7 +1399,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 2111;
+ CURRENT_PROJECT_VERSION = 2112;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = 53CWBG3QUC;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
@@ -1411,7 +1411,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
- MARKETING_VERSION = 3.0.14;
+ MARKETING_VERSION = 3.0.15;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.notewidget;
@@ -1442,7 +1442,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 2111;
+ CURRENT_PROJECT_VERSION = 2112;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 53CWBG3QUC;
@@ -1455,7 +1455,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
- MARKETING_VERSION = 3.0.14;
+ MARKETING_VERSION = 3.0.15;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.notewidget;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1485,7 +1485,7 @@
CODE_SIGN_ENTITLEMENTS = "Make Note/Make Note.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 2111;
+ CURRENT_PROJECT_VERSION = 2112;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = 53CWBG3QUC;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
@@ -1559,7 +1559,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
- MARKETING_VERSION = 3.0.14;
+ MARKETING_VERSION = 3.0.15;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.share;
@@ -1590,7 +1590,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 2111;
+ CURRENT_PROJECT_VERSION = 2112;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 53CWBG3QUC;
@@ -1665,7 +1665,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
- MARKETING_VERSION = 3.0.14;
+ MARKETING_VERSION = 3.0.15;
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 67d7e6c03..bfd40cae5 100644
--- a/apps/mobile/package-lock.json
+++ b/apps/mobile/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@notesnook/mobile",
- "version": "3.0.13",
+ "version": "3.0.14",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@notesnook/mobile",
- "version": "3.0.13",
+ "version": "3.0.14",
"hasInstallScript": true,
"license": "GPL-3.0-or-later",
"workspaces": [
diff --git a/apps/mobile/package.json b/apps/mobile/package.json
index 0e9e2b753..f843f9c61 100644
--- a/apps/mobile/package.json
+++ b/apps/mobile/package.json
@@ -1,6 +1,6 @@
{
"name": "@notesnook/mobile",
- "version": "3.0.14",
+ "version": "3.0.15",
"private": true,
"license": "GPL-3.0-or-later",
"workspaces": [
diff --git a/fastlane/metadata/android/en-US/changelogs/15114.txt b/fastlane/metadata/android/en-US/changelogs/15114.txt
new file mode 100644
index 000000000..254672370
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/15114.txt
@@ -0,0 +1,7 @@
+- Added full offline mode to enable downloading attachments on sync
+- Now you can change sync server endpoints in settings to use your own self hosted sync
+- Now you can take backups with attachments included
+- Removed all kinds of telemetry and analytics
+- Bug fixes and small improvements
+
+Thank you for using Notesnook!
\ No newline at end of file