Skip to content

Unity client sdk #1105

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

Open
wants to merge 50 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
c701685
Merge branch 'master' into unity-client-sdk
Fellmonkey Jun 28, 2025
d007736
feat: add Unity SDK support to SDK generator
Fellmonkey Jul 3, 2025
3627f77
Refactor Unity SDK file structure and improve upload logic
Fellmonkey Jul 10, 2025
e20f308
Add Unity2021 test integration
Fellmonkey Jul 10, 2025
b9602f7
Merge branch 'master' into unity-client-sdk
Fellmonkey Jul 10, 2025
b17f3f3
Merge branch 'appwrite:master' into unity-client-sdk
Fellmonkey Jul 11, 2025
772d82d
feat: add cookie container support
Fellmonkey Jul 12, 2025
e858581
feat: add ping functionality
Fellmonkey Jul 12, 2025
85fdb6f
feat: add realtime endpoint configuration
Fellmonkey Jul 12, 2025
f657dc0
fix: improve header setting in client
Fellmonkey Jul 12, 2025
8d116c7
feat: add native websocket dependency
Fellmonkey Jul 12, 2025
1dd5a07
feat: complete realtime implementation rewrite
Fellmonkey Jul 12, 2025
9166fbb
test: add comprehensive test coverage
Fellmonkey Jul 12, 2025
977c043
Update Tests.cs
Fellmonkey Jul 12, 2025
4e117ad
fix: header formatting
Fellmonkey Jul 12, 2025
0c59f25
test: remove major delay
Fellmonkey Jul 12, 2025
7b9f36c
refactor api.twig
Fellmonkey Jul 12, 2025
f55cee3
Delete AppwriteClient.cs.twig
Fellmonkey Jul 13, 2025
8116b5d
refactor: remove space
Fellmonkey Jul 13, 2025
2733768
refactor: remove build warnings
Fellmonkey Jul 13, 2025
98f2487
Add raw filter
Fellmonkey Jul 15, 2025
cef5ed5
add utils
Fellmonkey Jul 16, 2025
6881c4a
fix root namespace and ref
Fellmonkey Jul 16, 2025
3d4211f
refactor: editor scipts
Fellmonkey Jul 16, 2025
c2eeaae
Delete AppwriteExampleScript.cs.twig
Fellmonkey Jul 16, 2025
fc78753
refactor config
Fellmonkey Jul 17, 2025
09db3dd
refactor manager
Fellmonkey Jul 17, 2025
9cd0867
new appwrite example
Fellmonkey Jul 17, 2025
bd3c56b
remove AppwriteClient template
Fellmonkey Jul 17, 2025
e429cb6
new structure project
Fellmonkey Jul 17, 2025
ee033d0
remove empty file
Fellmonkey Jul 17, 2025
686ac66
new depend in tests.asmdef
Fellmonkey Jul 17, 2025
fb7c149
Update package.json.twig
Fellmonkey Jul 17, 2025
8e53b67
fix lint
Fellmonkey Jul 17, 2025
aba236c
test behavior
Fellmonkey Jul 17, 2025
90bbad5
return all include platforms
Fellmonkey Jul 17, 2025
24e3f27
Update Unity.php
Fellmonkey Jul 17, 2025
a34c613
Merge pull request #1 from Fellmonkey/dev
Fellmonkey Jul 17, 2025
40f771a
Add conditional UniTask support for Unity templates
Fellmonkey Jul 18, 2025
5486c68
Add version define for UniTask in asmdef
Fellmonkey Jul 18, 2025
803ba98
Merge pull request #2 from Fellmonkey/dev
Fellmonkey Jul 18, 2025
7bc47f4
Update Realtime.cs.twig
Fellmonkey Jul 20, 2025
dd432e6
Add service selection and security warnings to config
Fellmonkey Jul 20, 2025
a384f22
Restrict QuickSetup method to Unity Editor
Fellmonkey Jul 20, 2025
a6746b0
Add dynamic service initialization to AppwriteManager
Fellmonkey Jul 20, 2025
4ddc170
Refactor Realtime WebSocket handling and models
Fellmonkey Jul 20, 2025
75d8a97
Merge pull request #3 from Fellmonkey/dev
Fellmonkey Jul 20, 2025
adae0a5
Merge branch 'master' into dev
Fellmonkey Jul 22, 2025
b43999d
add deprecation handling
Fellmonkey Jul 22, 2025
3681fa6
Merge pull request #4 from Fellmonkey/dev
Fellmonkey Jul 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ concurrency:

on: [pull_request]

env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -47,6 +50,7 @@ jobs:
Ruby31,
AppleSwift56,
Swift56,
Unity2021,
WebChromium,
WebNode
]
Expand Down
26 changes: 26 additions & 0 deletions example.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
use Appwrite\SDK\Language\Android;
use Appwrite\SDK\Language\Kotlin;
use Appwrite\SDK\Language\ReactNative;
use Appwrite\SDK\Language\Unity;

try {

Expand Down Expand Up @@ -75,6 +76,31 @@ function getSSLPage($url) {

$sdk->generate(__DIR__ . '/examples/php');


// Unity
$sdk = new SDK(new Unity(), new Swagger2($spec));

$sdk
->setName('NAME')
->setDescription('Repo description goes here')
->setShortDescription('Repo short description goes here')
->setURL('https://example.com')
->setLogo('https://appwrite.io/v1/images/console.png')
->setLicenseContent('test test test')
->setWarning('**WORK IN PROGRESS - NOT READY FOR USAGE**')
->setChangelog('**CHANGELOG**')
->setVersion('0.0.1')
->setGitUserName('repoowner')
->setGitRepoName('reponame')
->setTwitter('appwrite_io')
->setDiscord('564160730845151244', 'https://appwrite.io/discord')
->setDefaultHeaders([
'X-Appwrite-Response-Format' => '1.6.0',
])
;

$sdk->generate(__DIR__ . '/examples/unity');

// // Web
$sdk = new SDK(new Web(), new Swagger2($spec));

Expand Down
Loading
Loading