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: fix pricing on gh release
Ammar Ahmeda21111368e44
diff --git a/apps/mobile/app/common/database/index.ts b/apps/mobile/app/common/database/index.tsindex 7749686af..924eec028 100644--- a/apps/mobile/app/common/database/index.ts+++ b/apps/mobile/app/common/database/index.ts@@ -38,7 +38,7 @@ export async function setupDatabase(password?: string) {const key = await getDatabaseKey(password);if (!key) throw new Error(strings.databaseSetupFailed());- const base = `http://192.168.100.79`;+ const base = `http://192.168.100.83`;database.host({API_HOST: `${base}:5264`,diff --git a/apps/mobile/app/components/sheets/buy-plan/index.tsx b/apps/mobile/app/components/sheets/buy-plan/index.tsxindex 2f467efd3..fafe4d8ef 100644--- a/apps/mobile/app/components/sheets/buy-plan/index.tsx+++ b/apps/mobile/app/components/sheets/buy-plan/index.tsx@@ -64,8 +64,6 @@ export const BuyPlan = (props: {: (pricingPlans.selectedProduct as RNIap.Product)?.productId)?.includes("5");- console.log(checkoutUrl);-return checkoutUrl ? (<Viewstyle={{@@ -74,28 +72,7 @@ export const BuyPlan = (props: {><WebViewsource={{- html: `<!DOCTYPE html>-<html lang="en">- <head>- <meta charset="UTF-8" />- <meta name="viewport" content="width=device-width, initial-scale=1.0" />- <title>Basic HTML Page with Button</title>- </head>- <body>- <h1>Welcome to My Page</h1>- <p>This is a simple example of an HTML page with a button.</p>-- <button- type="button"- onclick="window.ReactNativeWebView.postMessage(JSON.stringify({- success:true- }));"- >- Click Me!- </button>- </body>-</html>-`+ uri: checkoutUrl}}onMessage={(message) => {try {@@ -107,6 +84,8 @@ export const BuyPlan = (props: {}}domStorageEnabledjavaScriptEnabled+ cacheEnabled+ enabledstyle={{flex: 1}}@@ -182,7 +161,8 @@ export const BuyPlan = (props: {{pricingPlans.hasTrialOffer(props.planId,- (pricingPlans.selectedProduct as RNIap.Product).productId+ (pricingPlans?.selectedProduct as RNIap.Product)?.productId ||+ (pricingPlans?.selectedProduct as Plan)?.period) ? (<Viewstyle={{@@ -211,11 +191,9 @@ export const BuyPlan = (props: {{pricingPlans.hasTrialOffer(props.planId,- (pricingPlans.selectedProduct as RNIap.Product).productId- ) ||- (pricingPlans.selectedProduct as RNIap.Product).productId.includes(- "5"- ) ? (+ (pricingPlans.selectedProduct as RNIap.Product)?.productId ||+ (pricingPlans.selectedProduct as Plan)?.period+ ) || is5YearPlanSelected ? (<Viewstyle={{gap: DefaultAppStyles.GAP_VERTICAL,