liveview-native / liveview-native-core

Provides core language-agnostic functionality for LiveView Native across platforms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Core integration

bcardarella opened this issue · comments

Let's use this as a running topic on how best to integrate LV Native Core into the Jetpack client

@KronicDeth i have integrated rust part with NDK. I will need to discuss it with you to start the integration of core with jetpack client

@bitwalker may be able to help with this faster since he helped with the SwiftUI integration, but I can help based on my getting phoenix-channel-client to build for Android if he's not available.

@bitwalker could you please take a look to @Kashif-E comment as well? Thanks a lot

@Kashif-E Let me know what you need and I'll be happy to do what I can to get you going!

@bitwalker i have integrated core by adding it as module to the jetpack client. I am trying to generate a android lib like the xcframework for ios. I might beed your help regarding that

@KronicDeth is it possible to access rust library functions without using jni wrappers

@Kashif-E it looks like no because even Mozilla's docs show writing wrappers https://mozilla.github.io/firefox-browser-architecture/experiments/2017-09-21-rust-on-android.html. That is 5 years old though. There might be bindgen support by now. This blog post from 2022 based on that 2017 post still shows writing the wrappers https://gendignoux.com/blog/2022/10/24/rust-library-android.html. I'm going to say, yeah, we need to manually write the wrappers.

thanks @KronicDeth ill stick with the wrappers

closing as this is mostly tackled now.