If you use fake-theta, see this note from the fake-theta README
Please note that Fake THETA returns a single JPEG frame while the actual THETA device returns stream of MotionJPEG frames with Transfer-Encoding: chunked header when calling camera.getLivePreview API.
Linking to a previous article by @Leighton_Miguel on how to build and use the React Native demo that is included in the theta-client SDK. This is built on a previous version of the SDK but since it was just posted a month ago, my guess is that it still works fine.
The theta-client SDK supports and has demos for Mac, Android, React Native, and Flutter.
I tried this on Windows for Flutter and I got this error:
flutter pub get
Resolving dependencies...
Because demo_flutter depends on theta_client_flutter from path which doesn't exist (Path dependency for package theta_client_flutter must refer to a directory, not a file. Was "C:\Users\craig\Documents\Development\ricoh\2024\theta-client\demos\demo-flutter\packages\theta_client_flutter".), version solving failed.