Pablo
01/26/2025, 10:09 AMpackageName
value inside nativeDistributions
in gradle
file. When I create a compose desktop project with the official project builder, it writtes in that packageName
variable this: com.example.myapp
but when I searched how to put the name of the application for Windows knowing how to name it in start menu for example, somewhere I read that you must put the app name in that packageName
, changing com.example.myapp
with "My App Name". That sounds strange. Package names under Android must be with com.etc.etc naming convention, and sounds very strange to put the application name there for Windows. Is something wrong here? what happens if this app is then compiled also for android, ios, etc...? My only experiencie with KMP is doing windows applications.Chrimaeon
01/26/2025, 10:36 AMcompose.desktop
. Its really the name of the app. Also, you cannot “compile” the compose.desktop
for android. you will need the android
target with the usual android configurations.
If you need a bundleId
, the counterpart for android.packageName
you set it via compose.desktop.application.nativeDistributions.macOS.bundleID
Pablo
01/26/2025, 10:39 AMChrimaeon
01/26/2025, 10:44 AMPablo
01/26/2025, 1:37 PMPablo
01/26/2025, 1:37 PMPablo
01/26/2025, 1:38 PMPablo
01/26/2025, 1:38 PMpackageName
field instead of the project namePablo
01/26/2025, 1:39 PMPablo
01/26/2025, 1:39 PMpackageName
should be "My App"Chrimaeon
01/26/2025, 2:47 PM