nakama 0.1.5-dev.2 copy "nakama: ^0.1.5-dev.2" to clipboard
nakama: ^0.1.5-dev.2 copied to clipboard

Nakama is an open-source scalable game server that lets you focus on building games.

Nakama Flutter Client 🤩 🎮 🌍 🛰 #

Nakama is an open-source scalable game server. This is a Flutter client for Nakama written in pure dart and supports cross platform gaming on iOS, Android, Web and more.

GitHub issues GitHub last commit Pub Version


🚦 Current Status #

Almost all basic functions which are necessary to start playing around with Nakama are ready to use. Please feel free to give your feedback with creating an issue. I am currently working on getting a 100 % coverage with this SDK.

🚀 Getting Started #

1. Setup Nakama Server #

You need a Nakama instance for developing. I suggest setting up Nakama with Docker Compose. You find a tutorial here: Install Nakama with Docker Compose and here Installation & Setup.

2. Add flutter_nakama to pubspec.yaml. #

name: your_game
dependencies:
    flutter:
        sdk: flutter
    flutter_nakama: ^0.1.0

3. Create nakama base client #

final client = getNakamaClient(
  host: '127.0.0.1',
  ssl: false,
  serverKey: 'defaultkey',
  grpcPort: 7349, // optional
  httpPort: 7350, // optional
);

4. Use the SDK #

For example start with logging into an user account:

final session = await getNakamaClient().authenticateEmail(
    email: 'foo@bar.de',
    password: 'mySecurePassword!',
);

print('Hey, you are logged in! UserID: ${session.userId}');

Documentation #

Flutter SDK Docs: https://flutter-nakama.gitbook.io

Nakama Docs: https://heroiclabs.com/docs

56
likes
0
pub points
75%
popularity

Publisher

verified publisherheroiclabs.com

Nakama is an open-source scalable game server that lets you focus on building games.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

chopper, fixnum, flutter, grpc, json_annotation, jwt_decoder, logging, meta, protobuf, web_socket_channel

More

Packages that depend on nakama