Updated SDKs
This commit is contained in:
parent
561bb8e880
commit
8677e001cc
|
@ -102,7 +102,7 @@ return [
|
|||
'beta' => false,
|
||||
'languages' => [ // TODO change key to 'sdks'
|
||||
[
|
||||
'key' => 'javascript',
|
||||
'key' => 'web',
|
||||
'name' => 'Console',
|
||||
'version' => '1.0.0',
|
||||
'url' => 'https://github.com/appwrite/sdk-for-console',
|
||||
|
@ -110,7 +110,7 @@ return [
|
|||
'beta' => false,
|
||||
'family' => APP_PLATFORM_CONSOLE,
|
||||
'prism' => 'console',
|
||||
'source' => realpath(__DIR__ . '/../sdks/console-javascript'),
|
||||
'source' => realpath(__DIR__ . '/../sdks/console-web'),
|
||||
'gitUrl' => null,
|
||||
'gitRepoName' => 'sdk-for-console',
|
||||
'gitUserName' => 'appwrite',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Appwrite SDK for Dart
|
||||
# Appwrite SDK
|
||||
|
||||
[![pub package](https://img.shields.io/pub/v/appwrite.svg)](https://pub.dartlang.org/packages/appwrite)
|
||||
![License](https://img.shields.io/github/license/appwrite/sdk-for-flutter.svg?v=1)
|
|
@ -324,7 +324,7 @@ class Account extends Service {
|
|||
|
||||
return FlutterWebAuth.authenticate(
|
||||
url: url.toString(),
|
||||
callbackUrlScheme: "appwrite-callback"
|
||||
callbackUrlScheme: "appwrite-callback" + client.config['project']
|
||||
).then((value) {
|
||||
Uri url = Uri.parse(value);
|
||||
List<Cookie> cookies = [new Cookie(url.queryParameters['key'], url.queryParameters['secret'])];
|
|
@ -14,7 +14,7 @@ dependencies:
|
|||
dio: ^3.0.0
|
||||
cookie_jar: ^1.0.0
|
||||
dio_cookie_manager: ^1.0.0
|
||||
flutter_web_auth: ^0.2.0
|
||||
flutter_web_auth: ^0.2.4
|
||||
flutter:
|
||||
sdk: flutter
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Appwrite SDK for JavaScript
|
||||
# Appwrite SDK
|
||||
|
||||
![License](https://img.shields.io/github/license/appwrite/sdk-for-js.svg?v=1)
|
||||
![Version](https://img.shields.io/badge/api%20version-0.6.0-blue.svg?v=1)
|
||||
|
@ -33,21 +33,6 @@ To install with a CDN (content delivery network) add the following scripts to th
|
|||
<script src="https://cdn.jsdelivr.net/npm/appwrite@1.0.29"></script>
|
||||
```
|
||||
|
||||
## Getting Started
|
||||
|
||||
Initialise the Appwrite SDK in your code, and setup your API credentials:
|
||||
|
||||
```js
|
||||
|
||||
// Init your JS SDK
|
||||
var appwrite = new Appwrite();
|
||||
|
||||
appwrite
|
||||
.setEndpoint('http://localhost/v1') // Set only when using self-hosted solution
|
||||
.setProject('455x34dfkj') // Your Appwrite Project UID
|
||||
;
|
||||
|
||||
```
|
||||
|
||||
|
||||
## Contribution
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue