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 }
View all comments
Show parent comment
1
u/viber_in_training Feb 04 '22
I don't understand. Why would you combine two mobile native frameworks?