Giter VIP home page Giter VIP logo

talknagish / react-native-turbo-starter Goto Github PK

View Code? Open in Web Editor NEW
380.0 380.0 27.0 436 KB

React 0.68+ Turbo Module starter using codegen with typescript for Objective-C and Java/Kotlin with C++ shared library. ๐Ÿš€๐Ÿš€๐Ÿš€

License: MIT License

Shell 0.33% CMake 1.18% C++ 16.89% Java 34.14% JavaScript 3.06% TypeScript 10.71% Swift 0.14% Ruby 6.01% C 2.10% Objective-C 1.08% Objective-C++ 14.17% Kotlin 6.78% Makefile 3.41%

react-native-turbo-starter's People

Contributors

alon7 avatar mrousavy avatar rvasseur31 avatar yaela251 avatar yotamishak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-turbo-starter's Issues

Why not make it backwards-compatible?

I think it's still important to support NativeModules since there is still a lot of apps that haven't migrated yet to the new architecture, so why not make this template backwards compatible?

android the app closes and 'TurboStarter' could not be found

hello, with ios it works perfect, but with android it doesn't, the app closes and i get this error: 2022-04-29 14:50:50.271 28083-28131/com.example.reactnativeturbostarter E/ReactNativeJS: Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'TurboStarter' could not be found. Verify that a module by this name is registered in the native binary., js engine: hermes

This my system information:
System:
OS: macOS 12.3.1
CPU: (4) x64 Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz
Memory: 600.11 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 17.8.0 - /usr/local/bin/node
Yarn: 1.22.18 - /usr/local/bin/yarn
npm: 8.5.5 - /usr/local/bin/npm
Watchman: 2022.03.21.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2021.1 AI-211.7628.21.2111.8309675
Xcode: 13.3/13E113 - /usr/bin/xcodebuild
Languages:
Java: 11.0.14.1 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.68.1 => 0.68.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Originally posted by @direstrepo24 in #27 (comment)

Directly call C++ from JS

Would it be possible to extend this example with codegen that directly invokes c++ methods from JS? Not sure if that's already possible.

We've created a JSI library in c++ with a minimal obj-c/java boilerplate where methods are implemented in c++ directly (no need to expose it in obj-c/java) but it isn't set up to work with codegen yet (manual JSI setup).

See here for the library: https://github.com/animo/react-native-bbs-signatures

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.