exoad / mcinfo

a simple app to help you get information on minecraft players and servers
https://exoad.github.io/mcinfo/
BSD 4-Clause "Original" or "Old" License
2 stars 0 forks source link

resolve versioning for `dart_minecraft` with `http` #1

Open exoad opened 4 months ago

exoad commented 4 months ago

currently the version for the packages:

  1. dart_minecraft
  2. http are unsupported and will produce a Unsupported operation: Platform._version on all web builds
exoad commented 4 months ago

ok the versioning is resolved but as of https://github.com/exoad/mcinfo/commit/4939333106d87b586daa72b6b5859c491e5c961e a stackoverflow error gets called on the internal getUuid(String) function (im stupid lmao)

exoad commented 4 months ago

ok the versioning is resolved but as of 4939333 a stackoverflow error gets called on the internal getUuid(String) function (im stupid lmao)

yea so in thsi error lol i was calling the function itself as somehow dart doesnt put external function call priority first:

      uuid = (await minecraft.getUuid(username)).second;

after

import 'package:dart_minecraft/dart_minecraft.dart' as minecraft;

interesting...

exoad commented 4 months ago

ok now theres some kind of xmlhttprequest error lol