1
0
Fork 0
mirror of synced 2024-06-02 10:54:44 +12:00

Updates to Flutter SDK

This commit is contained in:
Eldad Fux 2020-05-24 08:30:49 +03:00
parent 64065d2c31
commit 780842839d
5 changed files with 28 additions and 26 deletions

View file

@ -1,7 +1,8 @@
## 0.2.2
- Fixed an error that happend when the OAuth session creation request was sent before any other API call
-
- Fixed a bug in the Avatars service where location URL generation had syntax error
## 0.2.1
- Fixed callback scheme

View file

@ -51,14 +51,14 @@ class Avatars extends Service {
};
Uri endpoint = Uri.parse(client.endPoint);
Uri url = new Uri(scheme: endpoint.scheme,
Uri location = new Uri(scheme: endpoint.scheme,
host: endpoint.host,
port: endpoint.port,
path: endpoint.path + path,
queryParameters:params,
);
return url.toString();
return location.toString();
}
/// Get Favicon
@ -75,14 +75,14 @@ class Avatars extends Service {
};
Uri endpoint = Uri.parse(client.endPoint);
Uri url = new Uri(scheme: endpoint.scheme,
Uri location = new Uri(scheme: endpoint.scheme,
host: endpoint.host,
port: endpoint.port,
path: endpoint.path + path,
queryParameters:params,
);
return url.toString();
return location.toString();
}
/// Get Country Flag
@ -102,14 +102,14 @@ class Avatars extends Service {
};
Uri endpoint = Uri.parse(client.endPoint);
Uri url = new Uri(scheme: endpoint.scheme,
Uri location = new Uri(scheme: endpoint.scheme,
host: endpoint.host,
port: endpoint.port,
path: endpoint.path + path,
queryParameters:params,
);
return url.toString();
return location.toString();
}
/// Get Image from URL
@ -130,14 +130,14 @@ class Avatars extends Service {
};
Uri endpoint = Uri.parse(client.endPoint);
Uri url = new Uri(scheme: endpoint.scheme,
Uri location = new Uri(scheme: endpoint.scheme,
host: endpoint.host,
port: endpoint.port,
path: endpoint.path + path,
queryParameters:params,
);
return url.toString();
return location.toString();
}
/// Get QR Code
@ -157,13 +157,13 @@ class Avatars extends Service {
};
Uri endpoint = Uri.parse(client.endPoint);
Uri url = new Uri(scheme: endpoint.scheme,
Uri location = new Uri(scheme: endpoint.scheme,
host: endpoint.host,
port: endpoint.port,
path: endpoint.path + path,
queryParameters:params,
);
return url.toString();
return location.toString();
}
}

View file

@ -125,14 +125,14 @@ class Storage extends Service {
};
Uri endpoint = Uri.parse(client.endPoint);
Uri url = new Uri(scheme: endpoint.scheme,
Uri location = new Uri(scheme: endpoint.scheme,
host: endpoint.host,
port: endpoint.port,
path: endpoint.path + path,
queryParameters:params,
);
return url.toString();
return location.toString();
}
/// Get File Preview
@ -155,14 +155,14 @@ class Storage extends Service {
};
Uri endpoint = Uri.parse(client.endPoint);
Uri url = new Uri(scheme: endpoint.scheme,
Uri location = new Uri(scheme: endpoint.scheme,
host: endpoint.host,
port: endpoint.port,
path: endpoint.path + path,
queryParameters:params,
);
return url.toString();
return location.toString();
}
/// Get File for View
@ -179,13 +179,13 @@ class Storage extends Service {
};
Uri endpoint = Uri.parse(client.endPoint);
Uri url = new Uri(scheme: endpoint.scheme,
Uri location = new Uri(scheme: endpoint.scheme,
host: endpoint.host,
port: endpoint.port,
path: endpoint.path + path,
queryParameters:params,
);
return url.toString();
return location.toString();
}
}

16
composer.lock generated
View file

@ -485,12 +485,12 @@
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "c8162bee934111d42b1db4869c09fb58926074c7"
"reference": "0d137e94480b275aadd1f2536a76d91cf580711c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/c8162bee934111d42b1db4869c09fb58926074c7",
"reference": "c8162bee934111d42b1db4869c09fb58926074c7",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/0d137e94480b275aadd1f2536a76d91cf580711c",
"reference": "0d137e94480b275aadd1f2536a76d91cf580711c",
"shasum": ""
},
"require": {
@ -498,7 +498,7 @@
"guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.6.1",
"php": ">=5.5",
"symfony/polyfill-intl-idn": "^1.11"
"symfony/polyfill-intl-idn": "1.17.0"
},
"require-dev": {
"ext-curl": "*",
@ -544,7 +544,7 @@
"rest",
"web service"
],
"time": "2020-05-19T12:55:02+00:00"
"time": "2020-05-23T18:58:46+00:00"
},
{
"name": "guzzlehttp/promises",
@ -1141,7 +1141,7 @@
},
{
"name": "symfony/polyfill-intl-idn",
"version": "dev-master",
"version": "v1.17.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-idn.git",
@ -1745,7 +1745,7 @@
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator",
"reference": "e889aa5764f6cca683b5ccd83eed2e4632173937"
"reference": "69f8cfabf7f40cb9fb7198cdd9770afdd030a88a"
},
"require": {
"ext-curl": "*",
@ -1775,7 +1775,7 @@
}
],
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"time": "2020-05-23T14:30:05+00:00"
"time": "2020-05-24T05:26:35+00:00"
},
{
"name": "doctrine/instantiator",

View file

@ -1,7 +1,8 @@
## 0.2.2
- Fixed an error that happend when the OAuth session creation request was sent before any other API call
-
- Fixed a bug in the Avatars service where location URL generation had syntax error
## 0.2.1
- Fixed callback scheme