Ionic Capacitator like React Native?

I saw this on:

Does that mean we will be able to add native swift/Objective-C for iOS or Java/Kotlin for Android directly into our Ionic app like it is possible with React Native? (

Native Modules
Sometimes an app needs access to platform API, and React Native doesn’t have a corresponding module yet. Maybe you want to reuse some existing Objective-C, Swift or C++ code without having to reimplement it in JavaScript, or write some high performance, multi-threaded code such as for image processing, a database, or any number of advanced extensions.

We designed React Native such that it is possible for you to write real native code and have access to the full power of the platform. This is a more advanced feature and we don’t expect it to be part of the usual development process, however it is essential that it exists. If React Native doesn’t support a native feature that you need, you should be able to build it yourself.

This is a more advanced guide that shows how to build a native module. It assumes the reader knows Objective-C or Swift and core libraries (Foundation, UIKit).

I believe that Capacitor is more similar to a Cordova alternative in that it allows you to write typescript code that calls native APIs.

I don’t use React but I think that React actually lets you write native Swift/Java, which is different than Capacitor.

I could be wrong though, I need to take a browse through the readme

1 Like

No, afaik the Ionic app itself is still running in a webview as HTML and JS, not as native code like with React Native.

1 Like

But they mention use of React so this time I guess it will be based on React & Javascript with ability to use Vue.js.

React works kinda like Angular in many ways…

I think they’re on a right path. Without native access, it won’t be possible for Capacitor to compete with SDKs available for native developers.

1 Like

React is a little faster than Angular… and I’ll be interesting in trying React on Capacitor to see if it can make Ionic app faster than now.

and React comes with React VR which I want try:

Using WebGL ( on React Ionic would be great too:

React Ionic sounds like a good plan…

You can put something like this as a part of your app:

1 Like