Releases: OpenNative/open-native
v2.0.0
v2.0.0-alpha.17
- Numerous bug fixes and performance improvements since 2.0.0-alpha.0 release.
View Managers and Native Modules, Open Native now handles it all 🎉
In just a span of few weeks, Open Native has gone through a serious overhaul with changes that will help future proof our support for react native modules and views.
In v1.0.0 Open Native heavily depended upon metadata generated at compile time for modules. This worked well but it was prone to breaking and always in need of maintenance and filling in for different edge cases in regex parsing.
In v2.0.0 we have switched to doing this at runtime similar to how it's done in React Native. This means we can now almost guarantee that any react native module will work drop-in with Open Native.
- React Native modules written in swift required patching the .swift files previously. This was bad and breaking. Now swift modules are fully supported without the need to patch anything.
- Support for React Native modules written in Kotlin.
- View Managers support is finally here. This means that we can reuse the native code written for a react native module and write a JS layer for it that works in other JS frameworks like Vue, Svelte, SolidJS & Angular. The native layer is always hard to write since most of us a JS devs and don't want to touch native code. I was always skeptical about whether to support view libraries from React Native because they won't work drop in. I have finally reached the conclusion that it's going to be good and help us avoid rewriting same native components that have already been there and trialed and tested over the years.
- Open Native docs are now published at the official website https://open-native.org.
Thanks to the @NativeScript community for being open and welcoming towards Open Native and all the effort around it.
1.0.0-alpha.38
- Fix result from
startActivityForResult
not handled correctly on android
1.0.0-alpha.37
- Explicitly parse all primitive values on android during auto linking
- Fix conversion of primitives on android on method call
1.0.0-alpha.36
- Fix all params of a method are parsed as required in module meta on android
1.0.0-alpha.35
- Fix
BOOL *
param type is parsed asother
on ios
1.0.0-alpha.34
What's Changed
- fix: standardize source files type and remove __unused from types by @edusperoni in #21
- fix(logs): reset log styles by @rigor789 in #22
New Contributors
Full Changelog: 1.0.0-alpha.33...1.0.0-alpha.34
1.0.0-alpha.33
- Add missing
BaseActivityEventListener
class on android
1.0.0-alpha.32
- Added support for auto-linking packages with multiple subspecs on iOS