Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on Touchlab-Stately #625

Open
Monabr opened this issue Sep 8, 2024 · 2 comments
Open

Remove dependency on Touchlab-Stately #625

Monabr opened this issue Sep 8, 2024 · 2 comments

Comments

@Monabr
Copy link

Monabr commented Sep 8, 2024

Hi

The library will not sync and will not work on IOS without additional dependencies that does not mentioned in the docs

// Common 
implementation("co.touchlab:stately-common:2.0.7")

// iosMain
implementation("co.touchlab:stately-isolate:2.0.7")
implementation("co.touchlab:stately-iso-collections:2.0.7")

But the library page tells:

Stately is a state utility library to facilitate state management in Kotlin Multiplatform. It was originally written to facilitate development with the strict Kotlin/Native memory model. As of Kotlin 1.7.20, the strict model is deprecated, and the releveant modules of Stately have also been deprecated but are still published and available.

So I believe this library should be refactored to not depend on Stately but on Kotlin language features.

@nbransby
Copy link
Member

nbransby commented Sep 9, 2024

It doesn't depend on Stately

@Monabr
Copy link
Author

Monabr commented Sep 28, 2024

@nbransby If I remove this dependencies and try to sync project I will get the error

KLIB resolver: Could not find "co.touchlab:stately-common"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants