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

Make Sobriety Cross Platform #50

Open
KiARC opened this issue Nov 11, 2022 · 3 comments
Open

Make Sobriety Cross Platform #50

KiARC opened this issue Nov 11, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@KiARC
Copy link
Owner

KiARC commented Nov 11, 2022

It would be great to be able to release Sobriety on iOS but a lot of work would need to be done on making the code work on both platforms. Luckily Kotlin can be used for both, but Android APIs wouldn't work and neither would many Google libraries I would assume. This is a very long term goal.

@KiARC KiARC added the enhancement New feature or request label Nov 11, 2022
@KiARC KiARC added this to the iOS Release milestone Nov 11, 2022
@KiARC KiARC self-assigned this Nov 11, 2022
@KiARC KiARC modified the milestones: iOS Release, Extract Cross Platform Code Nov 11, 2022
@KiARC
Copy link
Owner Author

KiARC commented Nov 11, 2022

Created a branch for this, working on step 1 which is to extract code that'll work on both platforms

@unbiaseduser
Copy link
Contributor

Hey, I just created a KMM-based branch here which uses https://github.com/Kotlin/kotlinx-datetime for time data and https://github.com/Kotlin/kotlinx.serialization for The Cache(TM) (it's literally just a json file.).
Now all you have to do is check it out, maybe polish it up a bit?, and, uh, write iOS code. Because i don't have a Mac.

@KiARC
Copy link
Owner Author

KiARC commented Nov 27, 2022

Oh thanks! Yeah, this is probably going to take a really long time, but I feel like it's a good idea overall, thank you for helping me get started

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

No branches or pull requests

2 participants