pablisco
04/23/2024, 10:03 AMmohamed rejeb
04/23/2024, 10:30 AMkotlin {
applyDefaultHierarchyTemplate {
common {
group("mobile") {
withAndroidTarget()
withIos()
}
}
}
}
And then you can import the library only for that group and use expect actual, the actual in mobile will use the library implementation and the actual in the non supported target will use your implementation for that specific target.mohamed rejeb
04/23/2024, 10:31 AMpablisco
04/23/2024, 10:35 AMmohamed rejeb
04/23/2024, 10:38 AMpablisco
04/23/2024, 10:43 AM