(feat): add Unity SDK (#12482)

Bump appwrite/sdk-generator to 1.32.0 which adds the Unity SDK language,
wire up the `unity` case in the SDKs task, and register the Unity SDK
entry under the Client platform in sdks.php.
This commit is contained in:
Chirag Aggarwal authored and GitHub committed 2026-06-03 17:48:18 +05:30
1 parent ff6711283b
commit 9b149d6581
4 files changed
+36 -6

No files matched your search

+19
View File
@@ -156,6 +156,25 @@ return [
'gitBranch' => 'dev',
'changelog' => \realpath(__DIR__ . '/../../docs/sdks/react-native/CHANGELOG.md'),
],
[
'key' => 'unity',
'name' => 'Unity',
'version' => '0.1.0',
'url' => 'https://github.com/appwrite/sdk-for-unity',
'package' => 'https://github.com/appwrite/sdk-for-unity',
'enabled' => true,
'beta' => true,
'dev' => true,
'hidden' => false,
'family' => APP_SDK_PLATFORM_CLIENT,
'prism' => 'csharp',
'source' => \realpath(__DIR__ . '/../sdks/client-unity'),
'gitUrl' => 'git@github.com:appwrite/sdk-for-unity.git',
'gitRepoName' => 'sdk-for-unity',
'gitUserName' => 'appwrite',
'gitBranch' => 'dev',
'changelog' => \realpath(__DIR__ . '/../../docs/sdks/unity/CHANGELOG.md'),
],
[
'key' => 'graphql',
'name' => 'GraphQL',
Generated
+6 -6
View File
@@ -5640,16 +5640,16 @@
"packages-dev": [
{
"name": "appwrite/sdk-generator",
"version": "1.31.9",
"version": "1.32.0",
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator.git",
"reference": "e7fa2eb215091df41a4535b306f60dad92652426"
"reference": "7ec48fd30746e9fbc3a9bd7d3af8052acf400ff8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/e7fa2eb215091df41a4535b306f60dad92652426",
"reference": "e7fa2eb215091df41a4535b306f60dad92652426",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/7ec48fd30746e9fbc3a9bd7d3af8052acf400ff8",
"reference": "7ec48fd30746e9fbc3a9bd7d3af8052acf400ff8",
"shasum": ""
},
"require": {
@@ -5685,9 +5685,9 @@
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"support": {
"issues": "https://github.com/appwrite/sdk-generator/issues",
"source": "https://github.com/appwrite/sdk-generator/tree/1.31.9"
"source": "https://github.com/appwrite/sdk-generator/tree/1.32.0"
},
"time": "2026-05-31T06:40:47+00:00"
"time": "2026-06-03T08:49:57+00:00"
},
{
"name": "brianium/paratest",
+5
View File
@@ -0,0 +1,5 @@
# Change Log
## 0.1.0
* Initial release
+6
View File
@@ -24,6 +24,7 @@ use Appwrite\SDK\Language\REST;
use Appwrite\SDK\Language\Ruby;
use Appwrite\SDK\Language\Rust;
use Appwrite\SDK\Language\Swift;
use Appwrite\SDK\Language\Unity;
use Appwrite\SDK\Language\Web;
use Appwrite\SDK\SDK;
use Appwrite\Spec\StaticSpec;
@@ -431,6 +432,11 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
$cover = '';
$config = new DotNet();
break;
case 'unity':
$cover = '';
$config = new Unity();
$config->setPackageName('io.appwrite.unity');
break;
case 'android':
$config = new Android();
break;