React Native
lazaronixon opened this issue ยท 3 comments
Hello @jayohms, sorry I couldn't find your email so I'm trying to contact you here...
I'm working in POC for a react-native wrapper for turbo, It is working fine with IOS and now I'm trying to implement it on android, but the problem I'm facing is that react-native just share a simple view, not fragments, navhost or nothing like that... Do you know if it's possible to implement it just using turboview and sessions ???
Hey! We are also working on using Turbo with React Native together with Software Mansion (of react-navigation
, expo
etc.), and currently have both iOS and Android running in a PoC. See https://github.com/software-mansion-labs/react-native-turbo-demo/
Android has proven to be significantly harder to implement than iOS, mainly due to TurboSession
being marked as internal
If there's an interest in supporting this from the repo maintainer here, we'd be thrilled to submit a PR making a React Native integration possible without patches.
๐ the first thing I did was remove that internal session constructor.
https://github.com/lazaronixon/react-native-turbo-poc/blob/e2d5807c309170d44009d7c674c65bbb0e25344a/android/build.gradle#L138
Following along with this issue too looking to support React Native. Seems like the open PR's correctly help open up this library.