DioxusLabs / sdk

A library to provide abstractions to access common utilities when developing Dioxus applications.
Apache License 2.0
84 stars 13 forks source link

Geolocation WASM Implementation #6

Closed DogeDark closed 1 year ago

DogeDark commented 1 year ago

Everything in the wasm implementation works except for the get_coordinates function. This is because of wasm limitations making it hard to wait for a closure to be called and to retrieve data from that closure. (turning something async into non-async)

At this time, I do not have a solid idea of how to work around this issue.