I could push towards trying to figure out how to create a bridge between Compose Desktop and Native but the effort put into this does not justify the return. Even if you are able to use the Java Bridge you should be able to understand each different platform's APIs and language to do the wiring.Īs a solo developer building my own products, this was incredibly limiting. It is in theory possible to use native APIs via a Java Bridge but the documentation and material to do this online seems limited and dated. Using Native APIs seems really hard to do. actions which are typical to Desktop applications. This limitation also comes to other system functionality such as sharing content to your Jetpack Compose app by right clicking desktop files > Share to. The alternative solution to this is implementing your own Notification system. You cannot set actions to the notifications or customize their icon or sounds. You can display notifications but you cannot dismiss them programmatically. Jetpack Compose Desktop does not support rich notifications. Overall, any integration with the system is extremely limiting. You can only set text items without any icons. To my experience it works somewhat alright for MacOS, but it looks really dated on Windows platforms. There is the Tray composable which is used to create native looking Tray menus. Any sort of system integration does not work as you might expect. Keep in mind that you are not going to get the full native experience using Jetpack Compose Desktop. Jetpack Compose Desktop and system integration: Not great
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |