Skip to content

Replace deprecated sandbox for development token source - #32

Merged
MaxHeimbrock merged 2 commits into
mainfrom
max/use-development-token-source
Aug 27, 2026
Merged

Replace deprecated sandbox for development token source#32
MaxHeimbrock merged 2 commits into
mainfrom
max/use-development-token-source

Conversation

@MaxHeimbrock

@MaxHeimbrock MaxHeimbrock commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

We renamed the SandboxTokenSource to DevelopmentTokenSource

With LiveKit Flutter SDK 2.11.0 we deprecated SandboxTokenSource. The PR updates to the new standard.

Needs to be squashed to sandbox change
@MaxHeimbrock
MaxHeimbrock marked this pull request as ready for review August 26, 2026 12:20
Comment on lines +54 to +55
(dotenv.env['LIVEKIT_TOKEN_SERVER_ID'] ?? dotenv.env['LIVEKIT_SANDBOX_ID'])?.replaceAll('"', '');
const placeholderIds = {'<your-token-server-id>', '<your-sandbox-id>'};

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes it backwards compatible

@MaxHeimbrock
MaxHeimbrock merged commit e1955f1 into main Aug 27, 2026
3 checks passed
@MaxHeimbrock
MaxHeimbrock deleted the max/use-development-token-source branch August 27, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants