Sergio C.
04/25/2023, 7:11 PMImage(painter = painterResource("image.jpg"), contentDescription = null)
It works fine on Android.
Loading xml vectors also work fine on both platforms.Alexander Maryanovsky
04/25/2023, 7:15 PMSergio C.
04/25/2023, 7:16 PMSergio C.
04/25/2023, 7:16 PMSergio C.
04/25/2023, 7:20 PMSergio C.
04/25/2023, 7:20 PMSergio C.
04/25/2023, 7:27 PMagrosner
04/25/2023, 8:11 PMagrosner
04/25/2023, 8:11 PMSergio C.
04/25/2023, 8:49 PMSergio C.
04/25/2023, 8:53 PMagrosner
04/25/2023, 9:02 PMNikita Lipsky
04/26/2023, 5:21 PMSergio C.
04/26/2023, 5:21 PMJohn O'Reilly
04/30/2023, 9:22 AMMissingResourceException
John O'Reilly
04/30/2023, 9:24 AMcommonMain/resources
as per sample
Image(
painterResource("compose-multiplatform.xml"),
null
)
John O'Reilly
04/30/2023, 9:26 AMSergio C.
05/01/2023, 2:34 PMJohn O'Reilly
05/01/2023, 2:36 PMSergio C.
05/01/2023, 2:38 PMagrosner
05/01/2023, 5:10 PMQamar A. Safadi
05/07/2023, 5:41 PMIvan Fernandez
05/08/2023, 7:44 AMagrosner
05/08/2023, 7:34 PMIvan Fernandez
05/09/2023, 10:15 AMJonathan
10/03/2023, 5:39 PMNikita Lipsky
10/03/2023, 5:42 PMNikita Lipsky
10/03/2023, 5:43 PMQamar A. Safadi
10/03/2023, 5:44 PMQamar A. Safadi
10/03/2023, 5:44 PMJonathan
10/03/2023, 5:47 PMCompose: “1.5.10-beta02”
Kotlin: “1.9.20-Beta2"Is this functionality not supported for beta versions?
Nikita Lipsky
10/03/2023, 5:49 PMJonathan
10/03/2023, 5:59 PMtrue
in the iosTarget.binaries.framework
block of build.gradle.kts
to get this functionality?Jonathan
10/03/2023, 6:50 PMNikita Lipsky
10/04/2023, 12:09 PMdoes the isStatic flag need to be set toIt is not required for Compose Multiplatform starting with 1.5.0in thetrue
block ofiosTarget.binaries.framework
to get this functionality?build.gradle.kts
It appears to be something wrong with the configuration with my current problemIf you can strip down your project to reproduce the problem and share it, we can look at it.
Do you know what would cause resources to fail to be copied into the iOS project?No. Currently, Compose Multiplatform Gradle plugin copies all resources to final iOS bundle that should be accessible by our resource library, providing that you use the same version for our resource library as for Gradle plugin (1.5.x)
Jonathan
10/04/2023, 12:13 PMNikita Lipsky
10/04/2023, 12:36 PM