From d4c1ace21449ad2fe8f95a45e6b921de7b98b412 Mon Sep 17 00:00:00 2001 From: Nik <57678528+Captainnik53@users.noreply.github.com> Date: Wed, 4 Oct 2023 16:10:36 +0000 Subject: [PATCH 1/3] Documentation: [Cloud-Console] Remove setSelfSigned on Project Setup remove setSelfSigned for initialize sdk step 3 --- .../overview/platforms/wizard/android/step3.svelte | 3 +-- .../overview/platforms/wizard/apple/step3.svelte | 3 +-- .../overview/platforms/wizard/flutter/step3.svelte | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/routes/console/project-[project]/overview/platforms/wizard/android/step3.svelte b/src/routes/console/project-[project]/overview/platforms/wizard/android/step3.svelte index 01c74f02f7..979014ee38 100644 --- a/src/routes/console/project-[project]/overview/platforms/wizard/android/step3.svelte +++ b/src/routes/console/project-[project]/overview/platforms/wizard/android/step3.svelte @@ -10,8 +10,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("${endpoint}") - .setProject("${project}") - .setSelfSigned(status: true) // For self signed certificates, only use for development`; + .setProject("${project}"); diff --git a/src/routes/console/project-[project]/overview/platforms/wizard/apple/step3.svelte b/src/routes/console/project-[project]/overview/platforms/wizard/apple/step3.svelte index 420994b55a..97f0777fd1 100644 --- a/src/routes/console/project-[project]/overview/platforms/wizard/apple/step3.svelte +++ b/src/routes/console/project-[project]/overview/platforms/wizard/apple/step3.svelte @@ -10,8 +10,7 @@ let client = Client() .setEndpoint("${endpoint}") - .setProject("${project}") - .setSelfSigned(true) // For self signed certificates, only use for development`; + .setProject("${project}"); let showAlert = true; diff --git a/src/routes/console/project-[project]/overview/platforms/wizard/flutter/step3.svelte b/src/routes/console/project-[project]/overview/platforms/wizard/flutter/step3.svelte index 3d0f0d5201..e6ddfbb83f 100644 --- a/src/routes/console/project-[project]/overview/platforms/wizard/flutter/step3.svelte +++ b/src/routes/console/project-[project]/overview/platforms/wizard/flutter/step3.svelte @@ -11,8 +11,7 @@ Client client = Client(); client .setEndpoint('${endpoint}') - .setProject('${project}') - .setSelfSigned(status: true); // For self signed certificates, only use for development`; + .setProject('${project}'); let showAlert = true; From 5c9f40b614ef2180b19b4d097a09a3eeabe106e3 Mon Sep 17 00:00:00 2001 From: Nik <57678528+Captainnik53@users.noreply.github.com> Date: Wed, 4 Oct 2023 16:16:24 +0000 Subject: [PATCH 2/3] Documentation: [Cloud-Console] Remove setSelfSigned on Project Setup added tilt and fixed the syntax --- .../overview/platforms/wizard/android/step3.svelte | 2 +- .../overview/platforms/wizard/apple/step3.svelte | 2 +- .../overview/platforms/wizard/flutter/step3.svelte | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/console/project-[project]/overview/platforms/wizard/android/step3.svelte b/src/routes/console/project-[project]/overview/platforms/wizard/android/step3.svelte index 979014ee38..c861c2e2a1 100644 --- a/src/routes/console/project-[project]/overview/platforms/wizard/android/step3.svelte +++ b/src/routes/console/project-[project]/overview/platforms/wizard/android/step3.svelte @@ -10,7 +10,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("${endpoint}") - .setProject("${project}"); + .setProject("${project}");` diff --git a/src/routes/console/project-[project]/overview/platforms/wizard/apple/step3.svelte b/src/routes/console/project-[project]/overview/platforms/wizard/apple/step3.svelte index 97f0777fd1..34d5d1d050 100644 --- a/src/routes/console/project-[project]/overview/platforms/wizard/apple/step3.svelte +++ b/src/routes/console/project-[project]/overview/platforms/wizard/apple/step3.svelte @@ -10,7 +10,7 @@ let client = Client() .setEndpoint("${endpoint}") - .setProject("${project}"); + .setProject("${project}");` let showAlert = true; diff --git a/src/routes/console/project-[project]/overview/platforms/wizard/flutter/step3.svelte b/src/routes/console/project-[project]/overview/platforms/wizard/flutter/step3.svelte index e6ddfbb83f..8cb2ad33c4 100644 --- a/src/routes/console/project-[project]/overview/platforms/wizard/flutter/step3.svelte +++ b/src/routes/console/project-[project]/overview/platforms/wizard/flutter/step3.svelte @@ -11,7 +11,7 @@ Client client = Client(); client .setEndpoint('${endpoint}') - .setProject('${project}'); + .setProject('${project}');` let showAlert = true; From 14cb9a079de80bc5ac7bb15942d24577aa9ed581 Mon Sep 17 00:00:00 2001 From: Nik <57678528+Captainnik53@users.noreply.github.com> Date: Thu, 5 Oct 2023 04:52:47 +0000 Subject: [PATCH 3/3] Documentation: [Cloud-Console] Remove setSelfSigned on Project Setup linting issues resolved for the changes --- .../overview/platforms/wizard/android/step3.svelte | 2 +- .../overview/platforms/wizard/apple/step3.svelte | 2 +- .../overview/platforms/wizard/flutter/step3.svelte | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/console/project-[project]/overview/platforms/wizard/android/step3.svelte b/src/routes/console/project-[project]/overview/platforms/wizard/android/step3.svelte index c861c2e2a1..7cfd8025cb 100644 --- a/src/routes/console/project-[project]/overview/platforms/wizard/android/step3.svelte +++ b/src/routes/console/project-[project]/overview/platforms/wizard/android/step3.svelte @@ -10,7 +10,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("${endpoint}") - .setProject("${project}");` + .setProject("${project}");`; diff --git a/src/routes/console/project-[project]/overview/platforms/wizard/apple/step3.svelte b/src/routes/console/project-[project]/overview/platforms/wizard/apple/step3.svelte index 34d5d1d050..3ddb50ac21 100644 --- a/src/routes/console/project-[project]/overview/platforms/wizard/apple/step3.svelte +++ b/src/routes/console/project-[project]/overview/platforms/wizard/apple/step3.svelte @@ -10,7 +10,7 @@ let client = Client() .setEndpoint("${endpoint}") - .setProject("${project}");` + .setProject("${project}");`; let showAlert = true; diff --git a/src/routes/console/project-[project]/overview/platforms/wizard/flutter/step3.svelte b/src/routes/console/project-[project]/overview/platforms/wizard/flutter/step3.svelte index 8cb2ad33c4..b8eb133dae 100644 --- a/src/routes/console/project-[project]/overview/platforms/wizard/flutter/step3.svelte +++ b/src/routes/console/project-[project]/overview/platforms/wizard/flutter/step3.svelte @@ -11,7 +11,7 @@ Client client = Client(); client .setEndpoint('${endpoint}') - .setProject('${project}');` + .setProject('${project}');`; let showAlert = true;