From 272e1f7eaca703ea5a3ed0de998f79c09640fa6f Mon Sep 17 00:00:00 2001 From: rishabhpoddar Date: Thu, 11 Apr 2024 14:07:40 +0530 Subject: [PATCH] small changes to capacitor docs integration --- v2/emailpassword/capacitor-integration/about.mdx | 4 ++++ v2/passwordless/capacitor-integration/about.mdx | 4 ++++ v2/thirdparty/capacitor-integration/about.mdx | 4 ++++ v2/thirdpartyemailpassword/capacitor-integration/about.mdx | 6 +++++- v2/thirdpartypasswordless/capacitor-integration/about.mdx | 4 ++++ 5 files changed, 21 insertions(+), 1 deletion(-) diff --git a/v2/emailpassword/capacitor-integration/about.mdx b/v2/emailpassword/capacitor-integration/about.mdx index b22a154b1..8f692ff2f 100644 --- a/v2/emailpassword/capacitor-integration/about.mdx +++ b/v2/emailpassword/capacitor-integration/about.mdx @@ -10,3 +10,7 @@ hide_title: true # Capacitor integration with SuperTokens To integrate SuperTokens with your capacitor app we recommend using [capacitor-supertokens-nextjs-turborepo](https://github.com/RobSchilderr/capacitor-supertokens-nextjs-turborepo) which is a community created template project with SuperTokens already set up for NextJS on the web and mobile using capacitor. + +:::important +The `supertokens-web-js` /`supertokens-auth-react` SDKs use frontend cookies to store the session tokens. For this to work on mobile apps with Capacitor, you will need to enable [cookies in Capacitor](https://capacitorjs.com/docs/apis/cookies). +::: diff --git a/v2/passwordless/capacitor-integration/about.mdx b/v2/passwordless/capacitor-integration/about.mdx index b22a154b1..8f692ff2f 100644 --- a/v2/passwordless/capacitor-integration/about.mdx +++ b/v2/passwordless/capacitor-integration/about.mdx @@ -10,3 +10,7 @@ hide_title: true # Capacitor integration with SuperTokens To integrate SuperTokens with your capacitor app we recommend using [capacitor-supertokens-nextjs-turborepo](https://github.com/RobSchilderr/capacitor-supertokens-nextjs-turborepo) which is a community created template project with SuperTokens already set up for NextJS on the web and mobile using capacitor. + +:::important +The `supertokens-web-js` /`supertokens-auth-react` SDKs use frontend cookies to store the session tokens. For this to work on mobile apps with Capacitor, you will need to enable [cookies in Capacitor](https://capacitorjs.com/docs/apis/cookies). +::: diff --git a/v2/thirdparty/capacitor-integration/about.mdx b/v2/thirdparty/capacitor-integration/about.mdx index b22a154b1..8f692ff2f 100644 --- a/v2/thirdparty/capacitor-integration/about.mdx +++ b/v2/thirdparty/capacitor-integration/about.mdx @@ -10,3 +10,7 @@ hide_title: true # Capacitor integration with SuperTokens To integrate SuperTokens with your capacitor app we recommend using [capacitor-supertokens-nextjs-turborepo](https://github.com/RobSchilderr/capacitor-supertokens-nextjs-turborepo) which is a community created template project with SuperTokens already set up for NextJS on the web and mobile using capacitor. + +:::important +The `supertokens-web-js` /`supertokens-auth-react` SDKs use frontend cookies to store the session tokens. For this to work on mobile apps with Capacitor, you will need to enable [cookies in Capacitor](https://capacitorjs.com/docs/apis/cookies). +::: diff --git a/v2/thirdpartyemailpassword/capacitor-integration/about.mdx b/v2/thirdpartyemailpassword/capacitor-integration/about.mdx index c08221ea3..e8786024f 100644 --- a/v2/thirdpartyemailpassword/capacitor-integration/about.mdx +++ b/v2/thirdpartyemailpassword/capacitor-integration/about.mdx @@ -9,4 +9,8 @@ hide_title: true # Capacitor integration with SuperTokens -To integrate SuperTokens with your capacitor app we recommend using [capacitor-supertokens-nextjs-turborepo](https://github.com/RobSchilderr/capacitor-supertokens-nextjs-turborepo) which is a community created template project with SuperTokens already set up for NextJS on the web and mobile using capacitor. \ No newline at end of file +To integrate SuperTokens with your capacitor app we recommend using [capacitor-supertokens-nextjs-turborepo](https://github.com/RobSchilderr/capacitor-supertokens-nextjs-turborepo) which is a community created template project with SuperTokens already set up for NextJS on the web and mobile using capacitor. + +:::important +The `supertokens-web-js` /`supertokens-auth-react` SDKs use frontend cookies to store the session tokens. For this to work on mobile apps with Capacitor, you will need to enable [cookies in Capacitor](https://capacitorjs.com/docs/apis/cookies). +::: \ No newline at end of file diff --git a/v2/thirdpartypasswordless/capacitor-integration/about.mdx b/v2/thirdpartypasswordless/capacitor-integration/about.mdx index b22a154b1..8f692ff2f 100644 --- a/v2/thirdpartypasswordless/capacitor-integration/about.mdx +++ b/v2/thirdpartypasswordless/capacitor-integration/about.mdx @@ -10,3 +10,7 @@ hide_title: true # Capacitor integration with SuperTokens To integrate SuperTokens with your capacitor app we recommend using [capacitor-supertokens-nextjs-turborepo](https://github.com/RobSchilderr/capacitor-supertokens-nextjs-turborepo) which is a community created template project with SuperTokens already set up for NextJS on the web and mobile using capacitor. + +:::important +The `supertokens-web-js` /`supertokens-auth-react` SDKs use frontend cookies to store the session tokens. For this to work on mobile apps with Capacitor, you will need to enable [cookies in Capacitor](https://capacitorjs.com/docs/apis/cookies). +:::