Skip to content

An unofficial Flutter client, which use the newest Twitch API and provider for state management.

Notifications You must be signed in to change notification settings

federicoviceconti/unofficial_twitch_client_flutter

Repository files navigation

🏆 unofficial_twitch_client_flutter

An unofficial Flutter client, which use the newest Twitch API and provider for state management.

Support null safety!

Now available on pub.dev:

💻 Configuration

Create an app on Twitch Dev console

  • Go to the dev website: https://dev.twitch.tv
  • Open "Your Console"
  • Register a new application with: name, OAuth redirect and the category

When you finish to set it up, you will redirect to your app. Here you can your Client ID and secret token (don't share to anyone!)

Configure environment variables

In order to make it work the newest Twitch API, we need to set: client_id, redirect. This app use environment variables via "--dart-define" arguments.

Example:

flutter run --dart-define=CLIENT_ID={client_id} --dart-define=REDIRECT={redirect}

For the redirect you can use for example http://localhost. The Client ID is the one generated on the Twitch Dev console.

This variable, will be set on the lib/main.dart file.

📦 External packages

This app depends on the following packages (you can find them on the external_modules folder):

About

An unofficial Flutter client, which use the newest Twitch API and provider for state management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published