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
0
votes
0 answers
Nativescript image capture issue
I'm using Native script angular for my application. I need a camera and file browse feature.
I have tried the below two plugins for the camera feature …

Sankar
- 652
- 6
- 13
0
votes
1 answer
presentViewController does not exist
I am building a plugin in NativeScript.
When I try to access "presentViewController" method on rootViewController, I get the error "property presentViewContrller does not exist".
const rvc =…

Hamed Afshar
- 173
- 2
- 14
0
votes
1 answer
Correct syntax for writing NativeScript plugin
I'm learning about NativeScript plugins and am trying to get the PubNub iOS SDK working. So far (with the TypeScript below), I am able to successfully configure, subscribe to channels, and publish messages. I'm trying to receive messages as well by…

Ricky Brown
- 644
- 5
- 8
0
votes
0 answers
NativeScript RadListView Staggered with Web Image Cache
I am trying to use RadListView with a staggered layout to load images using Web Image Cache. My problem is that percentage heights (100%) doesn't work on Android. Works just fine on iOS but on Android it will only show if I set a fixed value for the…

keerl
- 116
- 1
- 11
0
votes
4 answers
How to properly use HERE maps SDK in custom Nativescript plugin?
I included sdk file from https://developer.here.com by this location my_plugin/src/platforms/android/HERE-sdk.aar. In java code I can use it like this:
package com.here.android.tutorial;
...
import…

Taras Batenkov
- 46
- 4
0
votes
1 answer
Is it possible to have a Live Caller ID application with Nativescript?
Does anyone have any idea how can I implement a Live Caller ID?
For example, if I create an application that has a contact (John Snow: +00001) and the user doesn't have that contact in the native contacts list, I would like to add the feature when…
0
votes
1 answer
nativescript drawer navigation angular - how to navigate?
I'm new in nativescript but have an experience in angular.
I'm using this template for my first app:
https://github.com/NativeScript/template-drawer-navigation-ng
I want to navigate inside module, example:
in /settings
i…

Guy
- 5
- 3
0
votes
1 answer
Nativescript TypeScript jsPDF
i'm currently working on creating a pdf files using jsPDF in nativescript/typescript,
I need help on how to save generated pdf files in my internal storage.
I'm quite confusing either doc.save('filename.pdf') line of code did the saving and i try…

user4661864
- 71
- 8
0
votes
1 answer
Using Android native image from a NativeScript plugin
I'm writing a NativeScript plugin for the Stripe library. On Android, I can't figure out how to turn a resource ID from the native library into a drawable image.
One of the calls I make returns an ID obtained from R.drawable.xxx. The image is in the…

RDG
- 63
- 7
0
votes
1 answer
android-support-23.d.ts error TS2300: Duplicate identifier
I have followed this guide to get access to Android SDK version 23 api's by changing my references.d.ts:
/node_modules/tns-platform-declarations/android-23.d.ts
But now I get multiple "TS2300: Duplicate identifier" errors when running my…

Neigaard
- 3,726
- 9
- 49
- 85
0
votes
1 answer
javax.net.ssl.SSLException after nativescript-messenger installation in nativescript
I installed project using vue-cli-template
https://github.com/nativescript-vue/vue-cli-template/tree/master
I installed nativescript-messenger and even without changes in code I saw error
Error: Command ./gradlew failed with exit code 1 Error…

Daniel
- 7,684
- 7
- 52
- 76
0
votes
1 answer
NativeScript Side Drawer unhooked page
I'm new to NativeScript and I've been following the instructions here to create my app.
However I find out that all pages are hooked to the drawer, how do I unhook some pages, such as Login, Create ...?

Sopheakdey Moeun
- 121
- 2
- 11
0
votes
1 answer
Nativescript-bluetooth LE plugin. In which thread onDiscovered function is executed?
I am new in nativescript in general and I am trying to understand how nativescript-bluetooth LE plugin works.
In particular, I would understand if the function defined on "onDiscovered" will be executed in the main thread or in a separate thread.…

zed87
- 435
- 5
- 16
0
votes
2 answers
How can I return a Promise?
I am facing this problem with a Promise, I want to return a promise when I select one picture from Gallery using ImagePicker plugin, and then work with the file.
This is my code:
takePictureFromGallery() : any {
let context =…

relez
- 750
- 2
- 13
- 28
0
votes
1 answer
nativescript-mapbox making use of the native MapView object
Final Edit
I've found the correct documentation, and can inspect the MapView instance and mapboxMap to see available functions.
However I'm still not clear on how to actually use the SDK from within JavaScript, for example using…

Rohan
- 456
- 3
- 16