Installation & Setup
Last updated
Was this helpful?
Last updated
Was this helpful?
I suggest starting with Docker for your local dev environment. You find a tutorial in the official docs how to install Nakama:
I assume you have basic knowledge about how to use flutter and dart. And you already have an existing project.
This package is available on . Start over with adding flutter_nakama
as a dependency to your project's pubspec.yaml
:
We handle all the magic hidden behind the package regarding cross platform support. While the communication with Nakama runs with a very high performance via but gRPC is not supported in web without using a proxy, it automatically uses HTTP(S) on web.
Initialize the SDK in an early point of your app with your host and serverKey. The serverKey is used if you are not yet authenticated as a user.
You can obtain the client's singleton instance any time later via
But be sure to call it once with the required parameters host
, ssl
and serverKey
.