Closed ryanw-mobile closed 3 weeks ago
Blocker: #23 RoomDB
Room Multiplatform does not have wasmJs
support yet. Therefore, we are not considering Web for the time being.
* What went wrong:
Could not determine the dependencies of task ':kotlinNpmInstall'.
> Could not resolve all dependencies for configuration ':composeApp:wasmJsNpmAggregated'.
> Could not resolve androidx.room:room-runtime:2.7.0-alpha04.
Required by:
project :composeApp
> No matching variant of androidx.room:room-runtime:2.7.0-alpha04 was found. The consumer was configured to find a library for use during 'kotlin-runtime', preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.js.public.package.json' with value 'public-package-json', attribute 'org.jetbrains.kotlin.platform.type' with value 'wasm', attribute 'org.jetbrains.kotlin.wasm.target' with value 'js' but:
- Variant 'androidxSourcesElements':
- Incompatible because this component declares documentation for use during 'androidx-multiplatform-
It is not a good time to invest in Web for this project given the current status of KMP-Web. Can always revisit later.
This is a lower priority as it requires all our dependencies to support.
We can branch out the code and introduce Web support. We are not merging it to main until later on we have more features like caching and DB implemented and tested web supports it.
We definitely do not want to see web, a platform we do not intended to target, stops us picking a library we need to do our work.