Is it possible to call native apis in Compose Desktop? Like accessing macOS
NSApp
?
m
Mike Dawson
02/02/2024, 12:24 PM
A Compose Desktop app is a JVM application. To access anything that isn't already accessible using jvm, you need to use the standard JVM techniques to access native libraries (e.g. JNI).
v
Vincent
02/02/2024, 2:33 PM
Thank you! I've managed to access NSApp using the library Java Foundation Access based on JNA ✨
https://github.com/0x4a616e/jfa