Our great sponsors
-
KMMBridgeSampleKotlin aka Kotlin Repo - This is the Kotlin repo with the shared SDK code as well as an Android app that uses it.
-
KMMBridgeSampleSpm aka SPM Repo - a repo that pulls down the sdk with Swift Package Manager to use in an iOS app
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support. Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
Since this publishes frameworks to our GitHub org, you'll need to fork the repo in order to publish changes. If you're only using SPM and remove the CocoaPods publishing, this should be enough to start publishing your changes. If you want to use CocoaPods you'll also need to fork the Podspec Repo and change url passed to the cocoapods(...) config above to your repo. You'll also have to set up deploy keys as secrets in your KMM repo. See Here for instructions on that.
-
Since the base KMM repo is public, you should be able to clone the spm sample repo and run it. When you build the app it will look at the Package.swift file in the root of the Kotlin module to get the url for the most recent version of the SDK then it will download the framework from that URL and include it in the project's build.