Open imaNNeo opened 1 week ago
Hey @imaNNeo,
Many improvements and bug fixes have been pushed to main
since Dart version 1.1.0, and they will be released soon.
You might want to update your pubspec.yaml
file to point directly to main
for now:
dependencies:
nakama:
git:
url: 'https://github.com/heroiclabs/nakama-dart.git'
path: nakama
I've tested your code in a clean environment using server version 3.22.0.
Everything is working smoothly with the version in main
, but it's failing with the latest version available on pub.dev (1.1.0).
Please try it out on your end and let me know if you run into any issues. Looking forward to your feedback!
P.S. Your game development tutorial using Nakama looks really interesting, keep going!
Hey,
Thanks for your quick response. I just tested it with the main branch and yes, the issue is gone!
Just to mention that the bug only happened on the web btw, when I checked it in Android, it was working correctly.
But now, with the latest changes, it works well on both the Web and Android platforms. There were some breaking changes, I solved them but I would like to ask 2 questions here. (the commit is here)
1 - Can you explain why rank
and score
in a leaderboard record are strings now? Because they were just integers before that.
2 - In which situation the records
property is null in the LeaderboardRecordList?
Cheers!
Hi, I'm using the client in my flutter game, I noticed that the display name is not parsed in the client.
For example, when I run this code, the location gets updated and I can read the new location. But the new display name is updated (I checked the console), but it cannot retrieve it from the back-end.
As you can see, both have been updated in the console. But, the client cannot retrieve the display name. It's always null
Nakama client (dart) version: 1.1.0 Nakama back-end (server) version: 3.22.0+4a4c53d7
I'm running it on web, and this is my flutter doctor result:
Does anyone know anything about it?