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
1
vote
1 answer

ERROR in The target entry-point "chart-directives" has missing dependencies: - ./../

I want to integrating 'NativeScriptUIChartModule' In my package. But It couldn't complied the resources properly. It is gives warning and error. WARNING in Entry point 'chart-directives' contains deep imports into…
1
vote
0 answers

How can i save media files (images, audios, etc...) to NativeScript application?

so yeah guys, i just started learning NativeScript and i'm making test projects, i tried to make app, that plays little audio file when you touch button, but i don't know how to save files in the program, (i know, i'm 0 to explaining stuff with…
1
vote
0 answers

Implementing connection to SignalR using Nativescript + Angular

I’m developing an app using NativeScript + Angular. I need it to have a SignalR connection (SignalR.Net - NOT core) Here is the flow of the app: The app shows a barcode to user1 Using the app on another device, user2 scan this barcode On scan-…
1
vote
3 answers

NativeScript-ui-autocomplete undefined property

Probably a dumb question but I'm trying to get remote data to use in nativescript-ui-autocomplete but I get the following error ERROR TypeError: Cannot set property 'loadSuggestionsAsync' of undefined The code is very similar to the example at…
1
vote
1 answer

nativescript-couchbase-plugin querying

I'm trying to use nativescript-couchbase-plugin. Here is my code: whereArray.push({ property: "type_id", comparison: "equalTo", value: typeId }); return itemsDb.query({ select: [], where: whereArray, order: [{property: "rating",…
AxelPAL
  • 1,047
  • 3
  • 12
  • 19
1
vote
1 answer

A clear example how to implement nativescript-localize with angular

It's about nativescript-localize from https://market.nativescript.org/plugins/nativescript-localize#angular I've followed step-by-step the documentation but the result was: JS:
ittradco
  • 173
  • 1
  • 11
1
vote
1 answer

NativeScript markingMode: none errors

I'm part of a team that's using NativeScript and angular and we keep getting errors that look like: Error: com.tns.NativeScriptException: Attempt to use cleared object reference id= From some research it's because we use…
1
vote
0 answers

Automatically instantiate a NativeScript plugin on import?

I create a NativeScript plugin. I would like the plugin to be instantiated when it is imported. Is it possible ? If I think badly, is there another way? // A message should appear in the console import * example from "example"; // The message…
bgrand-ch
  • 788
  • 1
  • 7
  • 19
1
vote
0 answers

Implement IRLDocumentScanner CocoaPods like nativescript plugin

I'm looking for implement IRLDocumentScanner CocoaPods like nativescript plugin. I have correctly installed Pod, and have test if I can access in native code from IRLScannerViewController. Based on documentation for Object C have tried but have…
snakom23
  • 199
  • 3
  • 13
1
vote
1 answer

How to setup ‘nativescript-stripe’ in NativeScript Vue

I’m trying to set up the «nativescript-stripe» plugin in my Nativescript Vue app. Following the demos on the plugins github is a bit difficult as they only have demos for Angular and TypeScript. Has anyone gotten the StandardComponent to work with…
1
vote
2 answers

Using 3rd party, native SDK in nativescript project - Framework does not appear to be a dynamic framework

I am developing a Nativescript + Angular shared web&mobile application. I am using most recent versions of frameworks (TNS 6 and Angular 8). I need to use a SDK which is available natively for iOS - https://github.com/dotpay/Mobile-SDK-iOS . I…
1
vote
3 answers

NativeScript : IOS app crashed on splash screen

I am using NativeScript 6.0.2, When I test app in simulator and real device its work fine. Then i archive project and uploaded ipa for testFlight successfully, But when i install app in device from testFlight its crashed on splash screen. tns…
1
vote
0 answers

Is there any Nativescript Jalali Calendar plugin ? (or how can i feed Persian(Jalali) Date to RadCalendar to show?)

I need to use Jalali Calendar in my cross platfrom application and using Nativesript framework to do that but I couldnt find any Persian ( Jalali ) Calendar plugin inside https://market.nativescript.org/ (where all the Nativescript plugins and…
1
vote
1 answer

nativescirpt-canvas with Angular - how to redraw the Canvas?

I want to write a simple "compass" app with NativeScript, a fun project to be submitted to GitHub. The GPS part is done. I am using this: https://market.nativescript.org/plugins/nativescript-canvas, app created with 'tns create --ng'. The canvas is…
1
vote
0 answers

My app crashes on Android back button tap when the app is opened from nativescript-plugin-firebase notification message

I am working on a nativescript-angular application that receives [nativescript-plugin-firebase] notificatons. The project is up to date. The package.json contains the following lines: "tns-android": { "version": "5.4.0" …