Is it possible to call native apis in Compose Desk...
# compose-desktop
v
Is it possible to call native apis in Compose Desktop? Like accessing macOS
NSApp
?
m
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
Thank you! I've managed to access NSApp using the library Java Foundation Access based on JNA https://github.com/0x4a616e/jfa
👍 1