heroiclabs / nakama-defold

Defold client for Nakama server.
https://heroiclabs.com
Apache License 2.0
74 stars 12 forks source link

Added Satori client support #74

Open britzl opened 3 months ago

lugehorsam commented 3 weeks ago

@britzl Should the satori folder be added to include_dirs so that it can be fetched from Defold via git using the dependencies section?

lugehorsam commented 3 weeks ago

Can you add and use a session object just like in Nakama?

britzl commented 3 weeks ago

@britzl Should the satori folder be added to include_dirs so that it can be fetched from Defold via git using the dependencies section?

Ah, yes, it should. I've added the folder.

britzl commented 3 weeks ago

Can you add and use a session object just like in Nakama?

Yes, satori.authenticate() returns an api session. You can use satori.set_bearer_token() to set the session token for future requests. What that what you meant?

lugehorsam commented 3 weeks ago

@britzl could you add an example to the README?

lugehorsam commented 3 weeks ago

Could you also leave instructions for running the Satori SDK tests in the README?

britzl commented 3 weeks ago

@britzl could you add an example to the README?

I've updated the readme with Satori info.

Could you also leave instructions for running the Satori SDK tests in the README?

Added!

britzl commented 2 weeks ago

Docs PR: https://github.com/heroiclabs/docs/pull/680