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

Nativescript - Set the target IOS version for Nativescript plugins

I recently updated my xcode to the beta for Xcode12 so I can see how my app will run on the upcoming release of IOS 14 When trying to run TNS RUN IOS I get the following errors: Saving metadata generation's stderr stream to:…
6
votes
2 answers

nativescript-mapbox showing black Map Markers

I am having an issue in the android emulator where my svg/icon Layers are showing as black. This sometimes effects highway/road markers as well as my map markers. The plugin is currently using the default marker, but I have also provided my own png…
Rohan
  • 456
  • 3
  • 16
4
votes
1 answer

NativeScript + Angular: How to install and use icons?

I'm trying to use icons on my nativescript + angular app both for iOS and Android. I tried different way to set up icons, I used this tutorial, this solution and I even tried with material plugin and nativescript-ngx-fonticon. All these methods give…
4
votes
0 answers

Integrating nativescript-paytm plugin in nativescript-vue application

I'm having a nativescript-vue application where I want to integrate nativescript-paytm plugin, I created a method on click event: payNow() which contains all the necessary details of Paytm as described in Readme.md/documentation/demo app. import { …
4
votes
0 answers

Nativescript with Firebase : Works login in offline mode

I use nativescript-plugin-firebase to connect with Firebase. It does work when create new user / login / CRUD operations when app is online mode. When the app is offline mode, Login authentication / Create new user is not working rest of the above…
3
votes
4 answers

How to correct read file from "Downloads" folder in NativeScript app?

I write a Android app on NativeScript. I have defined required permissions in App_Resources/Android/AndroidManifest.xml: I know that it's not enough for getting access to…
3
votes
1 answer

NativeScript Firebase already initialized

I am using Firebase in my app and I've noticed when I am actively making changes and LiveSync updates the app it will sometimes say "firebase.init error: Firebase already initialized". This happens when the changes don't trigger a whole application…
3
votes
1 answer

Wrong map center in iOS using nativescript-google-maps-sdk

In iOS when I put marker and mapView location, the map does not display centered, but if I move the phone to landscape and rotate again to portrait the map center displays fine. In Android works fine. You can get more information in this GitHub…
3
votes
1 answer

Plugin nativescript-fancyalert not working on Android

TNSFancyAlert.showSuccess( "Success!", "Fancy alerts are nice.", "Yes they are!", ) .then(() => { console.log("success") }).catch(err => { console.log(err) }) the err response is: [TypeError:…
Wilson Lau
  • 243
  • 3
  • 8
3
votes
1 answer

NativeScript - Get device local IP address

I'd like to get the local IP address of my device using NativeScript / JavaScript. I have done a search and found a way to do that on Android, but I'd like to have a cross-platform solution that works also on iOS. I'm currently using NSPlayground on…
3
votes
1 answer

Import mobile specific nativescript plugin in NathaWalker angular-seed-advanced

I recently started working on Nativescript. I found NathanWalker's angular-seed-advanced quite interesting. I am facing one issue in that. How do I import mobile specific nativescript's plugin in my components as that component is being used for web…
2
votes
1 answer

Error in nativescript-permissions when running android app

My app was running fine and now it is showing me an error which i tried to figure out until now. ERROR in ../node_modules/nativescript-permissions/permissions.js Module not found: Error: Can't resolve '@master.technology/permissions' in…
2
votes
1 answer

NativeScript cannot launch iOS emulator

Emulator started when I run ns run ios However, app cannot be deployed with the following error: Unable to apply changes on device: D2B97EAA-B6DB-4920-8974-4F615FEB4E82. Error is: Command xcrun with arguments simctl install…
2
votes
1 answer

Getting Error when resize image received from URL in Nativescript App

I am trying to resize image in Angular+Nativescript app after retrieving from URL but receving following error:- ERROR Error: Uncaught (in promise): TypeError: imageSource.resize is not a function. (In 'imageSource.resize(100)',…
1
2 3
16 17