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

Android compatible? #359

Open
alessdiimperio opened this issue Dec 23, 2023 · 4 comments
Open

Android compatible? #359

alessdiimperio opened this issue Dec 23, 2023 · 4 comments

Comments

@alessdiimperio
Copy link

alessdiimperio commented Dec 23, 2023

If the Swift-stdlib can run on android and swift foundation is being built purely in swift, does this mean that swift-foundation will also run on android devices?

Would be amazing to have a KMP equivalent using Swift

@iCharlesHu
Copy link
Contributor

Hi @alessdiimperio yes! Our plan is to make SwiftFoundation run everywhere that Swift runs. We certainly welcome contributions in that effort. Feel free to create PRs or file issues for specific problems you are seeing.

@finagolfin
Copy link

Would be amazing to have a KMP equivalent using Swift

I don't know what KMP is, but people are already running the current swift-corelibs-foundation on Android. Try building Swift packages with that SDK, and let me know there if you have any problems.

@alessdiimperio
Copy link
Author

KMP = kotlin multiplatform and allows developers to share code between android and ios apps using kotlin code.

https://kotlinlang.org/docs/multiplatform.html#sample-projects

Is there any good source of documentation for running swift code on android and how to use platform specific api's easily?
As well as interaction between swift and compose.

@finagolfin
Copy link

Is there any good source of documentation for running swift code on android and how to use platform specific api's easily?

No, not that I know of. Android is still a community-supported platform, so the pieces exist in various places, but you still have to put them together yourself.

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

3 participants