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
                    
                    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:…
         
    
    
        Paul S.
        
- 73
- 5
                    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
                    5
                    
            votes
                
                2 answers
            
        NativeScript Angular ListPicker that behaves like `
By default the ListPicker takes up a ton of screen space.  Is there a way to make it behave like the metaphor for the HTML 
         
    
    
        rynop
        
- 50,086
- 26
- 101
- 112
                    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…
         
    
    
        Silvia
        
- 53
- 4
                    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 {
 …
         
    
    
        Nitish Kumar
        
- 6,054
- 21
- 82
- 148
                    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…
         
    
    
        Muthukumar Marichamy
        
- 1,175
- 1
- 17
- 39
                    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:
         
    
    
        Sergei Krivochenko
        
- 567
- 1
- 6
- 21
                    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…
         
    
    
        keerl
        
- 116
- 1
- 11
                    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…
         
    
    
        mneu
        
- 427
- 3
- 14
                    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…
         
    
    
        LukeTheWalker
        
- 73
- 8
                    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…
         
    
    
        Hsm Sharique Hasan
        
- 203
- 1
- 3
- 10
                    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…
         
    
    
        Abdullah
        
- 39
- 5
                    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…
         
    
    
        Cupid Chan
        
- 496
- 4
- 15
                    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)',…
         
    
    
        simple user
        
- 349
- 3
- 22
- 44