Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

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.

�� 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: '[email protected]',
    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


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.