By using NativeScript modules or packages, we can provide the various capabilities that will be available to the JavaScript app. The NativeScript runtime provides the native capability for both the platforms. Likewise, for Android, we have the V8, an environment that runs JavaScript code for Android.
For iOS, it’s JavaScript Core this is a JavaScript VM that runs JavaScript code for iOS. Each of these platforms has its own JavaScript machine. The mobile world is divided into two main platforms-Android and iOS. The NativeScript hybrid mobile app development architecture is divided into multiple layers.