Join Slack
Powered by
I dont know whats wrong
# compose-ios
a
aris
04/16/2023, 11:15 AM
I dont know whats wrong
f
Foso
04/16/2023, 11:32 AM
https://github.com/JetBrains/compose-multiplatform-ios-android-template/blob/main/shared/src/commonMain/kotlin/App.kt
You can't add Android dependencies in commonMain, you can only use them in androidMain
a
aris
04/16/2023, 11:44 AM
Thats the commonMain directory
h
hfhbd
04/16/2023, 1:15 PM
The „common“ entry point is in shared/common/App.kt, but the real entrypoint is in androidApp MainActivity.kt. Same for iOS, the real entrypoint is in iosApp iOSApp.swift.
10
Views
Open in Slack
Previous
Next