Questions tagged [nativescript-plugin]

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.

249 questions
2
votes
0 answers

Unable to use any plugins. "Module ... not found for element ..."

I'm new to NativeScript and just can't figure out how to load a plugin right. As mentioned here, I added the plugin and from here, followed the steps for Core JS, but nothing seems to work. I've tried with the RadListView and PullToRefresh so far…
craig97
  • 23
  • 1
  • 4
2
votes
1 answer

Nativescript CameraPlus preview too zoomed in

I'm using Camera Plus with Nativescript Vue. The camera preview is very zoomed in, but when I take a photo it comes out normal. This only happens on Android. Anyone out there who have experience with this plugin and knows what the issue might be?…
2
votes
2 answers

nativescript list-picker android 10 crush on

so there is a new problem with the new version of Android 10 in emulator its API 29 every page that contains list-picker for now on will crush. there is any solution to that? or I need to replace the list-picker with the list view? any estimation…
2
votes
3 answers

Resizing Image in NativeScript?

I wan to resize an image in SD card sized 3000*4200 px to 250*250 sized profile picture. I tried so many ways using android BitmapFactory, but nothing worked. Is there any plugin for this?
2
votes
3 answers

How to debug nativescript throwing "NativeScript caught signal 11." error?

I have created a plugin for nativescript ios which was working fine until recently I updated the pod version. Now, when I run the plugin, I get this error: NativeScript caught signal 11. I have already double checked the typings and there was no…
2
votes
1 answer

Ways to share data among NativeScript mobile applications

We have few different enterprise mobile applications being built with NativeScript. Are there any NativeScript plugins that can be used to share data among those apps. For example: 1) App1 might store some JSON 2) App2, App3 would be able to…
2
votes
1 answer

Problem with using worker in nativescript plugin

I created my first plugin: https://www.npmjs.com/package/nativescript-ftp-client And it is working when in development mode (using seed project), But when I package it app says it cannot find a ftp-worker-android.js file which is included Problem is…
dfilkovi
  • 3,051
  • 7
  • 39
  • 51
2
votes
1 answer

How to include available gradle library in Nativescript angular app?

I know that it is possible. But i am not getting any starightcut and easily understandable implementation for it. Is it require to make a Nativescript plugin or Can i use it directly? If i make a temporary plugin then does it enough to only make a…
2
votes
0 answers

Socket TCP in Nativescript

I create I wanted to create a plugin to create a tcp socket connection in Nativescript (there is not yet an online plugin that does this, only web sockets). Following this guide, I created a plugin and inserted the SwiftSocket library (in Swift)…
2
votes
1 answer

Kiosk mode in NativeScript for Android App

From past few days, I am trying to implement kiosk mode (Locked app) in NativeScript with Angular for Android App. I have tried it directly but unable to handle all the buttons in Android like Home and Recent Apps buttons. I am able to handle Back…
2
votes
0 answers

Failed to verify bitcode in TNSMLKitCamera.framework/TNSMLKitCamera

I am experiencing this issue that causes tns run ios to fail when building on a real device. Using the emulator works fine but whenever I try to run or build on a real device, the changes cannnot be applied and the error is error: exportArchive:…
2
votes
1 answer

Converting string to NSData and NSData back to string

I have the following code: const content: NSString = NSString.stringWithString(data); console.log("content#1: " + content); const nsData: NSData = content.dataUsingEncoding(NSUTF8StringEncoding); console.log("nsData#1: " +…
Neigaard
  • 3,726
  • 9
  • 49
  • 85
2
votes
1 answer

NativeScript - How to save/add an image to/into the phone's default gallery application

I followed NativeScript's ImageSource module tutorial on how to save an image to the phone, but it's still not showing up on the phone's default gallery app. Is there any way to tell the Image Module to save/add the picture to/into the phone's…
2
votes
1 answer

web3 with NativeScript

How can I use the web3.js library (for Ethereum development) in NativeScript? I tried: install web3 via npm install web3@0.20.7 --save install web3 through plugin manager in sidekick even tried const…
Alex
  • 475
  • 1
  • 5
  • 16
2
votes
1 answer

native modules are not working correctly in nativescript

I am trying to use this android package to make a blur effect in nativescript. https://github.com/wasabeef/Blurry so in nativescript included the compile in my app.gradle in the /app/App_Resources/Android/app.gradle then rebuild everything works…
1
2
3
16 17