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
0
votes
1 answer

RadListView with tkGroupTemplate with inner content scroll horizontal

Tell us about the problem I am trying to horizontally set the content that is grouped with the function of but is not possible, because all content is horizontal. Which platform(s) does your issue occur on? Both Please tell us how to recreate the…
0
votes
2 answers

Cant run app Nativescript on iOS but runs on android

Cant run app Nativescript on iOS but runs on android My code works ok android with no problems but in iOS i get those erros below. and i have no ideia why, what im missing ???? Its a plugin? Module? Any help would be good cuz im lost here.…
0
votes
1 answer

Unhandled Promise rejection: ImageSource.setNativeSource() expects UIImage instance

Using Nativescript + Angular, we are developing a mobile application that allows users to take photos then upload the photos to server. This application has specific requirement on the aspect ratio of the photos so we are trying to use the crop()…
0
votes
1 answer

NativeScript geolocation set purpose message for tracking location

I'm using nativescript-vue and nativescript-geolocation plugin. Apple doesn't approve my app because I don't specify what is the reason for geo tracking upon sending the allow request to the user (see example): As far as I see, there is no such…
butaminas
  • 672
  • 7
  • 23
0
votes
2 answers

nativescript-ui-sidedrawer in sidedrawer.d.ts, can't find TKView, TKTheme,etc

I am trying to run tns preview/tns run ios -bundle on my iPhone XS Max using Nativescript Sidekick. In Nativescript Playground I am able to scan the QR code and preview the nativescript angular application. I don't understand why I have so many…
0
votes
2 answers

Should I install tns-platform-declarations package as a "dependency" or a "dev-dependency"?

One of the popular package used during developing NativeScript apps is tns-platform-declarations But should I install it as dependency or a dev-dependency?
plain.js
  • 64
  • 1
  • 6
0
votes
1 answer

How to cloud build my app while PlayServices is using AndroidX?

Today, I created a new project, installed some plugins and tap on "Run" in NativeScript Sidekick, to build my app on cloud to my Android device, but I faced this error: [00:01:35.796] [WARN] Attribute application@appComponentFactory…
plain.js
  • 64
  • 1
  • 6
0
votes
1 answer

nativescript 6.0.1 can't run/prepare android application

I recently updated tns to version 6.0.1, which I have read always uses webpack to build projects. I used tns migrate on my project, updated my local plugin to AndroidX (with Android Studio refactor option), generated my .aar file and used tns…
0
votes
0 answers

How can I update the Facebook SDK within nativescript-plugin-firebase?

Facebook is giving me a warning that my SDK is out of date but I'm using nativescript-plugin-firebase. Can I just manually update the sdk versions in node_modules/nativescript-plugin-firebase/platforms/android/include.gradle and…
Adam
  • 321
  • 1
  • 3
  • 14
0
votes
1 answer

What if someone ditched into my apps code files and memory and found my Mapbox's access token key?

I use Mapbox native SDK plugin for my app to build my native app with Mapbox for Android and iOS. But what if someone hacked my app files and found my access token key to Mapbox service that I use in my app. What if they use it in their apps or…
plain.js
  • 64
  • 1
  • 6
0
votes
1 answer

Audio player plugin plays URL sound, but does not play local sound file

I am using NativeScript with Angular 2 and the newest Webpack workflow, and I'm using the iOS Simulator. I am using the nativescript-audio plugin to play sound files when I tap a button. My goal is to play local sound files built into the app…
0
votes
1 answer

How to handle a missing plugin in NativeScript preview app

I've built a basic layout app with NativeScript & Angular and am trying to preview it on my android device. when running tns preview I get a message saying that Plugin nativescript-ng-shadow is not included in preview app on device {{Guid}} and…
kob490
  • 3,177
  • 4
  • 25
  • 40
0
votes
1 answer

Using a static iOS library in a NativeScript 5.4 plugin

NativeScript 5.4.2 tns-core-modules 5.4.3 tns-ios 5.4.2 Xcode 10.2.1 I am attempting to create a plugin for this background geolocation library for iOS: https://github.com/Yermo/background-geolocation-ios The project produces a static library,…
Yermo Lamers
  • 1,911
  • 14
  • 25
0
votes
2 answers

Nativescript Vue Core Modules

I'm having trouble understanding how to use the Framework modules in nativescript-vue. For example this module, is what I am trying to understand how to use: https://docs.nativescript.org/ns-framework-modules/platform Do I need to declare in App.js…
0
votes
1 answer

How can I use Protobuf in NativeScript?

I would like to use protobuf in a NativeScript app, however I'm struggling to figure out how, as it seems like NativeScript doesn't support binary over the wire. I know NativeScript apps can use protobuf, because I'm pretty sure the…
rynop
  • 50,086
  • 26
  • 101
  • 112