Just looking into Nativescript; the "core" bit of it seems really interesting in that you can call native APIs directly from JS, but it seems it is a completely different API for iOS and Droid (e.g. matching the respective native APIs on each platform). See attached screen shot. Does anyone know if someone has made a common JS API between iOS and Droid for nativescript core? At least a subset of calls? Otherwise you still have 2 APIs to deal with (doubling the code base), but at least it is one language.
Asked
Active
Viewed 9 times
0
-
NativeScript is the common API layer, if it is not common, then you can go into core and use it anyway. – Richard Hubley Oct 28 '20 at 19:31
-
In my apps, I'd say at least 95% of the code is common, maybe more like 98%. – David Oct 29 '20 at 17:24