Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📚 Documentation: [Cloud-Console] Remove setSelfSigned on Project Setup #638

Open
2 tasks done
ItzNotABug opened this issue Sep 23, 2023 · 8 comments
Open
2 tasks done
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@ItzNotABug
Copy link
Member

💭 Description

Generic example:

Client()
  .setEndpoint("https://cloud.appwrite.io/v1")
  .setProject("projectId")
  .setSelfSigned(status: true) // This is no more required as there's no `local development` on cloud.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@eldadfux
Copy link
Member

Thanks! On which page have you seen this? We did a cleanup on Cloud released and probably missed it.

@eldadfux eldadfux added the bug Something isn't working label Sep 23, 2023
@ItzNotABug
Copy link
Member Author

ItzNotABug commented Sep 23, 2023

@eldadfux This is usually shown on the Initialize SDK step of adding a platform in a project.

This is the place, I guess:
src/routes/console/project-[project]/overview/platforms/wizard/*/step3.svelte

@Captainnik53
Copy link

Captainnik53 commented Oct 2, 2023

@eldadfux @gewenyu99 I want to work on this issue. Can you please assign it to me if it is still open?

@gewenyu99
Copy link
Contributor

@Captainnik53 It's yours, assigned.

@gewenyu99
Copy link
Contributor

Lmk if you need help!

@Captainnik53
Copy link

@gewenyu99
Found the occurrence of .setSelfSigned(status: true) in two files.

  1. src/routes/console/project-[project]/overview/platforms/wizard/android/step3.svelte
  2. src/routes/console/project-[project]/overview/platforms/wizard/flutter/step3.svelte
    Just removing it from here should work.

But I am lil bit confused here, because it exists on the console repo of appwrite and not the main repo, so can you please guide me here if I am looking in the right place?

@ItzNotABug
Copy link
Member Author

ItzNotABug commented Oct 4, 2023

Just adding a point here:
There needs to be some logic to check if the host is Appwrite Cloud, if so then don't show the snippet else this should be shown for self hosted instances.

@gewenyu99
Copy link
Contributor

@Captainnik53 You're looking in the right place. Appwrite repo is the backend, console is the frontend.

@eldadfux eldadfux transferred this issue from appwrite/appwrite Feb 19, 2024
@eldadfux eldadfux added the documentation Improvements or additions to documentation label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants