Skip to content

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

update version to 1373

ammarahm-eda63bdfe8977b
diff --git a/apps/mobile/babel.config.js b/apps/mobile/babel.config.js
index 8bb68016c..7c6341171 100644
--- a/apps/mobile/babel.config.js
+++ b/apps/mobile/babel.config.js
@@ -1,6 +1,6 @@
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
- //"transform-remove-console"
+ "transform-remove-console"
]
};
diff --git a/apps/mobile/src/services/PremiumService.js b/apps/mobile/src/services/PremiumService.js
index babccf6af..9e7aae8ed 100644
--- a/apps/mobile/src/services/PremiumService.js
+++ b/apps/mobile/src/services/PremiumService.js
@@ -45,7 +45,7 @@ function getProducts() {
}
function get() {
- return true;
+ //return true;
return (
premiumStatus === 1 ||
premiumStatus === 2 ||
@@ -55,8 +55,8 @@ function get() {
}
async function verify(callback, error) {
- callback();
- return;
+ //callback();
+ //return;
try {
if (!premiumStatus) {
if (error) {
@@ -118,11 +118,11 @@ const onUserStatusCheck = async (type) => {
break;
}
if (message) {
- // eSendEvent(eShowGetPremium, message);
+ eSendEvent(eShowGetPremium, message);
}
}
- return {type, result: true} //status};
+ return {type, result: status};
};
const showVerifyEmailDialog = () => {
@@ -147,7 +147,6 @@ const showVerifyEmailDialog = () => {
return;
}
await db.user.sendVerificationEmail();
- console.log('MAIN SENT');
await MMKV.setItem('lastEmailTime', JSON.stringify(Date.now()));
ToastEvent.show({
@@ -164,7 +163,6 @@ const showVerifyEmailDialog = () => {
type: 'error',
context: 'local',
});
- //await MMKV.removeItem('lastEmailTime');
}
},
actionText: 'Resend Confirmation Link',
diff --git a/apps/mobile/src/utils/index.js b/apps/mobile/src/utils/index.js
index 2f23c0b30..a6d48b0f4 100755
--- a/apps/mobile/src/utils/index.js
+++ b/apps/mobile/src/utils/index.js
@@ -83,7 +83,7 @@ export const InteractionManager = {
runAfterInteractions: (func, time = 300) => setTimeout(func, time),
};
-export const APP_VERSION = 1372;
+export const APP_VERSION = 1373;
export async function setSetting(settings, name, value) {
let s = {...settings};