NativeScript Plugins play a key role in NativeScript applications development, by adding features to the main framework. Frequently {NS} Plugins may expose some of the native APIs on platforms such as iOS & Android, while wrapping those for ease of use by JS/NS developers, or otherwise enhance NativeScript applications' features. They may also include certain libraries, or pre-made components, or otherwise packaged utilities for NativeScript.
Questions tagged [nativescript-plugin]
249 questions
1
vote
1 answer
Which technology projects like Nativescript are there, in the sense a native platform to Javascript+native reflection proxy binding?
The most fundamental feature of Nativescript is that it converts different platforms' languages and API:s into Javascript (or another given single language e.g. C#), e.g. for iPhone it's the Objective C language and the iOS API:s, and for Android…

Mike
- 53
- 1
1
vote
0 answers
Nativescript carousel view plugins is throwing a runtime exception
I am trying to use nativescript-carousel and nativescript-carousel-view plugins. I am successfully able to build the platforms using these two plugins. But at run time when I am trying to access the plugins in XML they both are throwing the…

Venkat
- 21
- 3
1
vote
1 answer
Nativescript radiobutton
I am developing a NativeScript application. I want to use radiobutton functionality in my application.
I have tried to achieve this by using "nativescript-radiobutton" plugin, but it doesn't support in iOS.
Is there any solution through which it…

Aanal Shah
- 1,946
- 2
- 20
- 30
1
vote
0 answers
Can't make nativescript-videoplayer and nativescript-audioplayer work alongside each other?
So i'm currently building an app using the multiplatform framework of nativescript. I've got the two plugins in question to work by themselves, but when both of them runs at the same time, and i wish to pause both tracks (video and audio with…

MikMH
- 21
- 3
1
vote
1 answer
why declare method within square brackets wrapped around name in typescript?
I've been going through nativescript code base to see how to update some of my plugins for {N} 3.0.1, and i see a lot of class methods this way.
[srcProperty.setNative](value: any) {
this._createImageSourceFromSrc(value);
}
see the contents of…

Phil
- 597
- 11
- 26
1
vote
1 answer
Nativescript: TypeError: Invalid Version: 1.?2.0
I'm getting the error while installing the plugin.
TypeError: Invalid Version: 1.?2.0
I've created the plugin for NativeScript.
Here is how my package.json looks like.
{
"name": "nativescript-toaster",
"version": "1.0.1",
…

Raghavendra Shivhare
- 702
- 5
- 24
1
vote
1 answer
How to use Native code into NativeScript
Can I use the native JAVA/SWIFT code in NativeScript?
I want to store the cookies into the cookie manager, but there is no plugin provided.
So, is that possible to use the native code directly into NativeScript or I've to create a plugin myself for…

Raghavendra Shivhare
- 702
- 5
- 24
1
vote
1 answer
NativeScript : First call of getPlatformData without providing projectData
I've been seeing this for the last couple of days -
Project successfully prepared (android)
Executing after-prepare hook from C:\App\mobile-app\hooks\after-prepare\nativescript-dev-android-snapshot.js
Executing after-prepare hook from…

Sid
- 100
- 6
1
vote
0 answers
Nativescript File Picker Build errors while compile
I am developing of Sleep alarm.
And I want to select *.mp3 from sdcard for alarm sound.
But nativescript plugin "nativescript-file-picker" is not working, or error.
there is no documentation of usage,

Winner
- 45
- 1
- 4
- 16
1
vote
1 answer
NativeScript Static Library implementation how to generate TypeScript declarations
I struggling to implement a Captuvo static library as a plugin in NativeScript.
Plugin structure:
nativescript-captuvo-scan
├── package.json
└── platforms
└── ios
└── include
├── captuvo
…

Trevor
- 16,080
- 9
- 52
- 83
0
votes
0 answers
ReferenceError: NewRelic not defined while implementing custom NativeScript Plugin
So, i was creating a custom NativeScript Plugin to implement NewRelic for my iOS application. Testing the plugin in the NativeScript Plugin Seed enviroment seems to work fine.
After i added the plugin to my own project, it's getting an error, when…

ImKoFe
- 1
- 2
0
votes
0 answers
NativeScript RFID Plugin for Android
I want to know if any NativeScript Plugin is Available for Zebra RFID Devices, I am not getting any Plugin Related to RFID at the Nativescript developer platform, Please let me know if you have any helpful information with you.
I have searched…

InsideTech21
- 1
- 2
0
votes
1 answer
Save a NativeScript/Angular ImagePicker selection or get the full file path
Upon selecting an Image with the Image Picker I receive a content// url
content://com.android.providers.media.documents/document/image%3A139
When using ImageSource.fromAsset() I am returned in empty object. My current goal is to save that image as…

Tyler Kanz
- 23
- 5
0
votes
0 answers
Nativescript IOS - how to use Different App Icons for Different Environments
I am using Nativescript 8.2 to build an IOS App
I have two Environments to Deploy My App
Test Environment.
Prod Environment.
I would like to you use different App Icon for each environment
I am able to set an App Icon using below command but it…

Pein
- 423
- 3
- 11
- 27
0
votes
1 answer
NativeScript - How to Convert Magnetic Heading Degrees to True Heading Degrees
I am using Nativescript to Develop an IOS App
I am getting the magnetic Heading Degrees from the CLLocationManager
Location.service.ts
import * as geoLocation from "@nativescript/geolocation";
@Injectable()
export class LocationService {
…

Pein
- 423
- 3
- 11
- 27