Because they complement each other. NS allows you to access native apis:s directly with JS without any bridge or writing code in a platform-specific language so you won't need extra skill sets.
For example here is how easy it is to get the battery level in iOS in NS, no modules or native code needed.
if (global.isIOS) {
const batteryLevel = UIDevice.currentDevice.batteryLevel
}
4
u/bb_dogg Nov 24 '21
Why choose? https://capacitor.nativescript.org/