Description
Hello,
What is the strategy to get access to java/kotlin ffi functions/libraries on Android in a dioxus mobile app?
I can make a java library and transfer it in the assets folder. I know it's there in the build and i can get a local path to it - smth like app/src/main/assets/filename, but to initiate ffi with JNI, i seem to need a complete path... either that or the file isn't really there at all!
From reading around, there's of course java/kotlin code that could pull out the path to this, or copy the file to somewhere it's accessible from rust, but... because all the app initiation is handled by dioxus cli, i cannot interject and therefore haven't found a way to initiate any ffi.
Is there an approach to this I've not seen (apologies if that's not a pure Dioxus question) - and if not, could it be considered for a future feature - maybe a helper fn, or at least a guide on how this could be done?
many thanks - looking forward to 0.7!