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
Can't make using iOS protocol work in NativeScript
I am creating a NativeScript plugin that will work with my iOS and Android SDKs. In my iOS code, I have an optional @protocol that contains a few optional methods with callbacks about the state of the SDK. I am now trying to access this protocol in…

Adi Vizgan
- 1
- 1
0
votes
0 answers
Memory allocation keeps increasing in Nativescript RadListView
I am having a simple app with RadListView component as in https://github.com/banchasf/nativescript-radlistview-sample. When I navigate to the page contains RadListView and navigate out to another page, the allocated memory is not freed from iOS…

Bancha Setthanan
- 39
- 1
- 4
0
votes
1 answer
Nativescript 8 Screen freeze after splash screen is loaded in release build
Guys I'm working on one of my own projects, and I'm using
nativescript 8.2.1 along with angular 13.2.0
I had some weird issue that is when we run the project using the following command
"ns run android"
application getting compiled and running…

Raheem Mohamed
- 789
- 3
- 6
- 15
0
votes
1 answer
NativeScript 8.2 : how to get direction using CLHeading trueHeading
I am trying to get the direction in my nativescript app using the CLHeading trueHeading but it always returns as null.
locationservice.ts
import { Injectable } from "@angular/core";
@Injectable()
export class LocationService {
private…

Pein
- 423
- 3
- 11
- 27
0
votes
1 answer
NativeScript 8.2 : Cannot find name CLLocationManager, CLLocationManagerDelegate
I would like to call the ios native api's in my NativeScript Application Version 8 like this
import { Injectable } from "@angular/core";
import * as geoLocation from "nativescript-geolocation";
import { Logger } from…

Pein
- 423
- 3
- 11
- 27
0
votes
1 answer
NativeScript 8.2 : Cannot read property 'portrait' of undefined
I am using NativeScript-Orientation-Free Plugin in my NativeScript version 8.2 Application.
My app is compiling fine with "tns run ios" but
I am getting below Error on the run time and my app crashes When I am trying to set the…

Pein
- 423
- 3
- 11
- 27
0
votes
1 answer
NativeScript Downloader plugin: Can not open zip file after downloading the file
I am working on native script 8 and using ns plugin add @triniwiz/nativescript-downloader plugin to download the zip file from the server.
I get the download response
"status": "completed",
"path":…

Ragesh Pikalmunde
- 1,333
- 1
- 20
- 44
0
votes
1 answer
Building nativescript plugin strips out typings
A have written a nativescript plugin using the official plugin seed from github
It's a very simple plugin and has only 2 source files:
index.ts
index.d.ts
(and a native library)
In index.ts, I re-export some native classes like this:
export const…

Matthew Goulart
- 2,873
- 4
- 28
- 63
0
votes
1 answer
Cannot get NFC write work on NativeScript 7 or 8
I forked the plugin nativescript-nfc and implemented the NFC write feature for iOS, it works well when using NativeScript 6. But if I upgrade the plugin to 7 or 8, the writing doesn't work, NFCNDEFTag.prototype.queryNDEFStatusWithCompletionHandler…

Han
- 140
- 6
0
votes
1 answer
@nativescript/imagepicker not working on Android (Failed to build plugin)
I'm trying to build a Nativescript app to run an my Android device. I've been trying to build and run, but unfortunately, I keep getting this build error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task…

Jose Chavez
- 115
- 9
0
votes
2 answers
NativeScript-Vue: How to install BottomNavigation component
How can I install the BottomNavigation component which is used in the playground here?
https://play.nativescript.org/?template=play-vue&id=Evc8t6&v=4
I am using NativeScript 8 and it looks like the latest Version of NativeScript do not support this…

Philipp S.
- 827
- 17
- 41
0
votes
1 answer
Nativescript Firebase Plugin storage functions on NS7 error
After upgrading to NS7, and updating my code imports, I am unable to use the firebase 'firestore' functions. Whenever any firebase storage function is called I receive:
CONSOLE ERROR: ERROR TypeError: Cannot read property 'listAll' of undefined
This…

Micah Cocco
- 23
- 3
0
votes
1 answer
How can I use custom themes in nativescript?
I am currently working on an application which may have a different theme depending on the client, previously this functionality was made with akylas-teme.
but I migrated the project to angular 11 and nativescript 7 so this solution no longer works…

Sbenitez73
- 13
- 3
0
votes
1 answer
How do you extend a NativeScript plugin without "re-writing" it?
I am trying to modify the camera icon in an iOS image picker. There is NativeScript plugin for that called nativescript-mediafilepicker. But, it does not expose any APIs to change the camera icon.
I know that most NativeScript plugins are just a…

Diego
- 192
- 1
- 12
0
votes
1 answer
NativeScript v7+ with Vue Firebase Integration Can't resolve tns-core-modules/application/application
My app is on NS 7.1.1 using @nativescript/firebase: 11.1.3 and nativescript-plugin-firebase: 10.6.3 while building I'm getting Module not found: Error: Can't resolve 'tns-core-modules/application/application' as the package is renamed and changed a…

Atiq Ur Rehman
- 1,065
- 1
- 15
- 34