what they should've done is written logic etc.. in rust and use mobile app just for native layers, so they can still share code.