OpenNative / open-native

Open Native brings cross-platform communities together to help them collaborate and strengthen each other through development diversity.

Home Page:https://open-native.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

open native logo

We all want to build apps in a way that's approachable to us, regardless of the target platform. Projects like React Native, Flutter, Capacitor, and NativeScript enable us to build native (e.g. iOS and Android) apps using alternative idioms such as JavaScript, Web tech, or platform-agnostic UI.

Each of these projects has a way to map platform APIs into their idiom (e.g. React Native has "native modules"), but none are completely mutually compatible. That is to say, a React Native native module cannot be used in a Flutter app as-is, and vice versa. This situation has led to a great amount of duplicated effort, and an isolation of communities.

Open Native is the long overdue Rosetta Stone that allows native modules to be used cross-ecosystem. It handles all the necessary autolinking, type marshalling and API-binding to allow you to choose the highest quality native module for your project, no matter what ecosystem it comes from.

For our first integration, we've enabled NativeScript to use React Native native modules the same way one would use them in React Native.

Getting Started

Head over to the installation guide to learn how you can integrate Open Native in your NativeScript app.

Links

I want to contribute

That is great news! There is a lot happening at a very fast pace in this library right now. Every little help is precious. You can contribute in many ways:

  • If you have suggestion or idea you want to discuss, open an issue.
  • Open an issue if you want to make a pull request, and tell me what you want to improve or add so we can discuss about it.

Contributors

Thanks to

  • Osei Fortune: For his expert help with the NativeScript Android runtime.
  • Eduardo Speroni: For his expert help with v8 as we take on JSI.
  • The NativeScript Community: For being awesome day after day. It's hard to name everyone who helped us and encouraged us to accomplish this.
  • React Native: We both have a background in React Native and were able to learn a lot from it. This wouldn't have been possible without React Native and the communities around it.

MIT License

About

Open Native brings cross-platform communities together to help them collaborate and strengthen each other through development diversity.

https://open-native.org/

License:MIT License


Languages

Language:Java 31.2%Language:Objective-C 28.4%Language:TypeScript 24.4%Language:Objective-C++ 5.9%Language:C++ 5.8%Language:JavaScript 1.1%Language:Ruby 1.0%Language:Starlark 0.7%Language:CSS 0.6%Language:Kotlin 0.5%Language:Swift 0.2%Language:Shell 0.0%Language:SCSS 0.0%Language:HTML 0.0%