Comments (10)
Thanks for help!
from sdk-for-dart.
This issue should now be fixed. Feel free to reopen if you still have issues.
from sdk-for-dart.
Can you share the stack trace of what's not working??
from sdk-for-dart.
This whole example section of code which is inside readme file is not a valid Dart code.
from sdk-for-dart.
Okay, I see what's the issue.
it should be
Client client = Client()
.setEndpoint('http://[HOSTNAME_OR_IP]/v1') // Make sure your endpoint is accessible
.setProject('5ff3379a01d25') // Your project ID
.setKey('cd868c7af8bdc893b4...93b7535db89')
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
and not the one's in readme. I will drop a PR for this soon.
Till that time, I would recommend follow from the appwrite docs
from sdk-for-dart.
This issue has been fixed. You can close this now
from sdk-for-dart.
@2002Bishwajeet This code is still not valid.
Client client = Client();
.setEndpoint('http://[HOSTNAME_OR_IP]/v1') // Make sure your endpoint is accessible
.setProject('5ff3379a01d25') // Your project ID
.setKey('cd868c7af8bdc893b4...93b7535db89')
.setSelfSigned()
from sdk-for-dart.
Client client = Client(); --> There should be no semi-colon
.setEndpoint('http://[HOSTNAME_OR_IP]/v1') // Make sure your endpoint is accessible
.setProject('5ff3379a01d25') // Your project ID
.setKey('cd868c7af8bdc893b4...93b7535db89')
.setSelfSigned()
from sdk-for-dart.
And ; at the end
from sdk-for-dart.
yup- a typo
from sdk-for-dart.
Related Issues (20)
- ican get collection from web console, but i get it from appwrite_dart trow '404' not found HOT 5
- Why are parameters not strongly typed ? HOT 5
- storage.createFile not working HOT 2
- 🐛 Bug Report: createFloatAttribute() 'toDouble' was called on null. HOT 3
- 🐛 Bug Report: createFloatAttribute() 'AppwriteException: Invalid min: Value must be a valid float (400)' HOT 1
- 🐛 Bug Report: Functions(client).list return false instead of empty dictionary as response when no variables are set HOT 9
- Update is returning Collection instead of Database HOT 1
- 🚀 Feature: Improve Pub Points on pub.dev HOT 4
- 🐛 Bug Report: [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>' HOT 2
- 📚 Documentation: Client.call supports ResponseType.bytes but how to respond from server? HOT 2
- 🐛 Bug Report: type '_Map<String, dynamic>' is not a subtype of type 'List<dynamic>' HOT 1
- 🐛 Bug Report: Version 8.0.1 required dart 2.19 which not available as functions runtime. HOT 1
- 🐛 Bug Report: Updating Attributes with Null Default Fails
- 🐛 Bug Report: Cannot set min and max values of numeric attribute to null
- What should I do if the user registered using a mobile phone number, not an email address? HOT 1
- 🚀 Feature: context.res.send(); , 1st parameter accepts only a String . HOT 1
- Question: How do I generate user session? HOT 1
- Timeouts on Async Cloud Function Execution HOT 2
- Upgrade our issue templates to use GitHub issue forms ✍️ HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdk-for-dart.