Open GuilhE opened 1 month ago
The sample app doesn't include kotlinx-browser and builds/runs fine as far as I'm aware. Can you link a project that reproduces the issue?
Yes, check this sample https://github.com/GuilhE/WhosNext, also this commit
Ok I see. The APIs were removed from the wasm stdlib in 2.1.0-Beta2 which I hadn't gotten around to testing against. I'll add the dependency in the next release.
This error was throwing in this configuration, for
StorageSettings
:The issue was resolved by adding the kotlinx-browser dependency to the
wasmJsMain
target in theshared
module. Is this something users need to handle in their projects, or couldmultiplatform-settings
address it internally? It might also be worth mentioning in the README.md.Thanks.