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
0 answers

How do I listen to global hardware keyboard events?

I am attempting to listen for global events on the entire NativeScript application for single & combo key presses. After doing some research, I have found some info on how to accomplish this in Objective-C UIKit's UIKeyCommand:…
simonwjackson
  • 1,818
  • 4
  • 25
  • 33
0
votes
0 answers

Implementing third party Android libraries into Nativescript Plugins?

I was looking to put in a third party Android package, like https://github.com/google/ExoPlayer On android, you can add the dependencies to the build.gradle ... implementation 'com.google.android.exoplayer:exoplayer:2.X.X' How do you do the same…
0
votes
1 answer

How to link a local JAR dependency in a NativeScript Plugin

I'm building a NativeScript plugin and wrapping some functionality from a JAVA library. In most cases, I've seen users define a dependency with compile 'org.namespace:library:x.y.z' in src/platforms/android/include.gradle but in my case the library…
Pixxl
  • 945
  • 10
  • 18
0
votes
0 answers

Nativescript OCR plugin only recognizes the second quadrant of the captured picture in iOS

First of all, sorry for my English. I'm running my Nativescript Angular App who uses the nativescript OCR 1.0.0 plugin. The recognition works good for Android OS but work partially for iOS. When I run the recognize process I've noticed that only the…
0
votes
1 answer

Web intent plugin in NativeScript

I building Bookmarks manager app in Nativescript. i am looking for a plugin related to web intent, but i could find any. If any one have any idea to achieve similar functionality like this React native plugin for intent, Please help Thanks in…
0
votes
0 answers

Nativescript use Android library

Could help me. I tried implement Android library in Nativescript. I create Android Project -> New Module -> Andorid library. Create Java Class…
b360124
  • 31
  • 5
0
votes
1 answer

Issues when running Nativescript OCR plugin for iOS

First of all, sorry for my English. I'm running my Nativescript Angular App who uses the nativescript OCR 1.0.0 plugin. The recognition works good for Android OS but not for iOS. When I run the project in Visual Studio Code for MacOS, I have seen…
0
votes
0 answers

Nativescript angular - module that contains dataform exits in ios without error! lazy loading module

I am developing nativescript-angular app that contains dataform in a module and calling this module using in lazy loading technique. Life is beautiful in Android, but the application exits immediately when I open this module in ios wihtout any error…
0
votes
0 answers

NativeScript-Vue with YoutubePlayer plugin not working in Android

I am trying to use the Youtubeplayer plugin in NativeScript-Vue. The plugin has demos for Typescript and Angular, but not Vue, so it may never have been tested with Vue before. In main.js, I have: Vue.registerElement('YoutubePlayer', () =>…
0
votes
2 answers

how to send remote notification in nativescript

We have a requirement to send notification to the Mobile App Users on periodic basis. (Say Every day morning 6 AM). We are using Nativescript to develop the Mobile Application. Can someone help to confirm if this can be achieved? if yes, Any sample…
0
votes
1 answer

nativescript-camera-plus use screen resolution and not the native camera width and height

I using nativescript-camera-plus NativeScript plug in to overlay some UI elements, that works fine, but when the photo is taken, the resolution of jpg is the same of the screen, I need to use the camera resolution. My camera has a resolution of…
0
votes
0 answers

supporting separate CSS for tables & phones on NativeScript

How can I get support for multiple screens such as tablets and phones to work in NativeScript with Angular (I am on NS 5.1 now)? I am currently trying to use the nativescript-platform-css plugin, which creates classes phone and tablet classes on the…
Joni
  • 831
  • 7
  • 23
0
votes
1 answer

NativeScript: Overlay transparent PNG frame in camera view and save the picture with the frame effect

I need to take a picture with a frame effect. Can I preview camera image with the transparent PNG and later save the image? Thanks!
0
votes
2 answers

How to install a NativeScript plugin from a forked repository?

I currently need to use the nativescript-https plugin but its repository is not updated and not packed to npm and it has a couple bugs (including one with AFNetworking with version) without a solution so I've forked the repository and try to add…
AresDev
  • 538
  • 4
  • 8
0
votes
0 answers

How do I Fix NativeScript Error: Failed to find module: "nativescript-pager/angular"

I just install the nativescript-pager plugin and when i run the command tns preview i get the ff error: Successfully synced changes for platform android. LOG from device Infinix X510: com.tns.NativeScriptException: Error calling module…