Skip to content

Calling into Swift code from AndroidΒ #14

@sgade

Description

@sgade

First of all, thank you for all the open-source repositories in relation to Swift-on-Android. They provide great value for anyone interested! πŸš€

I have a question on how to get it running within Android Studio/Gradle. I have followed your installation guide and completed my setup according to the gradle plugin documentation. I also looked at the example repo which cleared a lot of things up for me, or rather showed me how to implement them.

I do not understand everything that is going on until this point, however, my main issue is that I can now compile my Swift sources with the appropriate gradle task but I cannot call into them from Android. I'm calling from Kotlin if that matters.

How do I get the Android app to know the package that was generated from my Swift source files?
Help is very much appreciated! πŸ™‚

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions