My Account

User Information

Email: {data?.user?.email}
Registered Date: {new Date(data?.user?.created ?? null)?.toLocaleString("en-US", { month: "short", day: "numeric", year: "numeric", })}
Update Password

Notification

Customize your notification alerts based on your preferences.

Push Notification

{#if pwaInstalled}
{#if nottifPermGranted === null}

Checking permissions...

{:else if nottifPermGranted === true} {#if isPushSubscribed}

Push notifications are currently active.

{:else}

Stay up-to-date with real-time price alerts, the latest stock news, and earnings calls delivered straight to your device.

{#if !loading} {:else} {/if} {/if} {:else if nottifPermGranted === false}

Review your settings and enable notifications to stay updated with Stocknear alerts.

{/if}
{:else}

You can activate the push notification only if you downloaded the app.

{/if}

Manage Subscription

Status:
{#if data?.user?.freeTrial === true} Active {:else} {subscriptionData?.status_formatted ?? "No Active Subscription"} {/if}
{#if subscriptionData?.status_formatted === "Active"} Your subscription will automatically renew on {new Date( subscriptionData?.renews_at, )?.toLocaleDateString("en-GB", { day: "numeric", month: "long", year: "numeric", })} {:else if subscriptionData?.status_formatted === "Cancelled"} Your subscription will remain active until {new Date( subscriptionData?.ends_at, )?.toLocaleDateString("en-GB", { day: "numeric", month: "long", year: "numeric", })} {/if}
Current Plan: {#if subscriptionData?.first_order_item?.product_name === "Pro Subscription (Life Time Access)"} Lifetime Access {:else if data?.user?.freeTrial === true} Pro Subscription (Free Trial) {:else} {["Active", "Paid", "Cancelled"]?.includes( subscriptionData?.status_formatted, ) ? subscriptionData?.product_name : "Free Subscription"} {/if}
{#if subscriptionData?.status_formatted === "Active"}
{#if subscriptionData?.product_name?.includes("Monthly")} {/if}
{:else if subscriptionData?.status_formatted === "Cancelled"} {:else if subscriptionData?.status_formatted === "Paid" && !subscriptionData?.first_order_item?.product_name === "Pro Subscription (Life Time Access)"} Please wait a moment; you will be updated to Pro in a second. {:else if subscriptionData?.first_order_item?.product_name === "Pro Subscription (Lifetime Access)"}{:else} Get Full Access with Pro Subscription. {/if}

Need help?

Here's how to get support: