How to add dependencies like firebase or others ? #10
|
How we can go about adding commonly used open sourced decencies, i am assuming there would be an bridging required for iOS variant of lib and android version of lib, very similar to SwiftUI and Compose. Can we get more direction toward this ? |
Replies: 2 comments 1 reply
|
Good question. I'll first state outright that adding an external SPM package as a dependency to your Skip project will only work if that dependency itself is Skip-enabled. So, for example, just adding AlamoFire or Firebase dependencies won't work, because they won't know which libraries to talk to on the Android side. We are building an ecosystem of Skip-enabled frameworks that will satisfy most common needs for modern apps (see https://skip.tools/docs/modules/), but it is still in a very early state. However, you can make your own Skip-enabled frameworks, just like we do: see the Framework Development section of the Gettin Started guide. When interfacing with external libraries on the Android side, you will add the correct Android/Java dependencies to your This is an advanced topic that is currently under-documented, but we're excited to help out and resolve any issues you encounter. |
|
Same Question what does it mean by create own framework how to even do it can we reate the skip-firebase if yes what is the process |
Good question. I'll first state outright that adding an external SPM package as a dependency to your Skip project will only work if that dependency itself is Skip-enabled.
So, for example, just adding AlamoFire or Firebase dependencies won't work, because they won't know which libraries to talk to on the Android side.
We are building an ecosystem of Skip-enabled frameworks that will satisfy most common needs for modern apps (see https://skip.tools/docs/modules/), but it is still in a very early state. However, you can make your own Skip-enabled frameworks, just like we do: see the Framework Development section of the Gettin Started guide.
When interfacing with external libraries on the An…