0

While trying to compare between ReactNative vs NativeScript, I see that ReactNative currently does not provide support for NFC.

Is there any such Device Native features currently not supported by NativeScript ?

1 Answer 1

1

NativeScript exposes the underlying platform's frameworks to you dynamically at runtime, so any framework or API available on the underlying platform is exposed to you in JavaScript. For example, here are some of NativeScript's docs on what the resulting JS looks like for iOS.

One of the main reasons to use NativeScript is to write a single codebase that runs on multiple platforms, so instead of calling platform-specific APIs directly in your application, you'll want to use a NativeScript plugin which coalesces the disparate iOS and Android APIs into a single platform-agnostic interface that your app can consume.

Many such plugins have already been created by Telerik and contributed by the NativeScript community. If there's specific device functionality you're interested in, you can check if a plugin already exists on NPM or on Telerik's page of verified plugins.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.